Mailing List Archive

Compilation on HP-UX 11i using GCC 3.02
Greetings,
I'm currently trying to compile conserver on HP-UX 11i using GCC
3.02. So far I have found :-

maxfiles() defined while maxfiles is defined as a constant on the system.
I've renamed maxfiles() throughout conserver.

TELCMD_OK(), TELCMD(), TELOPT_OK() and TELOPT() used but not defined. I've
checked a Linux box and added the equivalents from
/usr/include/arpa/telnet.h into a local conserver_telnet.h

Differences in locations of the select definition (sys/select.h in conserver
and sys/time.h on HP-UX)

__builtin_va_start is an "unsatisfied symbol" in group.o.

There are also minor differences to types of arguments to various network
function calls (socklen_t * compared to int *)... These are only warnings
though so we can probably ignore them.

I'm currently working on fixing the __builtin_va_start problem, the
rest have already been fixed. If I can get it compiled who should I send
patches to? bryan@conserver.com? The patches are not likely to be
guaranteed to test for hp-ux though, so they will not be perfect. Some of
them (maxfiles -> conserver_maxfiles for example) shouldn't be a problem on
other systems. Any suggestions/comments from anyone?

Thanks,
Adam

Ignore this signature, the company adds it later... :-(


****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.
Re: Compilation on HP-UX 11i using GCC 3.02 [ In reply to ]
Thanks for the informative message! Since the mailing list
is archived, I'm sure it will help someone else trying to
compile for HP-UX... :-)

Bryan is the correct address for the patch info. :-)

If you haven't checked into the BETA version info,
you may want to...that variable conflict may be resolved
as part of the changes to make Conserver a bit more dynamic.

http://www.conserver.vom/beta/

Regards,

-Z- http://www.conserver.com/consoles/
RE: Compilation on HP-UX 11i using GCC 3.02 [ In reply to ]
Well, I've got 7.1.4 compiling (no indication yet if it will work, but
hopefully later today... ) I'll try the beta as well just to make sure that
there are no other issues. Some of these problems are a PITA... :-)

Adam

-----Original Message-----
From: David Harris [mailto:zonker@certaintysolutions.com]
Sent: Thursday, January 31, 2002 12:40 PM
To: Morris, Adam; users@conserver.com
Subject: Re: Compilation on HP-UX 11i using GCC 3.02


Thanks for the informative message! Since the mailing list
is archived, I'm sure it will help someone else trying to
compile for HP-UX... :-)

Bryan is the correct address for the patch info. :-)

If you haven't checked into the BETA version info,
you may want to...that variable conflict may be resolved
as part of the changes to make Conserver a bit more dynamic.

http://www.conserver.vom/beta/

Regards,

-Z- http://www.conserver.com/consoles/

****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.
Re: Compilation on HP-UX 11i using GCC 3.02 [ In reply to ]
On Thu, Jan 31, 2002 at 12:49:28PM -0800, Morris, Adam wrote:
> Well, I've got 7.1.4 compiling (no indication yet if it will work, but
> hopefully later today... ) I'll try the beta as well just to make sure that
> there are no other issues. Some of these problems are a PITA... :-)
>
> Adam

The beta will have the same issues as 7.1.4 (no
portability/compatability changes). I'd be very interested in seeing
the output of the configure command - as well as a make. And, of
course, patches are always good. :-) The code (well, 7.1.0 or
thereabouts) was known to build under HP-UX 10.20 with gcc. Sounds
like either HP changed a bunch of stuff in 11 or maybe the gcc install
isn't quite the same. Either way, it could be great to be able to get
this to work.

Bryan
Compilation on HP-UX 11i using GCC 3.02 [ In reply to ]
Greetings,
I have sent a patch to Bryan detailing all of the changes that I
made. I'm not up to speed on GNU Autoconf so I skipped integrating my
changes with the ./configure stuff. However, I've got it compiling problem
free and working properly as well (minor problem in access.c). Conserver
7.1.4 is now working properly on HP-UX 11i for me. If anyone needs/wants
the patch before it's merged, please let me know.
Many thanks to Bryan for all of his work on Conserver.
Adam.

****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.