Hello
i'm trying to compile openpkg (openpkg-2.2.2-2.2.2.src.sh) on hpux11 but it fails on gzip make:
source='rpmatch.c' object='rpmatch.o' libtool=no \
depfile='.deps/rpmatch.Po' tmpdepfile='.deps/rpmatch.TPo' \
depmode=hp /bin/sh ./depcomp \
/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -c `test -f
'rpmatch.c' || echo './'`rpmatch.c
(Bundled) cc: "rpmatch.c", line 67: error 1705: Function prototypes are
an ANSI feature.
*** Error exit code 1Stop. *** Error exit code 1
Stop. + exit 1 + exit 1 ./openpkg.boot:ERROR: script returned non-null value
# uname -a HP-UX xxx B.11.00 E 9000/819 85601392 X-user license
has someone any advice ? is there a hp bundle with an ansi compiler ? or is it possible to handle this without root ?
i try an extra CFLAGS=-Ae in gzip makefile, but it seems default compiler doesn't support this option.
http://www-306.ibm.com/software/data/informix/pubs/library/notes/machnote/mn_hp64_831fd1.html
/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -Ae -c `test -f 'rpmatch.c' || echo './'`rpmatch.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "rpmatch.c", line 67: error 1705: Function prototypes are an ANSI feature.
thanks Regards
Julien ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [email protected]
