|
From: David B. <Da...@et...> - 2004-04-26 21:00:02
|
Hi, =20 I have Dev-C++ version 4.9.8.7 and I am trying to create an executable. I have calls to the mcrypt library, but I get the following linker errors when trying to compile and link: =20 gcc.exe src/send_nsca.o src/netutils.o src/utils.o -o "NSCA.exe" -L"C:/Program Files/Dev-C++/lib" -lwsock32 -L"-lgtk-1.3 -lgdk-1.3 -lgmodule-1.3 -lglib-1.3" -L"-lwsock32 " -mwindows -lobjc=20 src/utils.o(.text+0x5d9):utils.c: undefined reference to `mcrypt_module_open' src/utils.o(.text+0x62e):utils.c: undefined reference to `mcrypt_enc_get_iv_size' src/utils.o(.text+0x6df):utils.c: undefined reference to `mcrypt_enc_get_key_size' src/utils.o(.text+0x7e4):utils.c: undefined reference to `mcrypt_generic_init' src/utils.o(.text+0x820):utils.c: undefined reference to `mcrypt_generic_end' src/utils.o(.text+0xa4a):utils.c: undefined reference to `mcrypt_generic' src/utils.o(.text+0xad9):utils.c: undefined reference to `mdecrypt_generic' make.exe: *** [NSCA.exe] Error 1 Execution terminated =20 I used to have many more errors of this nature, but found a thread somewhere through Google that said to add the '-lwock32' to the linker command line options. Is there something like this for mcrypt? I searched this archive as well as Google, and I couldn't find anything. I also don't have much experience with this, so any help would be appreciated. Thank you very much. =20 David =20 |