Well, I found the bug.

I added #include <stdio.h> and #include <sys/types.h> and it compiles
nicely, as it was used to with libc5.

I'm fairly new to glibc, is someone aware of similar bugs?

Jean-Michel Dault
[EMAIL PROTECTED]


On Thu, 25 Mar 1999, Jean-Michel Dault wrote:

> Date: Thu, 25 Mar 1999 12:35:56 -0500 (EST)
> From: Jean-Michel Dault <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: HELP! `stdout` undeclared? in usermode-1.4.3.src.rpm 
> 
> 
> Hello all,
> 
> I am currently trying to recompile some packages that were broken after
> upgrading to [glib+gtk]1.2
> 
> I recompiled x11amp, gnome-linuxconf, gecko, usernet, etc.. but I can't
> figure out what's wrong with usermode and control-panel. (I'll put them on
> linux-mandrake/incoming as soon as I get them to compile).
> 
> See the output below....
> 
> stderr undeclared? I must have a bug in my include files!
> 
> Any clues?
> 
> Jean-Michel Dault
> [EMAIL PROTECTED]
> 
> userhelper-wrap.c: In function `userhelper_run_passwd':
> userhelper-wrap.c:34: `pid_t' undeclared (first use this function)
> userhelper-wrap.c:34: (Each undeclared identifier is reported only once
> userhelper-wrap.c:34: for each function it appears in.)
> userhelper-wrap.c:34: parse error before `pid'
> userhelper-wrap.c:40: warning: implicit declaration of function `fprintf'
> userhelper-wrap.c:40: `stderr' undeclared (first use this function)
> userhelper-wrap.c:44: `pid' undeclared (first use this function)
> userhelper-wrap.c:78: warning: implicit declaration of function `setbuf'
> userhelper-wrap.c:78: `stdout' undeclared (first use this function)
> userhelper-wrap.c: In function `userhelper_run_chfn':
> userhelper-wrap.c:94: `pid_t' undeclared (first use this function)
> userhelper-wrap.c:94: parse error before `pid'
> userhelper-wrap.c:101: `stderr' undeclared (first use this function)
> userhelper-wrap.c:105: `pid' undeclared (first use this function)
> userhelper-wrap.c:139: `stdout' undeclared (first use this function)
> userhelper-wrap.c: In function `userhelper_parse_childout':
> userhelper-wrap.c:240: warning: implicit declaration of function `atoi'
> userhelper-wrap.c: In function `userhelper_read_childout':
> userhelper-wrap.c:315: warning: implicit declaration of function `malloc'
> userhelper-wrap.c:315: warning: assignment makes pointer from integer
> without a cast
> userhelper-wrap.c: In function `userhelper_sigchld':
> userhelper-wrap.c:345: `pid_t' undeclared (first use this function)
> userhelper-wrap.c:345: parse error before `pid'
> userhelper-wrap.c:350: `pid' undeclared (first use this function)
> make: *** [userhelper-wrap.o] Error 1                                
> 
> 

Reply via email to