Hello. I'm Japanese Univercity's student. I can't compile SSLtelnet-0.11 with SPARCompiler C Version 4.2. Compiles Options are, ># SunOS 5.x (Solaris 2.x) >CC = cc -g -DSUNOS -DSOLARIS2 -DUSE_SHADOW -DEAY_DES $(socksflags) ># the extra libbsd crud is only there for inet_aton for GCC and ># I really do not want to think too hard about it --tjh >LDADD= $(sockslib) -lresolv -lsocket -lnsl ../lib/libbsd/libbsd.a -ltermcap Error Messages are, > "sra.c", line 472: warning: empty translation unit > "commands.c", line 2324: warning: identifier redeclared: htons > current : function() returning ushort > previous: function(ushort) returning ushort : "/usr/include/sys/byteorde > r.h", line 53 > "network.c", line 139: warning: argument #2 is incompatible with prototype: > prototype: pointer to char : "/usr/local/ssl/include/ssl.h", line 784 > argument : pointer to uchar > "network.c", line 142: warning: argument #2 is incompatible with prototype: > prototype: pointer to const char : "/usr/include/sys/socket.h", line 303 > argument : pointer to uchar > "network.c", line 146: warning: argument #2 is incompatible with prototype: > prototype: pointer to char : "/usr/local/ssl/include/ssl.h", line 784 > argument : pointer to uchar > "network.c", line 158: warning: argument #2 is incompatible with prototype: > prototype: pointer to const char : "/usr/include/sys/socket.h", line 303 > argument : pointer to uchar > "sys_bsd.c", line 1127: warning: argument #2 is incompatible with prototype: > prototype: pointer to char : "/usr/local/ssl/include/ssl.h", line 782 > argument : pointer to uchar > "sys_bsd.c", line 1130: warning: argument #2 is incompatible with prototype: > prototype: pointer to char : "/usr/include/sys/socket.h", line 301 > argument : pointer to uchar > Undefined first referenced > symbol in file > __umoddi3 /usr/local/ssl/lib/libcrypto.a(bn_word.o) > __udivdi3 /usr/local/ssl/lib/libcrypto.a(bn_word.o) > Rconnect commands.o > ld: fatal: Symbol referencing errors. No output written to telnet > make: Fatal error: Command failed for target `telnet' > Current working directory /home/bangdoll/tmp/working/SSLtelnet-0.11/telnet > make: Fatal error: Command failed for target `all' > ld: calling ld to finish link -- can not handle input files with SHT_NOTE secti > ons > *** Error code 1 > *** Error code 1 and compiled with GCC 2.7.2.3, Can't compile, too. Errors are, > inet_addr.c:85: conflicting types for `inet_aton' > /usr/include/arpa/inet.h:76: previous declaration of `inet_aton' > *** Error code 1 > make: Fatal error: Command failed for target `inet_addr.o' > Current working directory /home/bangdoll/tmp/working/SSLtelnet-0.11/lib/libbsd > *** Error code 1 > make: Fatal error: Command failed for target `all' > Current working directory /home/bangdoll/tmp/working/SSLtelnet-0.11/lib > *** Error code 1 > make: Fatal error: Command failed for target `all' > I've no techinique to clear these errors. Please teach me to compile this application with SPARCompiler or GCC. thank you. +-------------------------------------------------------------------------+ | Administrative requests should be sent to [EMAIL PROTECTED] | | List service provided by Open Software Associates, http://www.osa.com/ | +-------------------------------------------------------------------------+
