which libraries does des_ecb_encrypt() uses, try to link with that libraries. try out gcc -o $optname $programname.c -l$libname ----- Original Message ----- From: "venkat narayana M" <rsvenki229@xxxxxxxxx> To: <gcc-help@xxxxxxxxxxx> Sent: Friday, July 18, 2003 9:25 PM Subject: problems in linking > i am trying to use gcc 3.2.i am getting > problems while linking to the header files. > I used des_ecb_encrypt() function in my > programme.I included openssl/des.h file.still the > compiler can't link the file to the program.I am > getting the following error. > > tmp/ccUUPVii.o: In function `main': > /tmp/ccUUPVii.o(.text+0xfe): undefined reference to > `DES_set_key' > /tmp/ccUUPVii.o(.text+0x117): undefined reference to > `DES_ecb_encrypt' > collect2: ld returned 1 exit status > > > could u plz help me to resolve this problem.plz > tell me what could be the problem.I am relatively new > to linux environment > > thank u > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com