Hello Michael, maybe you have similar problems as Thomas had when compiling 5.3.1.pre2 for HP-UX (in his case some ntoXX() macros weren't expanded properly but instead made into a call to a function that cannot be found in linking).
What Thomas found was the following: "Yep, it appears to be a gcc 4.x issue on HP-UX. Here's an interesting reference: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01417.html" The gcc problem seems to be related to the gcc version you're using, and maybe it's related too to the _XOPEN_SOURCE_EXTENDED define. Unfortunately I cannot dig into it deeper at the moment since I'm far away from "my" HP-UX servers... Johannes Michael Cheselka wrote on 6/6/2006 12:56 AM: > Hello Everyone, > > http://pastebin.com/760972 > > Much Thanks! > Mike > > On 6/3/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > >> Johannes Schmidt-Fischer wrote: >> > What sort of problems do you have exactly? > > > gcc -I../include -I. -I../snmplib -I/usr/share/include -g -O2 -Dhpux11 > -c system.c -fPIC -DPIC -o .libs/system.lo > system.c: In function 'get_myaddr': > system.c:580: error: storage size of 'ifc' isn't known > system.c:596: error: invalid application of 'sizeof' to incomplete > type 'struct ifreq' > system.c:601: error: invalid application of 'sizeof' to incomplete > type 'struct ifreq' > system.c:604: error: invalid application of 'sizeof' to incomplete > type 'struct ifconf' > system.c:635: error: increment of pointer to unknown structure > system.c:635: error: arithmetic on pointer to an incomplete type > system.c:638: error: dereferencing pointer to incomplete type > system.c:641: error: dereferencing pointer to incomplete type > system.c:643: error: invalid application of 'sizeof' to incomplete > type 'struct ifreq' > system.c:646: error: dereferencing pointer to incomplete type > system.c:646: error: 'IFF_UP' undeclared (first use in this function) > system.c:646: error: (Each undeclared identifier is reported only once > system.c:646: error: for each function it appears in.) > system.c:650: error: dereferencing pointer to incomplete type > system.c:657: error: invalid application of 'sizeof' to incomplete > type 'struct ifreq' > system.c:661: error: dereferencing pointer to incomplete type > system.c: In function 'mkdirhier': > system.c:1002: warning: assignment makes pointer from integer without a > cast > system.c:1024: warning: assignment makes pointer from integer without a > cast > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > >> Indeed, it's hard to fix build issues without seeing the exact error >> messages. :-/ >> >> Does a bare "./configure --with-defaults && make" build fine for you >> with 5.3.1.pre3? What does "perl -V" reports for your Active State perl >> package? >> >> >> +Thomas > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- 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] _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
