[hobbit] problem compiling HP-UX 11.11 using gcc

Mike Arnold hobbit at razorsedge.org
Thu Jun 22 18:30:36 CEST 2006


It looks like this is still an issue, even with the allinone.patch of 14
June applied to the 4.2 beta.  Henrik, any ideas on what may be causing
this and how to fix?

[snip]
gmake[1]: Leaving directory
`/var/tmp/rpmbuild/hobbit-4.2-beta-20060605/bbdisplay'
CC="gcc" CFLAGS="-g -O -D_REENTRANT  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHPUX -I. -I`pwd`/include -I/usr/local/include"
LDFLAGS="" RPATHOPT="" SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/usr/include "
SSLLIBS="-L/usr/lib -lssl -lcrypto" LDAPFLAGS="-DBBGEN_LDAP
-DBBGEN_LDAP_USESTARTTLS" LDAPINCDIR="-I/usr/local/include"
LDAPLIBS="-L/usr/local/lib -lldap -llber" NETLIBS="-lnsl"
BBHOME="/usr/local/libexec/hobbit/server" ARESVER="1.2.1" RUNTIMEDEFS=""
PCREINCDIR="-I/usr/local/include" PCRELIBS="-L/usr/local/lib -lpcre"
/usr/local/bin/gmake -C bbnet all
gmake[1]: Entering directory
`/var/tmp/rpmbuild/hobbit-4.2-beta-20060605/bbnet'
gcc -g -O -D_REENTRANT  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX
-I. -I/home/mike/rpmbuild/BUILD/hobbit-4.2-beta-20060605/include
-I/usr/local/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS
-I/usr/include  -I/usr/local/include -c -o bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'send_rpcinfo_results':
bbtest-net.c:1794: warning: assignment makes pointer from integer without
a cast
bbtest-net.c:1801: error: dereferencing pointer to incomplete type
bbtest-net.c:1813: error: dereferencing pointer to incomplete type
bbtest-net.c:1818: error: dereferencing pointer to incomplete type
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory
`/var/tmp/rpmbuild/hobbit-4.2-beta-20060605/bbnet'
gmake: *** [bbnet-build] Error 2


All third-party apps (gcc/make/patch/libpng/pcre/openldap/openssl/rrdtool)
are from http://hpux.cs.utah.edu/.

$ uname -a
HP-UX hpux11i B.11.11 U 9000/785 HP-UX
$ model
9000/785/C360
$ /usr/sbin/swlist|grep -i patch
  BUNDLE                        B.11.11        Patch Bundle
  BUNDLE11i                     B.11.11.0306.1 Required Patch Bundle for
HP-UX 11i, June 2003
  FEATURE11-11                  B.11.11.0209.5 Feature Enablement Patches
for HP-UX 11i, Sept 2002
  GOLDAPPS11i                   B.11.11.0509.429 Applications Patches for
HP-UX 11i v1, September 2005
  GOLDBASE11i                   B.11.11.0509.429 Base Patches for HP-UX
11i v1, September 2005
  HWEnable11i                   B.11.11.0306.4 Hardware Enablement Patches
for HP-UX 11i, June 2003
$ gcc --version
gcc (GCC) 4.1.0
$ patch --version
patch 2.5.4
$ gmake --version
GNU Make 3.80


-- 
-m

... so long as the people do not care to exercise their freedom, those
who wish to tyrranize will do so; for tyrants are active and ardent,
and will devote themselves in the name of any number of gods, religious
and otherwise, to put shackles upon sleeping men.
                -- Voltarine de Cleyre



More information about the Xymon mailing list