public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
@ 2001-08-08  9:59 David A. Cobb
  2001-08-08 11:33 ` Charles Wilson
  0 siblings, 1 reply; 13+ messages in thread
From: David A. Cobb @ 2001-08-08  9:59 UTC (permalink / raw)
  To: Xemacs Beta Development MailList, Cygwin General MailList

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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
  2001-08-08  9:59 Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D David A. Cobb
@ 2001-08-08 11:33 ` Charles Wilson
  2001-08-09  1:42   ` David Starks-Browning
  2001-08-09  6:37   ` About Those Sound Problems David A. Cobb
  0 siblings, 2 replies; 13+ messages in thread
From: Charles Wilson @ 2001-08-08 11:33 UTC (permalink / raw)
  To: David A. Cobb; +Cc: Xemacs Beta Development MailList, Cygwin General MailList

David A. Cobb wrote:

> 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?  


Not exactly.  It is a secret known to ld, which is called by gcc.


> checking for database support
> checking for ndbm.h... yes
> checking for dbm_open in -lgdbm... yes


This means that configure built a test program and successfully linked 
it to libgdbm.  So, that means you can successfully link to gdbm, and it 
is properly installed on your system.


>     Prepending "-lgdbm" to $LIBS
>     Defining HAVE_DBM

> /usr/bin/gcc -mcygwin --verbose ...


This is good.


> 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 ...


But this is not good.  The second step (and most important) of my advice 
was to add "--verbose" to THIS command as well.  Then, ld/collect will 
explicitly list EVERY place it looks for EVERY dependency, indicating 
whether or not the search was successful for EACH case.

Add --verbose to the collect2 command (if you're really ambitions, 
change the executable to "ld" instead of "collect2").


> 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


Didn't SOMEBODY suggest that you fix this linux sound problem FIRST, so 
that your link failures are single-cause, and not multiple-cause?  Why 
did you refuse to follow that advice?

I am going to stop responding to this thread until you follow the advice 

that has already been given.  why should anyone help you if their advice will 

only be ignored?

--Chuck





--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
  2001-08-08 11:33 ` Charles Wilson
@ 2001-08-09  1:42   ` David Starks-Browning
  2001-08-09  6:42     ` David A. Cobb
  2001-08-09  6:37   ` About Those Sound Problems David A. Cobb
  1 sibling, 1 reply; 13+ messages in thread
From: David Starks-Browning @ 2001-08-09  1:42 UTC (permalink / raw)
  To: Charles Wilson
  Cc: David A. Cobb, Xemacs Beta Development MailList, Cygwin General MailList

On Wednesday 8 Aug 01, Charles Wilson writes:
> David A. Cobb wrote:
> 
> > /usr/bin/gcc -mcygwin --verbose ...
> 
> This is good.

