This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

I need help in order to port a library to cygwin platform


I'm trying to port DevIL ( to the cygwin platform

I've already ported the project to autotools but i'm getting an error when
trying to build the dlls without the cygwin1.dll dependancy (using -mno-cygwin
gcc flag). (I use the latest cygwin version)

Here is what i get during the final ld pass :

il_pic.lo(.text+0x39b):il_pic.c: undefined reference to `_imp___iob'
il_pic.lo(.text+0x53f):il_pic.c: undefined reference to `_imp___iob'
il_lif.lo(.text+0x3c8):il_lif.c: undefined reference to `stricmp'
il_dds.lo(.text+0x1ab4):il_dds.c: undefined reference to `strnicmp'
il_internal.lo(.text+0x15):il_internal.c: undefined reference to `stricmp'
il_internal.lo(.text+0x17a):il_internal.c: undefined reference to `stricmp'
il_pal.lo(.text+0x1d8):il_pal.c: undefined reference to `stricmp'
il_pal.lo(.text+0x201):il_pal.c: undefined reference to `stricmp'
il_register.lo(.text+0x76):il_register.c: undefined reference to `stricmp'
il_register.lo(.text+0x4b6):il_register.c: more undefined references to `stricm>
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

But this seems strange to me because all those symbols are defined in
libmsvcrt.a lib (used when compiling with -mno-cygwin)

I've read lot of docs all over the net (the autotool book from red hat
was the most interesting) but i can't see what's wrong here.

I know that all runs fine when not using -mno-cygwin but for speed reasons
i would like not using cygwin1.dll.

If someone could help me it would be very nice


PS  : please cc the answers because i've not subscribe to the list. thx again.
PPS : if you wanna test the lib, use the cvs DevIL module.

Edouard Gomez

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]