Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D

David A. Cobb superbiskit@home.com
Wed Aug 8 09:59:00 GMT 2001


As I reported earlier, I can't seem to get past missing symbols in gdbm.

For starters, I did (CVS update -r r25-1-latest-beta) to start the day in 
synch.
There were some updates taken, no indication in the ChangeLog.

 From .../xemacs-21.5/i686-pc-cygwin/ did ../configure [options shown 
below], and make.  CFLAGS=--verbose.  I'm not sure what it's telling me.  I 
see "-L/usr/lib" and that is where "libgdbm.dll.a" exists.  I can't tell 
whether the compiler recognizes it.  Is  ".dll" in the name a secret known 
to gcc?  I suppose if it were not we would find "libgdbm.a" and link 
statically.

I snipped LOADS out of the build log.  I'll be happy to send it if anyone 
thinks I left out something relevant.

Anyway, I'm still dead in the water.

#### HERE IS 'ls -l' of /usr/lib (libgdbm.dll.a is there)
:[S!] Bash $ ll /usr/lib/*.dll.a
-rw-r--r--    1 Superbis Administ    41412 Nov 19  2000 /usr/lib/libXpm-X.dll.a
-rw-r--r--    1 Superbis Administ    43422 Nov 19  2000 
/usr/lib/libXpm-noX.dll.a
lrwxrwxrwx    1 Superbis Administ       25 Feb 12 07:06 
/usr/lib/libXpm.dll.a -> libXpm-X.dll.a
-rw-r--r--    1 Superbis Administ    15686 Nov 20  2000 /usr/lib/libbz2.dll.a
lrwxrwxrwx    1 Superbis Administ       27 May  1 15:20 
/usr/lib/libcurses.dll.a -> libncurses.dll.a
-rw-r--r--    1 Superbis Administ    58384 Apr 25 01:34 /usr/lib/libform.dll.a
-rw-r--r--    1 Superbis Administ    21294 Oct 22  2000 
/usr/lib/libgdbm.dll.a <<<====== HERE 'TIS ==========
-rw-r--r--    1 Superbis Administ    28638 Jun 27 22:31 
/usr/lib/libhistory.dll.a
-rw-r--r--    1 Superbis Administ    22626 Jun 20 13:14 /usr/lib/libintl.dll.a
-rw-r--r--    1 Superbis Administ    14308 Jul  3 23:27 /usr/lib/libjbig.dll.a
-rw-r--r--    1 Superbis Administ    75862 Jun  6 00:28 /usr/lib/libjpeg.dll.a
-rw-r--r--    1 Superbis Administ    46652 Apr 25 01:34 /usr/lib/libmenu.dll.a
-rw-r--r--    1 Superbis Administ   371608 Apr 25 01:34 
/usr/lib/libncurses++.dll.a
-rw-r--r--    1 Superbis Administ   264352 Apr 25 01:33 
/usr/lib/libncurses.dll.a
-rw-r--r--    1 Superbis Administ     9824 Apr 25 01:33 /usr/lib/libpanel.dll.a
-rw-r--r--    1 Superbis Administ   108416 May  6 00:06 /usr/lib/libpng.dll.a
-rw-r--r--    1 Superbis Administ   208394 Jun 27 22:32 
/usr/lib/libreadline.dll.a
-rw-r--r--    1 Superbis Administ    62232 Jun 12 13:34 /usr/lib/libtiff.dll.a
-rw-r--r--    1 Superbis Administ    34460 Feb  3  2001 /usr/lib/libz.dll.a
:[S!] Bash $
#### FIRST FEW LINES OF ../ChangeLog FOLLOWS
2001-05-09  Martin Buchholz <martin@xemacs.org>
         * XEmacs 21.5.1 "anise" is released.
2001-01-31  Jason R. Mastaler  <jason@xemacs.org>
         * etc/FTP: Updated FTP mirrors list.
2001-05-04  Martin Buchholz  <martin@xemacs.org>
         * configure.in (opsys):
         Use lower-case `uname -s` as the default value for opsys.
         The previous code effectively did the non-sensical
         opsys=$canonical because [] magically disappear in configure.in.
2001-04-18  Martin Buchholz  <martin@xemacs.org>
         * XEmacs 21.5.0 "alfalfa" is released.
2001-03-26  Paul Stodghill  <stodghil@cs.cornell.edu>
         * configure.in: Don't #define __STDC__ in confdefs.h


#### CONFIGURE COMMAND FOLLOWS
+ ../configure i686-pc-cygwin --prefix=/usr/local/ 
--exec-prefix=/usr/local/i686-pc-cygwin/ --libdir=/usr/local/xemacs/ 
--without-x --with-site-lisp --use-union-type
loading site script /etc/config.site
#### CONFIGURE OUTPUT FOR GDBM SEARCH FOLLOWS
checking for database support
checking for ndbm.h... yes
checking for dbm_open in -lgdbm... yes
     Prepending "-lgdbm" to $LIBS
     Defining HAVE_DBM
checking for Berkeley db.h... no
     Defining HAVE_DATABASE
     xemacs will be linked with "database.o"
#### MAKE OUTPUT FOLLOWS
/usr/bin/gcc -mcygwin --verbose   -mwindows   -o temacs  abbrev.o alloc.o 
blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o 
chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o 
dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o 
debug.o tests.o filelock.o ntplay.o unexcw.o scrollbar-msw.o menubar-msw.o 
toolbar-msw.o dialog-msw.o console-msw.o device-msw.o event-msw.o 
frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o 
gui-msw.o postgresql.o dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o 
toolbar.o file-coding.o realpath.o getloadavg.o inline.o linuxplay.o 
miscplay.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o 
redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o process-unix.o 
event-stream.o extents.o faces.o fileio.o  filemode.o floatfns.o fns.o 
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o 
gui.o gutter.o  hash.o imgproc.o indent.o insdel.o intl.o 
keymap.o  line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o 
objects.o opaque.o print.o process.o profile.o rangetab.o redisplay.o 
redisplay-output.o regex.o search.o select.o sheap.o signal.o sound.o 
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o  widget.o 
window.o win32.o xemacs_res.o lastfile.o gmalloc.o free-hook.o 
vm-limit.o      -ltiff -lpng -ljpeg -lz -lgdbm -lncurses -lpq -lwinmm 
-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
  /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe --subsystem windows 
-Bdynamic --dll-search-prefix=cyg -o temacs.exe /usr/lib/crt0.o 
-L/usr/local/lib -L/usr/lib -L/usr/lib/w32api 
-L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 abbrev.o alloc.o blocktype.o 
buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o 
cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o 
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o debug.o 
tests.o filelock.o ntplay.o unexcw.o scrollbar-msw.o menubar-msw.o 
toolbar-msw.o dialog-msw.o console-msw.o device-msw.o event-msw.o 
frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o 
gui-msw.o postgresql.o dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o 
toolbar.o file-coding.o realpath.o getloadavg.o inline.o linuxplay.o 
miscplay.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o 
redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o process-unix.o 
event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o 
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o 
gui.o gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o 
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o 
opaque.o print.o process.o profile.o rangetab.o redisplay.o 
redisplay-output.o regex.o search.o select.o sheap.o signal.o sound.o 
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o widget.o window.o 
win32.o xemacs_res.o lastfile.o gmalloc.o free-hook.o vm-limit.o -ltiff 
-lpng -ljpeg -lz -lgdbm -lncurses -lpq -lwinmm -lshell32 -lgdi32 -luser32 
-lcomdlg32 -lcomctl32 -lwinspool -lgcc -lcygwin -lgdi32 -lcomdlg32 -luser32 
-lkernel32 -ladvapi32 -lshell32 -lgcc
linuxplay.o(.text+0x124c):linuxplay.c: multiple definition of `play_sound_file'
ntplay.o(.text+0x418):ntplay.c: first defined here
linuxplay.o(.text+0x12cc):linuxplay.c: multiple definition of `play_sound_data'
ntplay.o(.text+0x6f8):ntplay.c: first defined here
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
database.o(.text+0xde0):database.c: undefined reference to `_imp__dbm_firstkey'
database.o(.text+0xe14):database.c: undefined reference to `_imp__dbm_fetch'
database.o(.text+0xe7a):database.c: undefined reference to `_imp__dbm_nextkey'
database.o(.text+0xee5):database.c: undefined reference to `_imp__dbm_fetch'
database.o(.text+0xfbb):database.c: undefined reference to `_imp__dbm_store'
database.o(.text+0x1025):database.c: undefined reference to `_imp__dbm_delete'
database.o(.text+0x10a4):database.c: undefined reference to `_imp__dbm_close'
database.o(.text+0x1569):database.c: undefined reference to `_imp__dbm_open'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory 
`/usr/local/src/xemacs/xemacs-21.5/i686-pc-cygwin/src'
make: *** [src] Error 2


David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy.
Get my PGP key at
:< http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit >
Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954}
:< http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&fingerprint=on >
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source.  Do not buy or use Potentially Viral Software!
<---.----!----.----!----.----!----.----!----.----!----.----!----.---->


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list