pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc QNX 6.4.0/i386 2008-11-16 09:24



On Tue, 2 Dec 2008 13:15:29 -0500
Sean Boudreau <seanb%qnx.com@localhost> wrote:
> > > 
> > > Thanks.  I see the issue now.
> > > 
> > > generate.c: In function 'main':
> > > generate.c:1223: warning: implicit declaration of function 'getlogin'
> > > generate.c:1223: warning: assignment makes pointer from integer without
> > > a cast
> > > generate.c:1235: warning: implicit declaration of function 'getpid'
> > > generate.c:1303: warning: implicit declaration of function 'stat'
> > > gmake: *** [generate.o] Error 1
> > / 
> > > Any idea what file(s) I need to include on QNX to fix this?
> > 
> > getlogin() and getpid() should be brought in by <unistd.h>, stat()
> > by <sys/stat.h>.  Which package are you looking at in particular?
> 
> devel/generate
> 
> The issue on QNX is 'cc -ansi'.  This doesn't bring in the above
> which are marked as __EXT_POSIX1_198808 on QNX.

Can someone on QNX please make this work and send me diffs.  Diffs to
the downloaded package are fine since it is my project anyway and I can
fix it either way as long as it is portable.  If possible I would like
to get this before the freeze so that I can get it working on all
platforms.

Thanks.

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/


Home | Main Index | Thread Index | Old Index