Subject: OS X Bootstrap fails in ftp.c
To: None <>
From: Louis Guillaume <>
List: tech-pkg
Date: 10/16/2003 00:39:35
Hi everyone.

I haven't tried to bootstrap pkgsrc on OS X for a while. Here's what I 
get with the latest cvs checkout (earlier tonight)...

gcc -I. -I./.. -I. -I..  -I./../libnetbsd -g -O2   -c -o ftp.o ftp.c
ftp.c: In function `empty':
ftp.c:557: storage size of `pfd' isn't known
ftp.c:561: `POLLIN' undeclared (first use in this function)
ftp.c:561: (Each undeclared identifier is reported only once
ftp.c:561: for each function it appears in.)
make[1]: *** [ftp.o] Error 1
make: *** [ftp] Error 2
===> exited with status 2

... Unfortunately, I don' t know how to add "libnbcompat/poll.h" to the 
library path in this scheme. How or where should that be done?

Any help would be fantastic, Thanks,