pkgsrc-Bugs archive

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

RE: pkg/38240: pkgtools/pkg_install-20080313 fails to compile - missing getopt?



The following reply was made to PR pkg/38240; it has been noted by GNATS.

From: Rob Q <sd4dfg2%hotmail.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: RE: pkg/38240: pkgtools/pkg_install-20080313 fails to compile -
 missing getopt?
Date: Wed, 19 Mar 2008 11:22:51 -0400

  I have the same problems on Solaris:
 
 gcc -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=
 =3D64 -DDEF_UMASK=3D022 -I/usr/obj/pkg/pkgtools/pkg_install/work/libarchive=
 /libarchive -DHAVE_NBCOMPAT_H=3D1 -I/usr/obj/pkg/pkgtools/pkg_install/work/=
 libnbcompat -I. -I. -I../lib  -DSYSCONFDIR=3D\"/usr/pkg/etc\" -O -mv8 -pipe=
  -c audit.c
 audit.c: In function `parse_options':
 audit.c:85: error: `optreset' undeclared (first use in this function)
 audit.c:85: error: (Each undeclared identifier is reported only once
 audit.c:85: error: for each function it appears in.)
 audit.c: In function `fetch_pkg_vulnerabilities':
 audit.c:408: error: `O_WRONLY' undeclared (first use in this function)
 audit.c:408: error: `O_CREAT' undeclared (first use in this function)
 audit.c:408: error: `O_TRUNC' undeclared (first use in this function)
 *** Error code 1
 
 
 _________________________________________________________________
 Helping your favorite cause is as easy as instant messaging.=A0You IM, we g=
 ive.
 http://im.live.com/Messenger/IM/Home/?source=3Dtext_hotmail_join=
 


Home | Main Index | Thread Index | Old Index