Ethereal-users: [Ethereal-users] Compile problem on HP-UX 11i

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Hansen.Ole OHA" <OHA@xxxxxx>
Date: Fri, 25 Jul 2003 12:08:43 +0200
Hi,

I'm trying to compile Ethereal 0.9.14 on my HP-XX 11i box. Configure runs smoothly, everything looks fine while compiling, but in the end i get:

<snip a lot of output, that runs fine>
/usr/ccs/bin/ld: Unsatisfied symbols:
   __mon_yday (code)
/usr/ccs/bin/ld: (Warning) Linker features were used that may not be supported in future releases. The +vallcompatwarnings option can be used to display more details, and the ld(1) man page contains additional information. This warning can be suppressed with the +vnocompatwarnings option.
collect2: ld returned 1 exit status
rm -f .libs/tetherealS.o
gmake[2]: *** [tethereal] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/usr/ccs/bin/ld: Unsatisfied symbols:
   __mon_yday (code)
/usr/ccs/bin/ld: (Warning) Linker features were used that may not be supported in future releases. The +vallcompatwarnings option can be used to display more details, and the ld(1) man page contains additional information. This warning can be suppressed with the +vnocompatwarnings option.
collect2: ld returned 1 exit status
rm -f .libs/etherealS.o
gmake[2]: *** [ethereal] Error 1
gmake[2]: Leaving directory `/div/build/ethereal-0.9.14'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/div/build/ethereal-0.9.14'
gmake: *** [all] Error 2
<end>

I guess, the __mon_yday i defined in the strptime.c, but somehow the __mon_yday code doesn't show up in the strptime.o?

I can see, that there is a precompiled version on http://hpux.connect.org.uk but I would much rather have my home-compiled version. 

Oh.. My gcc is

$ gcc -v
Reading specs from /usr/coll/bin/../lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.0.4/specs
Configured with: ../gcc-3.0.4/configure --prefix=/pack/gcc-3.0.4 --with-gnu-as --with-as=/usr/coll/bin/as --enable-languages=c,c++ --enable-threads=single
Thread model: single
gcc version 3.0.4

-- 
Ole Hansen
Center for Netværkskommunikation
KMD A/S