From: Steve O. <oc...@nc...> - 2007-10-02 19:49:06
|
On 2 Oct 2007 at 19:40, Mij wrote: > > Older solaris releases do not appear to have stdint.h > > try this one: > edit src/simclist.c > replace > #include <stdint.h> > with > #include <inttypes.h> > > let me know in case it doesn't get ok Hi, That worked but now I'm getting linker errors. gcc -I. -O2 -o sshguard sshguard.o sshguard_whitelist.o sshguard_log.o sshguard_procauth.o simclist.o attack_parser.o attack_scanner.o fwalls/libfwall.a -lpthread Undefined first referenced symbol in file _Exit sshguard_procauth.o gethostbyname2 attack_parser.o unsetenv fwalls/libfwall.a(command.o) gethostbyname sshguard_whitelist.o setenv fwalls/libfwall.a(command.o) hstrerror attack_parser.o inet_pton sshguard_whitelist.o inet_ntop attack_parser.o h_errno attack_parser.o ld: fatal: Symbol referencing errors. No output written to sshguard collect2: ld returned 1 exit status make[3]: *** [sshguard] Error 1 make[3]: Leaving directory `/export/home/steve/ipf/sshguard-1.1beta3/sshguard-1.1beta3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/steve/ipf/sshguard-1.1beta3/sshguard-1.1beta3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/home/steve/ipf/sshguard-1.1beta3/sshguard-1.1beta3/src' make: *** [all-recursive] Error 1 I went into src directory and tried: (added -lnsl -lresolv) gcc -I. -O2 -o sshguard sshguard.o sshguard_whitelist.o ssh uard_log.o sshguard_procauth.o simclist.o attack_parser.o attack_scanner.o fwal s/libfwall.a -lpthread -lnsl -lresolv but still get some linker errors gcc -I. -O2 -o sshguard sshguard.o sshguard_whitelist.o ssh uard_log.o sshguard_procauth.o simclist.o attack_parser.o attack_scanner.o fwal s/libfwall.a -lpthread -lnsl -lresolv Undefined first referenced symbol in file _Exit sshguard_procauth.o gethostbyname2 attack_parser.o unsetenv fwalls/libfwall.a(command.o) setenv fwalls/libfwall.a(command.o) ld: fatal: Symbol referencing errors. No output written to sshguard collect2: ld returned 1 exit status BTW I'm using gcc 3.4.2 thanks -Steve O. > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Sshguard-users mailing > list Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/sshguard-users |