Hi all, I am trying to compile bitkeeper free client on Solaris 10. However I keep getting the following errors:
bash-3.00# CC=cc bash-3.00# export CC bash-3.00# make cc -O2 -Wall -Wno-parentheses bkf.c -o bkf cc: Warning: option -2 passed to ld cc: illegal option -Wall make: *** [bkf] Error 1 bash-3.00# bash-3.00# bash-3.00# CC=gcc bash-3.00# export CC bash-3.00# make gcc -O2 -Wall -Wno-parentheses bkf.c -o bkf Undefined first referenced symbol in file gethostbyname /var/tmp//ccgyLdOf.o socket /var/tmp//ccgyLdOf.o connect /var/tmp//ccgyLdOf.o ld: fatal: Symbol referencing errors. No output written to bkf collect2: ld returned 1 exit status make: *** [bkf] Error 1 My path is as follows: PATH=/opt/SUNWspro/bin::/usr/local/bin:$PATH; PATH=$PATH:/usr/local/bin:.:/usr/ccs/bin:/usr/local/mysql/bin export LD_LIBRARY_PATH=/usr/local/mysql/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib:/usr/ucblib CXX=/usr/local/bin/g++ export CXX export PATH I will appreciate any insight you could provide. Thanks, Frank This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org