From: Danny Smith <dannysmith@cl...> - 2007-05-04 04:46:48
I've installed Msys 1.0.10 and various
> MinGW packages,
> include gcc-3.4.5 (mingw special) and binutils 2.16.91.
> But whenever I try and link against the lib with MinGW
> 3.4.5, the above
> symbols are undefined:
> gcc -Wall -I/c/dev/Emace190/Include \
> -o testma.exe testma.c \
> -L. -lemace_32
> C:/msys/temp/ccwBaaaa.o:testma.c:(.text+0x66): undefined reference
> to `aceInitialize@...'
> C:/msys/temp/ccwBaaaa.o:testma.c:(.text+0x8d): undefined reference
> to `aceFree@...'
> collect2: ld returned 1 exit status
Is emace_32.dll in ./ ? If so, the version of ld you are using will
be linking to the dll rather the import lib (wih suffix '.lib')
This changed on 2006-06-22. You could either download newer binutils or
copy/rename your *.lib to a GNU-style name libemace_32.a, which has
precedence over the .dll name on older binutils.
Get latest updates about Open Source Projects, Conferences and News.