ok ... i can reproduce, patch is forthcoming.
thanks for the report!
ben
----- Original Message -----
From: "giacomo boffi" <giacomo.boffi(a)polimi.it>
To: <xemacs-beta(a)xemacs.org>
Cc: <ben(a)xemacs.org>
Sent: Tuesday, March 04, 2003 7:09 AM
Subject: cannot build
i did
cvs update ; make distclean; configure --... ; make beta
and the build process failed as follows
...
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes \
-Wsign-compare -Wundef -Wstrict-prototypes -Wpacked \
-Wshadow -Wmissing-declarations -g -O3 \
-Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include regex.c
regex.c: In function `offset_post_relocation':
regex.c:146: invalid operands to binary -
regex.c:140: warning: unused variable `buf'
regex.c: In function `sys_re_search_2':
regex.c:4356: warning: passing arg 2 of `offset_post_relocation' discards
qualifiers from pointer target type
regex.c:4356: `dend' undeclared (first use in this function)
regex.c:4356: (Each undeclared identifier is reported only once
regex.c:4356: for each function it appears in.)
regex.c:4356: `end1' undeclared (first use in this function)
regex.c:4356: `end2' undeclared (first use in this function)
regex.c:4356: `end_match_1' undeclared (first use in this function)
regex.c:4356: `end_match_2' undeclared (first use in this function)
regex.c:4356: `numregs' undeclared (first use in this function)
regex.c:4356: `regstart' undeclared (first use in this function)
regex.c:4356: `regend' undeclared (first use in this function)
regex.c:4356: `old_regstart' undeclared (first use in this function)
regex.c:4356: `old_regend' undeclared (first use in this function)
regex.c:4356: `best_regstart' undeclared (first use in this function)
regex.c:4356: `best_regend' undeclared (first use in this function)
regex.c:4356: `reg_dummy' undeclared (first use in this function)
regex.c:4356: `match_end' undeclared (first use in this function)
regex.c:4380: warning: passing arg 2 of `offset_post_relocation' discards
qualifiers from pointer target type
regex.c:4585: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:4597: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:4611: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c: In function `re_match_2_internal':
regex.c:4970: warning: passing arg 2 of `offset_post_relocation' discards
qualifiers from pointer target type
regex.c:5058: `str1' undeclared (first use in this function)
regex.c:5058: `str2' undeclared (first use in this function)
regex.c:5058: `numregs' undeclared (first use in this function)
regex.c:5145: warning: passing arg 2 of `offset_post_relocation' discards
qualifiers from pointer target type
regex.c:5164: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:5586: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:5750: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:5803: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6006: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6019: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6116: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6149: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6163: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6191: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6198: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6211: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6262: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
regex.c:6269: warning: passing arg 2 of `offset_post_relocation'
discards
qualifiers from pointer target type
make[1]: *** [regex.o] Error 1
make: *** [src] Error 2
the Installation info refers to a previous build, but i invoke
configure via a sh script that i have not changed
hth, ciao
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux boffi95 2.2.21 #1 Wed Jul 17 12:52:48 CEST 2002 i586 unknown
unknown GNU/Linux
./configure '--extra-verbose' '--rel-alloc' '--with-widgets'
'--with-athena=3d' '--debug' '--pdump'
'--with-wmcommand' '--with-sound=no'
'--error-checking=all'
XEmacs 21.5-b11 "cabbage" (+CVS-20030219) configured for `i586-pc-linux'.
Compilation / Installation:
Source code location: /home/gb/src/xemacs
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler:
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef -Wstr
ict-prototypes -Wpacked -Wshadow -Wmissing-declarations -g -O3
Relocating allocator for buffers: yes
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Databases:
Compiling in support for Berkeley database.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/home/gb/lib/emacs/test/db-util
/usr/local/lib/xemacs/site-lisp/edb/db-util
/home/gb/lib/emacs/test/db-types
/usr/local/lib/xemacs/site-lisp/edb/db-types
/home/gb/lib/emacs/test/db-two-dbs
/usr/local/lib/xemacs/site-lisp/edb/db-two-dbs
/home/gb/lib/emacs/test/db-time
/usr/local/lib/xemacs/site-lisp/edb/db-time
/home/gb/lib/emacs/test/db-tagged
/usr/local/lib/xemacs/site-lisp/edb/db-tagged
/home/gb/lib/emacs/test/db-summary
/usr/local/lib/xemacs/site-lisp/edb/db-summary
/home/gb/lib/emacs/test/db-sort
/usr/local/lib/xemacs/site-lisp/edb/db-sort
/home/gb/lib/emacs/test/db-search
/usr/local/lib/xemacs/site-lisp/edb/db-search
/home/gb/lib/emacs/test/db-rep
/usr/local/lib/xemacs/site-lisp/edb/db-rep
/home/gb/lib/emacs/test/db-rdb
/usr/local/lib/xemacs/site-lisp/edb/db-rdb
/home/gb/lib/emacs/test/db-isbn
/usr/local/lib/xemacs/site-lisp/edb/db-isbn
/home/gb/lib/emacs/test/db-interfa
/usr/local/lib/xemacs/site-lisp/edb/db-interfa
/home/gb/lib/emacs/test/db-format
/usr/local/lib/xemacs/site-lisp/edb/db-format
/home/gb/lib/emacs/test/db-file-io
/usr/local/lib/xemacs/site-lisp/edb/db-file-io
/home/gb/lib/emacs/test/db-convert
/usr/local/lib/xemacs/site-lisp/edb/db-convert
/home/gb/lib/emacs/test/database
/usr/local/lib/xemacs/site-lisp/edb/database /home/gb/lib/emacs/man
/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/man
/home/gb/lib/emacs/htmlize
/usr/local/lib/xemacs/xemacs-packages/lisp/text-modes/htmlize
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.5-b11/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((xemacs-devel :version 1.5 :type single-file)
(xemacs-base :version 1.73 :type regular)
(w3 :version 1.27 :type regular)
(vm :version 7.07 :type regular)
(view-process :version 1.12 :type regular)
(vc :version 1.34 :type regular)
(tramp :version 1.11 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.13 :type regular)
(text-modes :version 1.55 :type single-file)
(texinfo :version 1.22 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.16 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.16 :type regular)
(scheme :version 1.12 :type regular)
(sasl :version 1.12 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.01 :type single-file)
(psgml :version 1.36 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.69
:type
single-file)
(pgg :version 1.02 :type regular)
(perl-modes :version 1.02 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(os-utils :version 1.29 :type single-file)
(ocaml :version 0.03 :type regular)
(net-utils :version 1.29 :type single-file)
(mmm-mode :version 1.0 :type regular)
(mine :version 1.14 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.55 :type regular)
(ispell :version 1.24 :type regular)
(igrep :version 1.1 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.65 :type regular)
(gnats :version 1.15 :type regular)
(fsf-compat :version 1.11 :type single-file)
(fortran-modes :version 1.01 :type single-file)
(footnote :version 1.15 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.04 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 1.97 :type single-file)
(ediff :version 1.45 :type regular)
(edebug :version 1.15 :type regular)
(ecrypto :version 0.12 :type regular)
(ecb :version 1.01 :type regular)
(docbookide :version 0.05 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.16 :type regular)
(cc-mode :version 1.31 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.09 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.33 :type regular)
(apel :version 1.26 :type regular))
Features:
--------
(xemacsbug shadow flow-fill mail-extr gnus-picon sort gnus-cite
gnus-async gnus-score score-mode gnus-ml gnus-msg gnus-art mm-uu
mm-view gnus-topic nndraft nnmh nndoc gnus-sum gnus-cache gnus-group
gnus-undo nnmail mail-source format-spec nntp nnoo gnus-start
gnus-range gnus-spec gnus-int gnus-win gnus-ems gnus-xmas message mml
mm-decode mm-encode mailcap mm-bodies uudecode mail-parse rfc2045
rfc2231 rfc2047 qp ietf-drums mail-abbrevs sendmail rfc822 mailheader
gnus-util time-date parse-time gnus w3-hot url-file url-cache w3-xemac
w3-xemacs w3-toolbar xbm-button xpm-button w3-forms images url-http
url-cookie urlauth w3 w3-menu url-news url-gw w3-script w3-jscript
w3-elisp w3-java cus-edit cus-load w3-emulate w3-auto w3-parse url mm
url-vars w3-cfg w3-sysdp w3-display w3-mouse advice advice-preload
w3-imap w3-vars wid-edit w3-cus mule-sysdp w3-widget url-parse css
w3-keyword vm-crypto vm-minibuf vm-imap vm-delete vm-virtual vm-mime
vm-page vm-toolbar vm-summary tapestry vm-motion vm-undo vm-message
vm-menu vm-folder efs-cu vm-misc vm-mouse vm-window vm-autoload
highlight-headers vm-vars vm-version vm vm-startup gnuserv font
disp-table paren blink-paren func-menu bbdb timezone psgml-xemacs
sgml-mode psgml font-lock cus-face jka-compr tex-site smiley
annotations messagexmas nnheader nnheaderxm mm-util mail-prsvr
mail-utils x-compose filladapt image-mode view-less view
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
view-process-autoloads vc-autoloads tramp-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
slider-autoloads sh-script-autoloads sgml-autoloads semantic-autoloads
scheme-autoloads sasl-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads os-utils-autoloads
ocaml-autoloads net-utils-autoloads mmm-mode-autoloads mine-autoloads
mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
igrep-autoloads ibuffer-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads fsf-compat-autoloads
fortran-modes-autoloads footnote-autoloads eterm-autoloads
ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads modules-autoloads
auto-autoloads loadhist rsz-minibuf auto-show fontl-hooks x-iso8859-1
code-cmds gutter-items menubar-items x-menubar mode-motion mouse
behavior itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete cus-file derived env text-props frame obsolete cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote unicode
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar scrollbar unix-processes
multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db md5 xemacs gutter tiff
png gif jpeg xface xpm xbm lisp-float-type file-coding linux dialog
devices window-system base64)
Recent keystrokes:
-----------------
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user # # # button1 button1up misc-user
C-x 1 button2 button2up 1 2 0 RET n n n SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC q g next
next M-x r e p TAB o TAB SPC r SPC SPC x TAB RET
Recent messages (most recent first):
-----------------------------------
Parsing /home/gb/.mailrc... done
Parsing /home/gb/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Making completion list...
Making completion list...
487 messages, 0 new, 5 unread, 0 deleted
Checking for new mail for /home/gb/Mail/INBOX...
487 messages, 0 new, 5 unread, 0 deleted
487 messages, 0 new, 5 unread, 0 deleted
Checking new news...done
Opening nndoc server on gnus-help...
Checking new news...
0 lines deleted
Reading active file from newsserver.cilea.it via nntp...
No more unread articles (Type SPC for it.sport.calcio [1562])
Loading flow-fill...done
Loading flow-fill...