pkgsrc-Bugs archive

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

libgetopt-1.4.1 on AIX 5.2



Hi,

I tried to build libgetopt-1.4.1 on AIX 5.2

===> Building for libgetopt-1.4.1
cd /vhuge/os/pkgsrc/devel/libgetopt/work/libgetopt && libtool --mode=compile cc 
-O   -c getopt_long.c
 cc -O -c getopt_long.c  -DPIC -o .libs/getopt_long.o
getopt_long.c: In function `getopt_internal':
getopt_long.c:204: error: `optreset' undeclared (first use in this function)
getopt_long.c:204: error: (Each undeclared identifier is reported only once
getopt_long.c:204: error: for each function it appears in.)
getopt_long.c: In function `getopt_long':
getopt_long.c:408: error: invalid use of undefined type `struct option'
getopt_long.c:408: error: dereferencing pointer to incomplete type
getopt_long.c:410: error: invalid use of undefined type `struct option'
getopt_long.c:410: error: dereferencing pointer to incomplete type
getopt_long.c:414: error: invalid use of undefined type `struct option'
getopt_long.c:414: error: dereferencing pointer to incomplete type
getopt_long.c:432: error: invalid use of undefined type `struct option'
getopt_long.c:432: error: dereferencing pointer to incomplete type
getopt_long.c:433: error: `no_argument' undeclared (first use in this function)
getopt_long.c:441: error: invalid use of undefined type `struct option'
getopt_long.c:441: error: dereferencing pointer to incomplete type
getopt_long.c:442: error: invalid use of undefined type `struct option'
getopt_long.c:442: error: dereferencing pointer to incomplete type
getopt_long.c:448: error: invalid use of undefined type `struct option'
getopt_long.c:448: error: dereferencing pointer to incomplete type
getopt_long.c:448: error: `required_argument' undeclared (first use in this 
function)
getopt_long.c:449: error: invalid use of undefined type `struct option'
getopt_long.c:449: error: dereferencing pointer to incomplete type
getopt_long.c:449: error: `optional_argument' undeclared (first use in this 
function)
getopt_long.c:452: error: invalid use of undefined type `struct option'
getopt_long.c:452: error: dereferencing pointer to incomplete type
getopt_long.c:461: error: invalid use of undefined type `struct option'
getopt_long.c:461: error: dereferencing pointer to incomplete type
getopt_long.c:473: error: invalid use of undefined type `struct option'
getopt_long.c:473: error: dereferencing pointer to incomplete type
getopt_long.c:474: error: invalid use of undefined type `struct option'
getopt_long.c:474: error: dereferencing pointer to incomplete type
getopt_long.c:487: error: invalid use of undefined type `struct option'
getopt_long.c:487: error: dereferencing pointer to incomplete type
getopt_long.c:488: error: invalid use of undefined type `struct option'
getopt_long.c:488: error: dereferencing pointer to incomplete type
getopt_long.c:488: error: invalid use of undefined type `struct option'
getopt_long.c:488: error: dereferencing pointer to incomplete type
getopt_long.c:491: error: invalid use of undefined type `struct option'
getopt_long.c:491: error: dereferencing pointer to incomplete type
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libgetopt

Thanx

Markus




Home | Main Index | Thread Index | Old Index