Hello Gianluca,

sorry for the late answer but I was rather busy the last months and
wasn't able to check the net-snmp-coders mailing list...

First thing I saw in the config file is that you probably use a 64 bit
version of the gcc compiler. Since I've never tried to compile and run
the net-snmp daemon and the tools compiled as 64 bit binaries I can't
say whether that will work or not.

But I think that isn't your problem at the moment. I think you posted
the complete make output and not only some lines from the start and the
last lines. Could it be that you used the system's make program and not
GNU make? Due to the contents of most if not all makefiles compilation
of net-snmp is possible only when using GNU make.

If you didn't do already please try to run the compilation using GNU
make (you should find a binary in the HP-UX freeware repositories - if
not you could you own version from the sources).

Any feedback is appreciated - and I'll try to answer you with less delay.

Johannes

[EMAIL PROTECTED] schrieb:
> Hello, 
> 
> I got some problems with "net-snmp-5.1.3.1" compilation on "HP-UX B.11.00 
> U 9000/800 ".
> 
> 
> I tried to configure it with 
> 
> - aCC: HP ANSI C++ B3910B A.03.27
> 
> and 
> 
> - gcc 3.0.1
> 
> but the result is always the same. 
> 
> The make output is the following:
> 
> --------------------------------------------------------
>         gcc -E                                           -Iinclude 
> -I./include -I./agent/mibgroup -I. -I.     -DDONT_INC_STRUCTS 
> -DBINDIR=/usr/local/bin                      -x c ./sedscript.in | egrep 
> '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > 
> sedscript
>         echo 's#DATADIR#/usr/local/share#g' >> sedscript
>         echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
>         echo 's#BINDIR#/usr/local/bin#g' >> sedscript
>         echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
>         echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
>         /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
> making all in /home/rosa/pkgs/pkgs-src/net-snmp-5.1.3.1/snmplib
>         /bin/sh ../libtool  --mode=link gcc -g -O2 -Dhpux11  -rpath 
> /usr/local/lib -version-info 6:3:1 -o libnetsnmp.la 
> mkdir .libs
> rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
> /usr/ccs/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o 
> .libs/libnetsnmp.sl.6.3   -lc 
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> ------------------------------------------------------------ 
> 
> In attachment you can find the "config.log" file .
> 
> 
> Thanks,
> Gianluca Rosa
> 
> 

-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to