Re: Sound/Music for Scheme
- From: "Lukas Imstepf" <non@xxxxxxxx>
- Date: Thu, 13 Oct 2005 16:28:17 +0200
"Bill Schottstaedt" wrote (per email):
I looked at the config logs and didn't see anything problematic. I think you need to add -lc to the LIBS list at the top of the makefile, but I'm just guessing -- I don't have any info about cygwin libraries. Perhaps the other person who responded on the scheme newsgroup would know what to try.
Thanks for your reply. I did what you have suggested and added -lc in the makefile (with the cygwin environment, using the cygwin compiler/libraries).
This solved most of the "undefined reference" warnings. :)
Still I get the following messages:
### 1)
Info: resolving _scm_freelist by linking to __imp__scm_freelist (auto-import)
(again the same with: _scm_master_freelist and _scm_tc16_keyword)
### 2)
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
### 3) headers.o(.text+0x408): In function 'mus_bytes_to_samples': /home/.../sndlib/headers.c:399: undefined reference to '__divdi3' (again the same with some other 'mus_...' functions)
As I know, 1) and 2) are not to matter. The former is only an info and the latter can also be ignored. But 3), the undefined reference to '__divdi3' is the reason for the linker to not link correctly (I guess).
__divdi3 is defined in libgcc.a. Fine. But why can't the linker find it? It's there. I tried to set the path to this library with -L and -l but without success.
What else could I try?
Thanks for your help and best regards,
Lukas
.
- References:
- Re: Sound/Music for Scheme
- From: Jim White
- Re: Sound/Music for Scheme
- From: Lukas Imstepf
- Re: Sound/Music for Scheme
- From: Bill Schottstaedt
- Re: Sound/Music for Scheme
- Prev by Date: New datatype
- Next by Date: Re: New datatype
- Previous by thread: Re: Sound/Music for Scheme
- Next by thread: The Ultimate Online Pharmaceutical
- Index(es):
Relevant Pages
|