Charles, what does '-mcygwin' do?  This is one discrepency that David
and I have on our gcc command lines.  Mine does not include -mcygwin,
and mine works.  (Sorry if that's a stupid question...)

Thanks,
David


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* About Those Sound Problems
  2001-08-08 11:33 ` Charles Wilson
  2001-08-09  1:42   ` David Starks-Browning
@ 2001-08-09  6:37   ` David A. Cobb
  2001-08-09  8:24     ` David Starks-Browning
  1 sibling, 1 reply; 13+ messages in thread
From: David A. Cobb @ 2001-08-09  6:37 UTC (permalink / raw)
  To: Charles Wilson; +Cc: Xemacs Beta Development MailList, Cygwin General MailList

At 8/8/01 02:32 PM (Wednesday), Charles Wilson wrote:

>>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 ...
>
>
>But this is not good.  The second step (and most important) of my advice 
>was to add "--verbose" to THIS command as well.  Then, ld/collect will 
>explicitly list EVERY place it looks for EVERY dependency, indicating 
>whether or not the search was successful for EACH case.
>
>Add --verbose to the collect2 command (if you're really ambitions, change 
>the executable to "ld" instead of "collect2").

Can this be done with an environment variable or must I locate and edit 
some makefile?



>>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
>
>
>Didn't SOMEBODY suggest that you fix this linux sound problem FIRST, so 
>that your link failures are single-cause, and not multiple-cause?  Why did 
>you refuse to follow that advice?

I took the actions advised!  They don't fix the problem.  It isn't fixed 
because I don't know how in hades to fix it!  Innocently, I thought 
building a package would be a routine exercise.


>I am going to stop responding to this thread until you follow the advice
>that has already been given.  why should anyone help you if their advice will
>only be ignored?

I'm sorry if I've offended.  I *have* taken the advice I've been given.  If 
you glance at the quoted "configure" options, I removed the 
"--with-sound=native,noesd" but the script still finds some header that 
screws it up.  I suppose what I need to do is remove the headers completely?!!



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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
  2001-08-09  1:42   ` David Starks-Browning
@ 2001-08-09  6:42     ` David A. Cobb
  0 siblings, 0 replies; 13+ messages in thread
From: David A. Cobb @ 2001-08-09  6:42 UTC (permalink / raw)
  To: David Starks-Browning, Charles Wilson
  Cc: Xemacs Beta Development MailList, Cygwin General MailList

At 8/9/01 04:41 AM (Thursday), David Starks-Browning wrote:
>On Wednesday 8 Aug 01, Charles Wilson writes:
> > David A. Cobb wrote:
> >
> > > /usr/bin/gcc -mcygwin --verbose ...
> >
> > This is good.
>
>Charles, what does '-mcygwin' do?  This is one discrepency that David
>and I have on our gcc command lines.  Mine does not include -mcygwin,
>and mine works.  (Sorry if that's a stupid question...)
>
>Thanks,
>David

It's in my env "CC=/usr/bin/gcc -mcygwin" -- I suppose it /is/ redundant, 
but in a "command.com" environment I have "CC=C:/#CYGWIN#/usr/bin/gcc.exe 
-mno-cygwin".  I will try without it.  Also trying '--extra-verbose' on the 
configure.  And still no clue about disarming the sound problem!


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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* About Those Sound Problems
  2001-08-09  6:37   ` About Those Sound Problems David A. Cobb
@ 2001-08-09  8:24     ` David Starks-Browning
  2001-08-09  8:48       ` Glynn Clements
  0 siblings, 1 reply; 13+ messages in thread
From: David Starks-Browning @ 2001-08-09  8:24 UTC (permalink / raw)
  To: David A. Cobb; +Cc: Xemacs Beta Development MailList, Cygwin General MailList

On Thursday 9 Aug 01, David A. Cobb writes:
> At 8/8/01 02:32 PM (Wednesday), Charles Wilson wrote:
> 
> >>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 ...
> >
> >
> >But this is not good.  The second step (and most important) of my advice 
> >was to add "--verbose" to THIS command as well.  Then, ld/collect will 
> >explicitly list EVERY place it looks for EVERY dependency, indicating 
> >whether or not the search was successful for EACH case.
> >
> >Add --verbose to the collect2 command (if you're really ambitions, change 
> >the executable to "ld" instead of "collect2").
> 
> Can this be done with an environment variable or must I locate and edit 
> some makefile?

What I do in situations like this is just cut & paste the command from
the build log into a bash command line, and edit as required.

> >>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
> >
> I'm sorry if I've offended.  I *have* taken the advice I've been given.  If 
> you glance at the quoted "configure" options, I removed the 
> "--with-sound=native,noesd" but the script still finds some header that 
> screws it up.  I suppose what I need to do is remove the headers completely?!!

When you re-ran configure without the --with-sound= options, you did
take care to remove config.cache (or whatever it's called), right?

David


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: About Those Sound Problems
  2001-08-09  8:24     ` David Starks-Browning
@ 2001-08-09  8:48       ` Glynn Clements
  2001-08-09  9:02         ` David Starks-Browning
  0 siblings, 1 reply; 13+ messages in thread
From: Glynn Clements @ 2001-08-09  8:48 UTC (permalink / raw)
  To: David Starks-Browning
  Cc: David A. Cobb, Xemacs Beta Development MailList, Cygwin General MailList

David Starks-Browning wrote:

> > >>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
> > >
> > I'm sorry if I've offended.  I *have* taken the advice I've been given.  If 
> > you glance at the quoted "configure" options, I removed the 
> > "--with-sound=native,noesd" but the script still finds some header that 
> > screws it up.  I suppose what I need to do is remove the headers completely?!!
> 
> When you re-ran configure without the --with-sound= options, you did
> take care to remove config.cache (or whatever it's called), right?

Actually, I think that you need --with-sound=none. If it's omitted
altogether, the (broken) autodetection will be used.

-- 
Glynn Clements <glynn.clements@virgin.net>

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: About Those Sound Problems
  2001-08-09  8:48       ` Glynn Clements
@ 2001-08-09  9:02         ` David Starks-Browning
  0 siblings, 0 replies; 13+ messages in thread
From: David Starks-Browning @ 2001-08-09  9:02 UTC (permalink / raw)
  To: Glynn Clements
  Cc: David A. Cobb, Xemacs Beta Development MailList, Cygwin General MailList

On Thursday 9 Aug 01, Glynn Clements writes:
> Actually, I think that you need --with-sound=none. If it's omitted
> altogether, the (broken) autodetection will be used.

My personal experience was that this was broken in 21.5.1 but fixed in
CVS on 21 May 2001 (and presumably therefore in 21.5.2):
< http://cvs.xemacs.org/cgi-bin/cvswebxe/xemacs/configure?r1=1.153&r2=1.154 >.

David said he was using the latest xemacs-20.5 CVS, so it should work
for him, unless something else is going on.

Cheers,
David


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
@ 2001-08-14 12:03 Robinow, David
  0 siblings, 0 replies; 13+ messages in thread
From: Robinow, David @ 2001-08-14 12:03 UTC (permalink / raw)
  To: 'David A. Cobb'; +Cc: Xemacs General MailLIst, Cygwin General MailList

> -----Original Message-----
> From: David A. Cobb [ mailto:superbiskit@home.com ]

> [DISCUSSION MOVED BACK TO LISTS]
 OK, if you insist.
> At 8/10/01 03:05 PM (Friday), Robinow, David wrote:
> > > From: Dr. Volker Zell [ mailto:Dr.Volker.Zell@oracle.com ]
> > > Subject: Re: Problems building 
> Xemacs-21.5--i686-pc-Cygwin: PART III
> > > >>>>> "David" == David A Cobb <superbiskit@home.com> writes:
> >  I know I'm starting to sound like a broken record. But it 
> works for me with
> >both 21.4.4 and 21.5.2 just by removing it from src/Makefile.
> >   "linuxplay.o" is not present in extra-objects.
> 
> But it /is/ in mine!  What have you got for options on your 
> ./configure call?
 ./configure --with-database=gdbm
  NT or 98 (both work), cygwin 1.3.2, all mounts binary,  gcc 3.0, make
3.79.1
  CYGWIN=TTY
  By the way, commenting out linuxplay.o is not necessary with 21.5.2, only
with 21.4.*
 That bug has been fixed.

> It's been said that I should try the explicit "--with-sound=none" and 
> that's the next thing to try.
 Have you tried not specifying anything at all?

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
       [not found] <80575AFA5F0DD31197CE00805F650D7602CFB4@wilber.adroit.com>
@ 2001-08-12 13:57 ` David A. Cobb
  0 siblings, 0 replies; 13+ messages in thread
From: David A. Cobb @ 2001-08-12 13:57 UTC (permalink / raw)
  To: Robinow, David, 'Dr. Volker Zell'
  Cc: Xemacs General MailLIst, Cygwin General MailList

[DISCUSSION MOVED BACK TO LISTS]
At 8/10/01 03:05 PM (Friday), Robinow, David wrote:
> > From: Dr. Volker Zell [ mailto:Dr.Volker.Zell@oracle.com ]
> > Subject: Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III
> > >>>>> "David" == David A Cobb <superbiskit@home.com> writes:
> >   David> <sigh /> if only that were so!
> >   David> I commented out that line, Make figured its way around it using
>the
> >   David> implicit .c.o rule.
> >
> >   David> I also removed "linuxplay.o" from extra-objects in
> >the same makefile.
> >   David> Didn't help.
> >
> > Remove it from src/GNUmakefile and not from src/Makefile
> > after running configure.
> > It *SHOULD* work.
>  I know I'm starting to sound like a broken record. But it works for me with
>both 21.4.4 and 21.5.2 just by removing it from src/Makefile.
>   "linuxplay.o" is not present in extra-objects.

But it /is/ in mine!  What have you got for options on your ./configure call?
It's been said that I should try the explicit "--with-sound=none" and 
that's the next thing to try.

And, as I've mentioned, it *still* shows up on the link (collect2) call 
_despite_  being edited out of the Makefile which leads to the conclusion 
that some other object is going to pull it in anyway.

And, in any case, the sound problem is secondary.  The database problem is 
the show stopper.  [Except that my handling of the sound issue inflamed at 
least one of my correspondants].


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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
  2001-08-09 19:59 ` David A. Cobb
@ 2001-08-09 23:08   ` Dr. Volker Zell
  0 siblings, 0 replies; 13+ messages in thread
From: Dr. Volker Zell @ 2001-08-09 23:08 UTC (permalink / raw)
  To: David A. Cobb; +Cc: Robinow, David, Cygwin General MailList

>>>>> "David" == David A Cobb <superbiskit@home.com> writes:

    David> <sigh /> if only that were so!
    David> I commented out that line, Make figured its way around it using the
    David> implicit .c.o rule.

    David> I also removed "linuxplay.o" from extra-objects in the same makefile.
    David> Didn't help.

Remove it from src/GNUmakefile and not from src/Makefile after running configure.
It *SHOULD* work.

Ciao
  Volker


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
  2001-08-09  7:29 Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D Robinow, David
@ 2001-08-09 19:59 ` David A. Cobb
  2001-08-09 23:08   ` Dr. Volker Zell
  0 siblings, 1 reply; 13+ messages in thread
From: David A. Cobb @ 2001-08-09 19:59 UTC (permalink / raw)
  To: Robinow, David; +Cc: Cygwin General MailList

At 8/9/01 10:29 AM (Thursday), you wrote:
> > -----Original Message-----
> > From: David A. Cobb [ mailto:superbiskit@home.com ]
> > Subject: Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III
> > ... And still no clue about disarming the sound problem!
>  1)  ./configure
>  2)  Comment out the following line in src/Makefile
>   linuxplay.o: $(LISP_H) miscplay.h nativesound.h sysfile.h syssignal.h)
>  3)  make

<sigh /> if only that were so!
I commented out that line, Make figured its way around it using the 
implicit .c.o rule.
I also removed "linuxplay.o" from extra-objects in the same 
makefile.  Didn't help.

Even with no explicit mention for linuxplay.o, make finds it as a 
prerequisite of something.  I suspect the only way to get rid of it will be 
commenting out the area of "configure" -- and there I'm way over my 
head!  It's a fairly simple shell command, but I don't know what else I'm 
breaking if I comment it out.

I have detailed logs here but they're rather huge for posting.

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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D
@ 2001-08-09  7:29 Robinow, David
  2001-08-09 19:59 ` David A. Cobb
  0 siblings, 1 reply; 13+ messages in thread
From: Robinow, David @ 2001-08-09  7:29 UTC (permalink / raw)
  To: Xemacs Beta Development MailList, Cygwin General MailList

> -----Original Message-----
> From: David A. Cobb [ mailto:superbiskit@home.com ]
> Subject: Re: Problems building Xemacs-21.5--i686-pc-Cygwin: PART III
> ... And still no clue about disarming the sound problem!
 1)  ./configure 
 2)  Comment out the following line in src/Makefile
  linuxplay.o: $(LISP_H) miscplay.h nativesound.h sysfile.h syssignal.h)
 3)  make

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-08-14 12:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08  9:59 Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D David A. Cobb
2001-08-08 11:33 ` Charles Wilson
2001-08-09  1:42   ` David Starks-Browning
2001-08-09  6:42     ` David A. Cobb
2001-08-09  6:37   ` About Those Sound Problems David A. Cobb
2001-08-09  8:24     ` David Starks-Browning
2001-08-09  8:48       ` Glynn Clements
2001-08-09  9:02         ` David Starks-Browning
2001-08-09  7:29 Problems building Xemacs-21.5--i686-pc-Cygwin: PART III :=(D Robinow, David
2001-08-09 19:59 ` David A. Cobb
2001-08-09 23:08   ` Dr. Volker Zell
     [not found] <80575AFA5F0DD31197CE00805F650D7602CFB4@wilber.adroit.com>
2001-08-12 13:57 ` David A. Cobb
2001-08-14 12:03 Robinow, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).