Re: compiling pen on HP-UX11

From: Ulric Eriksson (ulric@siag.nu)
Date: Wed Mar 10 2004 - 16:24:46 CET


On Wed, 10 Mar 2004, WILHARD SPECK wrote:

> Hi,
>
> is there anybody with experience with pen on HP-UX?
>
> I start make, an get this error:
> ---------------------------------
> ...
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -g -c `test -f
> penlogd.c || echo './'`penlogd.c
> cc -g -s -o penlogd penlogd.o -lnsl
> cc: warning 401: -s and -g are mutually exclusive, -s ignored.
> /usr/ccs/bin/ld: Unsatisfied symbols:
> setlinebuf (first referenced in penlogd.o) (code)
> *** Error exit code 1
> ---------------------------------------------
>
> On my linux server is a "setlinebuf" definition in stdio.h, but not on
> HP-UX 11.11.
> We use the HP C-compiler, is this a special GNU-C feature ?

Yes. Well, at least it's not Posix. Replaced it with setvbuf in 0.12.2.

Ulric



This archive was generated by hypermail 2.1.2 : Wed Mar 10 2004 - 16:24:57 CET