From: Norman V. <nh...@ca...> - 2001-12-15 13:25:56
|
Adam Megacz writes: > >Hey, can anybody here see what I'm doing wrong trying to get this >simple program to link? Hey this question has been answered several times in the last couple of days :-) Link order MATTERS !!! gcc t.c -lgdi32 Cheers Norman >megacz@curry$ /usr/local/cross-gcc/bin/i686-pc-mingw32-gcc -lgdi32 t.c >/tmp/ccRRPJOG.o(.text+0x5f):t.c: undefined reference to >`CreateDIBSection@24' > |