>>>> "sb" == SL Baur <steve(a)xemacs.org>
writes:
> has anyone else seen this or even begin to have a clue why?
sb> Possibly differences in the linker. I don't know. Have you tried it
sb> on Solaris with a full GNU toolset (ie. with gas and gnuld)?
mm, don't think so. i'm using gcc and whatever it's picking up by default.
sb> I just tried a build with X without menubars with 21.2 and it bombs
sb> out here:
sb> gcc -c -g -O3 -Demacs -I. -DHAVE_CONFIG_H -I/usr/lib/locale/ja/wnn/demo/include
-I/usr/local/include -I/usr/local/canna/include -I/usr/dt/include
-I/usr/local/X11R6/include /usr/local/devel/xemacs-21.2/src/scrollbar-x.c
sb> /usr/local/devel/xemacs-21.2/src/scrollbar-x.c: In function
`update_one_scrollbar_bs':
sb> /usr/local/devel/xemacs-21.2/src/scrollbar-x.c:189: `XtNuseBackingStore'
undeclared (first use in this function)
sb> /usr/local/devel/xemacs-21.2/src/scrollbar-x.c:189: (Each undeclared identifier is
reported only once
sb> /usr/local/devel/xemacs-21.2/src/scrollbar-x.c:189: for each function it appears
in.)
sb> make[1]: *** [scrollbar-x.o] Error 1
sb> make[1]: Leaving directory `/usr/local/devel/miho-test/src'
sb> make: *** [src] Error 2
I get this exact error on Linux with this configuration:
./configure '--prefix=/usr/local' '--cflags=-g -Wno-switch -malign-loops=2
-malign-jumps=2 -I/usr/include/db1 -malign-functions=2' '--with-dialogs=motif'
'--with-menubars=motif'
'--package-path=/usr/local/lib/xemacs/packages-21.0'
'--with-scrollbars=motif'
i think the trigger here is specifying scrollbars=motif.
i can build 21.2 on linux without X.
./configure '--prefix=/usr/local' '--cflags=-g -Wno-switch -malign-loops=2
-malign-jumps=2 -I/usr/include/db1 -malign-functions=2'
'--package-path=/usr/local/lib/xemacs/packages-21.0' '--with-x11=no'
the above compiles for me.
sb> and I see your problem with a build against 21.1:
sb> Undefined first referenced
sb> symbol in file
sb> menubar_show_keybindings gui.o
sb> ld: fatal: Symbol referencing errors. No output written to temacs
sb> collect2: ld returned 1 exit status
ok, well, i'm not going crazy then. :-) as i mentioned in a previous
msg, i'll try and see if i can figure out why gui.c is being compiled
at all.
jeff