Gary Hines writes:
-       I'm using gcc, and I just downloaded the new gcc3.1 from the hp
- porting site, but I still get the same error.

        My experience with software from the Porting Centre
doesn't instill confidence.  It seems they frequently build in
one directory, and then package it to install in another (which
breaks things massively.)

-                                              Does gcc come with separate
- includes?

        Part of the gcc installation process is to
preprocess/reprocess some of the system include files into
something gcc likes better.  Odds are, the Porting Centre build
didn't get that done, or the includes didn't get put into the
depot.

-            The socket.h that came with the HP includes the header file that
- defines the types that I'm getting the errors on (sbsize_t, bsize_t,
- sbsize64_t, and bsize64_t), but for some reason they don't seem to be
- getting include'd in the compilation. I'm wondering if gcc has a different
- socket.h that would work?

        The problem is more likely the <sys/types.h> file.  It's
entirely possible that the amanda source isn't including
<sys/types.h> before including <sys/socket.h> and it's required
on HP-UX (it certainly is on NetBSD and Solaris, but may not be
required on some versions of Linux, where much of the amanda
development occurs.)

        I have HP's commercial C compiler installed on my HP-UX
11.00 system, and would gladly build an amanda kit to your
configuration.  (the 11.00 binaries will run just fine on your
11i (11.11+) system -- after all, that's how HP builds them..
:-)

-- 
Eric Schnoebelen                [EMAIL PROTECTED]           http://www.cirr.com
  "Linux in some ways is the Jerry Springer of operating systems, ..."
                 Bruce Becker in comp.sys.sun.wanted

Reply via email to