Have you try to add -lsocket after crypto? Regards: Romeo Ninov
-----Original Message----- From: solaris-users-boun...@filibeto.org [mailto:solaris-users-boun...@filibeto.org] On Behalf Of Sven Aluoor Sent: Wednesday, December 08, 2010 6:27 PM To: solaris-users@filibeto.org Subject: [Solaris-Users] compile SSCEP (Simple SCEP client for Unix) on Solaris 10 box Hi folks I am trying to compile SSCEP[0] (Simple SCEP client for Unix) on Solaris 10 box. The errror is "ld: fatal: Symbol referencing errors. No output written to" $ make gcc -Wall -O -lcrypto -o sscep sscep.o init.o net.o sceputils.o pkcs7.o ias.o fileutils.o Undefined first referenced symbol in file bind net.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) send net.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) asn1_const_Finish ias.o gethostbyname net.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) socket net.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) connect net.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) ld: fatal: Symbol referencing errors. No output written to sscep collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `sscep' $ uname -a SunOS ffg0953zv1 5.10 Generic_139555-08 sun4v sparc SUNW,Sun-Blade-T6320 $ which make; which ld /usr/ccs/bin/make /usr/ccs/bin/ld cheers Sven [0] http://www.klake.org/~jt/sscep/ _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 5685 (20101208) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 5685 (20101208) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users