Sorry, done.
Has anyone had luck with HP-UX. I have searched and searched and searched. It seems like several people have had luck, but I keep getting compilation errors. Here is my latest using gcc
gmake[1]: Entering directory /home/campnd/hobbit-4.1.2p1/bbnet' gcc -static -DHPUX -D_REENTRANT -DHPUX -I. -I/home/campnd/hobbit-4.1.2p1/include -I/usr/local/pcre-6.4/include -DBBGEN_SSL -I/usr/include -c -o bbtest-net.o bbtest-net.c bbtest-net.c: In function 'send_rpcinfo_results': bbtest-net.c:1795: warning: assignment makes pointer from integer without a cast bbtest-net.c:1802: error: dereferencing pointer to incomplete type bbtest-net.c:1814: error: dereferencing pointer to incomplete type bbtest-net.c:1819: error: dereferencing pointer to incomplete type bbtest-net.c: In function 'main': bbtest-net.c:2262: warning: pointer targets in assignment differ in signedness gmake[1]: *** [bbtest-net.o] Error 1 gmake[1]: Leaving directory /home/campnd/hobbit-4.1.2p1/bbnet'
gmake: *** [bbnet-build] Error 2
--neil
ManTech DeCA Operations Systems Administrator (804) 734-8353 neil.camp at deca.mil
-----Original Message----- From: Thomas Krieger [mailto:tom at tom-krieger.de] Sent: Tuesday, February 07, 2006 1:07 PM To: hobbit at hswn.dk Subject: Re: [hobbit] problem compiling HP-UX 11.11 using aCC
Can you please stop requesting reading confirmations for your emails. It's anoying.
Bye
I have no problem compiling hobbit on a D380 server running HP-UX 11.11 I am using gcc version 3.4.2 and GNU Make version 3.79.1
If you want you could gett the depot's from me
Lars
----- Original Message ----- From: "Camp, Neil D. (ManTech) CTR" <neil.camp at deca.mil> To: <hobbit at hswn.dk> Sent: Tuesday, February 07, 2006 9:46 PM Subject: [hobbit] problem compiling HP-UX 11.11 using gcc
Sorry, done.
Has anyone had luck with HP-UX. I have searched and searched and searched. It seems like several people have had luck, but I keep getting compilation errors. Here is my latest using gcc
gmake[1]: Entering directory /home/campnd/hobbit-4.1.2p1/bbnet' gcc -static -DHPUX -D_REENTRANT -DHPUX -I. -I/home/campnd/hobbit-4.1.2p1/include -I/usr/local/pcre-6.4/include -DBBGEN_SSL -I/usr/include -c -o bbtest-net.o bbtest-net.c bbtest-net.c: In function 'send_rpcinfo_results': bbtest-net.c:1795: warning: assignment makes pointer from integer without a cast bbtest-net.c:1802: error: dereferencing pointer to incomplete type bbtest-net.c:1814: error: dereferencing pointer to incomplete type bbtest-net.c:1819: error: dereferencing pointer to incomplete type bbtest-net.c: In function 'main': bbtest-net.c:2262: warning: pointer targets in assignment differ in signedness gmake[1]: *** [bbtest-net.o] Error 1 gmake[1]: Leaving directory /home/campnd/hobbit-4.1.2p1/bbnet'
gmake: *** [bbnet-build] Error 2
--neil
ManTech DeCA Operations Systems Administrator (804) 734-8353 neil.camp at deca.mil
-----Original Message----- From: Thomas Krieger [mailto:tom at tom-krieger.de] Sent: Tuesday, February 07, 2006 1:07 PM To: hobbit at hswn.dk Subject: Re: [hobbit] problem compiling HP-UX 11.11 using aCC
Can you please stop requesting reading confirmations for your emails. It's anoying.
Bye
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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. -Ipwd/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
On Thu, Jun 22, 2006 at 09:30:36AM -0700, Mike Arnold wrote:
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?
-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
Looks like your HP-UX compiler cannot find the definition of the RPC service entry structure "rpcent". This is usually defined in either the <netdb.h> or <rpc/netdb.h> file.
What's in your include/config.h file ? There should be a line with either "#define HAVE_RPCENT_H" or "#undef HAVE_RPCENT_H".
Is there a file /usr/include/netdb.h on your system ? How about /usr/include/rpc/netdb.h ?
(Why must HP-UX have all the standard definitions in non-standard places ? Sigh ...)
Regards, Henrik
From: "Henrik Stoerner" <henrik at hswn.dk>
Is there a file /usr/include/netdb.h on your system ? How about /usr/include/rpc/netdb.h ?
(Why must HP-UX have all the standard definitions in non-standard places ? Sigh ...)
This is from my HP-UX 11.11
bash-3.00# grep rpcent /usr/include/netdb.h struct rpcent ä
- rpcent_data structure for calls to getrpcent_r(), getrpcbyname_r() struct rpcent_data ä
Regards Lars
On Mon, Jun 26, 2006 at 03:17:06PM +0200, lars ebeling wrote:
From: "Henrik Stoerner" <henrik at hswn.dk>
Is there a file /usr/include/netdb.h on your system ? How about /usr/include/rpc/netdb.h ?
(Why must HP-UX have all the standard definitions in non-standard places ? Sigh ...)
This is from my HP-UX 11.11
bash-3.00# grep rpcent /usr/include/netdb.h struct rpcent ä
- rpcent_data structure for calls to getrpcent_r(), getrpcbyname_r() struct rpcent_data ä
That is what I would expect from a normal <netdb.h> file. And that is what Hobbit has for HP-UX compilation. So I just don't understand why the compile fails.
Regards, Henrik
That is what I would expect from a normal <netdb.h> file. And that is what Hobbit has for HP-UX compilation. So I just don't understand why the compile fails.
This is include/config.h
$ pg config.h
/* This file is auto-generated */
#ifndef __CONFIG_H__
#define __CONFIG_H__ 1
#define HAVE_SOCKLEN_T 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#undef HAVE_RPCENT_H
#undef HAVE_SYS_SELECT_H
#undef HAVE_UINT32_TYPEDEF
#endif
Henrik Stoerner wrote:
On Thu, Jun 22, 2006 at 09:30:36AM -0700, Mike Arnold wrote:
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?
-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
Looks like your HP-UX compiler cannot find the definition of the RPC service entry structure "rpcent". This is usually defined in either the <netdb.h> or <rpc/netdb.h> file.
[mike at hpux11i-hppa ~]$ grep -A5 "struct rpcent" /usr/include/netdb.h struct rpcent { char *r_name; /* name of server for this rpc program */ char **r_aliases; /* alias list */ int r_number; /* rpc program number */ }; [snip]
What's in your include/config.h file ? There should be a line with either "#define HAVE_RPCENT_H" or "#undef HAVE_RPCENT_H".
[mike at hpux11i-hppa ~]$ cat hobbit-4.2-beta-20060605/include/config.h /* This file is auto-generated */ #ifndef __CONFIG_H__ #define __CONFIG_H__ 1 #define HAVE_SOCKLEN_T 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #undef HAVE_RPCENT_H #undef HAVE_SYS_SELECT_H #undef HAVE_UINT32_TYPEDEF #endif
Is there a file /usr/include/netdb.h on your system ? How about /usr/include/rpc/netdb.h ?
[mike at hpux11i-hppa ~]$ ls -l /usr/include/netdb.h /usr/include/rpc/rpcent.h /usr/include/rpc/rpcent.h not found -r--r--r-- 1 bin bin 20638 Oct 20 2004 /usr/include/netdb.h
(Why must HP-UX have all the standard definitions in non-standard places ? Sigh ...)
I spent all of yesterday chasing this one down. My C skills are horrible, but if I add this to bbtest-net.c at line 101, the line 1794 warning goes away: extern struct rpcent *getrpcbyname (const char *); The other three lines appear to have "rpcinfo->r_number" in common, but I have yet to decipher the error messages' meaning.
I can arrange for access to the machine, if you would like.
-- -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
On Mon, Jun 26, 2006 at 07:10:57AM -0700, Mike Arnold wrote:
Looks like your HP-UX compiler cannot find the definition of the RPC service entry structure "rpcent". This is usually defined in either the <netdb.h> or <rpc/netdb.h> file.
[mike at hpux11i-hppa ~]$ grep -A5 "struct rpcent" /usr/include/netdb.h struct rpcent { char *r_name; /* name of server for this rpc program */ char **r_aliases; /* alias list */ int r_number; /* rpc program number */ }; [snip]
[mike at hpux11i-hppa ~]$ ls -l /usr/include/netdb.h /usr/include/rpc/rpcent.h /usr/include/rpc/rpcent.h not found -r--r--r-- 1 bin bin 20638 Oct 20 2004 /usr/include/netdb.h
This looks perfectly OK. So why won't the Hobbit compile pick it up ? No idea, really.
I can arrange for access to the machine, if you would like.
Contact me off-list at henrik at hswn.dk - ssh access is the easiest for me.
Regards, Henrik
I thought I had some problems earlier with some version of gcc 4.x.x
I installed gcc 4.1.0 and got
gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I /home/hobbit/snapshot/include -I/usr/local/include -DBBGEN_SSL -I/usr/local/inc lude -c -o bbtest-net.o bbtest-net.c bbtest-net.c: In function 'send_rpcinfo_results': bbtest-net.c:1788: warning: assignment makes pointer from integer without a cast bbtest-net.c:1795: error: dereferencing pointer to incomplete type bbtest-net.c:1807: error: dereferencing pointer to incomplete type bbtest-net.c:1812: error: dereferencing pointer to incomplete type makeÄ1Å: *** Äbbtest-net.oÅ Error 1 makeÄ1Å: Leaving directory é/home/hobbit/snapshot/bbnet' make: *** Äbbnet-buildÅ Error 2 $
Regards Lars
participants (4)
-
henrik@hswn.dk
-
hobbit@razorsedge.org
-
lars.ebeling@leopg9.no-ip.org
-
neil.camp@deca.mil