I know that im not being very helpful with this and its not the nicest problem in the world, but I would be greatful of any help.
Please help me, I have been looking at socket programming and found it hard to get my head around so, i thort id look at a library, i found the SIMPLE socket library at http://mysite.verizon.net/astronaut/ssl/ sounds like a good idea but when I try compiling the code I get this, There is no information about this that I can see on the web,plus im new to adding non standard librarys.
testsrc # make all
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Saccept.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sprintf.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Stest.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c outofmem.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sclose.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sprtskt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Stimeoutwait.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c rdcolor.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sgets.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sputs.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Svprintf.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c sprt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Smaskwait.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sread.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Swait.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c srmtrblk.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Smkskt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sreadbytes.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Swrite.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c stpblk.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sopen.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Srmsrvr.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c error.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c stpnxt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sopenv.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sscanf.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c fopenv.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c strnxtfmt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Speek.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c cprt.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Speername.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Speeraddr.c
/opt/sfw/gcc-3/bin/gcc -O -I./HDR -c Sinit.c
ar r simpleskts.a *.o
ar: creating simpleskts.a
finished updating simpleskts.a
( cd EXE; \
make LIB=simpleskts.a CFLAGS="-O -I../HDR" LOADLIBES=../simpleskts.a EXETGT=../EXE )
/opt/sfw/gcc-3/bin/gcc -O -I../HDR Spm.c ../simpleskts.a -o ../EXE/Spm
Undefined first referenced
symbol in file
bind /var/tmp//ccVRYMI1.o
recv ../simpleskts.a(Sgets.o)
send ../simpleskts.a(Swrite.o)
getsockname /var/tmp//ccVRYMI1.o
accept ../simpleskts.a(Saccept.o)
listen /var/tmp//ccVRYMI1.o
gethostbyname /var/tmp//ccVRYMI1.o
socket /var/tmp//ccVRYMI1.o
setsockopt /var/tmp//ccVRYMI1.o
connect ../simpleskts.a(Sopen.o)
getpeername /var/tmp//ccVRYMI1.o
shutdown /var/tmp//ccVRYMI1.o
ld: fatal: Symbol referencing errors. No output written to ../EXE/Spm
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `Spm'
Current working directory /scripts/Ctuts/new/COSMIC/EXE
*** Error code 1
make: Fatal error: Command failed for target `exes'
seems to work fine to start with then bombs out, can any one help
im using solaris 9
thanks in advance.
Joe