This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

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


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