|
From: Gansser, M. <MGa...@ra...> - 2002-10-21 13:23:48
|
Hi,
I tried to compile cdrdao-1.1.7 on hpux 11.00, but it fails with:
this is my buildscript:
#!/bin/csh -f
#
gmake clean
setenv LDFLAGS "-L/usr/lib -lpthread -lrt"
./configure --prefix=3D/opt/cdrdao \
--with-scglib-inc=3D/opt/cdrtools/include \
--with-scglib-lib=3D/opt/cdrtools/lib
gmake
# gmake install
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...=20
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/local/bin/install -c
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for getopt.h... no
checking for malloc.h... yes
checking for unistd.h... yes
checking for sys/mman.h... yes
checking for sched.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... (cached) yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for sched_getparam... yes
checking for sched_get_priority_max... yes
checking for sched_setscheduler... yes
checking for socket in -lsocket... no
checking for connect in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for inet_addr in -lnsl... yes
checking for inet_ntoa in -lnsl... yes
checking for strerror... yes
checking for mlockall... yes
checking for munlockall... yes
checking for seteuid... no
checking for setegid... no
checking for getpagesize... yes
checking for usleep... yes
checking for inet_aton... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lpthread32... no
checking for pthread_create in -lc_r... no
checking for Lame library version >=3D 3.92... no
checking for gtkmm-config... no
checking for GTK-- - version >=3D 1.2.9... no
*** The gtkmm-config script installed by GTK-- could not be found
*** If GTK-- was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTKMM_CONFIG environment variable to the
*** full path to gtkmm-config.
*** The gtkmm-config script was not available in GTK-- versions
*** prior to 0.9.12. Perhaps you need to update your installed
*** version to 0.9.12 or later
Disabled building of xcdrdao.
configure: creating ./config.status
config.status: creating trackdb/Makefile
config.status: creating dao/Makefile
config.status: creating utils/Makefile
config.status: creating xdao/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: configuring in paranoia
configure: running /bin/sh './configure' --prefix=3D/opt/cdrdao =
--with-scglib-inc=3D/opt/cdrtools/include =
--with-scglib-lib=3D/opt/cdrtools/lib 'LDFLAGS=3D-L/usr/lib -lpthread =
-lrt' --cache-file=3D/dev/null --srcdir=3D.
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...=20
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking whether make sets ${MAKE}... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for int16_t... yes
checking for int32_t... yes
checking for u_int16_t... no
checking for u_int32_t... no
configure: creating ./config.status
config.status: creating Makefile
for d in pccts trackdb paranoia dao utils ; do \
gmake -C $d all || exit 1 ; \
done
gmake[1]: Entering directory `/users/mgansser/GNU/cdrdao-1.1.7/pccts'
=20
Welcome to PCCTS 1.33MR32 installation
=20
(Version 1.33 Maintenance Release #32)
=20
Released 3 March 2002
=20
Featuring
ANTLR -- ANother Tool for Language Recognition
DLG -- DFA-based Lexical Analyzer Generator
SORCERER -- Source-to-source translator (tree walker)
=20
http://www.antlr.org
=20
Trouble reports to tm...@po...
Additional PCCTS 1.33 information at
http://www.polhode.com
To substitute gcc for CC to invoke compiler: make CC=3Dgcc
If there are problems with cr and lf try: unzip -a ...
Making executables...
(cd ./antlr; gmake CC=3D"gcc" COPT=3D"-O2")
gmake[2]: Entering directory =
`/users/mgansser/GNU/cdrdao-1.1.7/pccts/antlr'
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
antlr.c -o antlr.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
scan.c -o scan.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
err.c -o err.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
bits.c -o bits.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
build.c -o build.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
fset2.c -o fset2.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
fset.c -o fset.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
gen.c -o gen.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
globals.c -o globals.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
hash.c -o hash.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
lex.c -o lex.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
main.c -o main.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
misc.c -o misc.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
-o set.o ../support/set/set.c
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
pred.c -o pred.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
egman.c -o egman.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
mrhoist.c -o mrhoist.o
gcc -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 -c =
fcache.c -o fcache.o
gcc -o ../bin/antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o =
gen.o globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o =
mrhoist.o fcache.o
gmake[2]: Leaving directory =
`/users/mgansser/GNU/cdrdao-1.1.7/pccts/antlr'
antlr executable now in /usr/local/bin
(cd ./dlg; gmake CC=3D"gcc" COPT=3D"-O2")
gmake[2]: Entering directory =
`/users/mgansser/GNU/cdrdao-1.1.7/pccts/dlg'
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c dlg_p.c
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c dlg_a.c
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c main.c
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c err.c -o err.o
gcc -c -O2 -I. -I../support/set -I../h -DUSER_ZZSYN =
-DZZLEXBUFSIZE=3D32000 ../support/set/set.c
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c support.c -o support.o
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c output.c -o output.o
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c relabel.c -o relabel.o
gcc -O2 -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=3D32000 =
-c automata.c -o automata.o
gcc -o ../bin/dlg dlg_p.o dlg_a.o main.o err.o set.o support.o output.o =
relabel.o automata.o
gmake[2]: Leaving directory `/users/mgansser/GNU/cdrdao-1.1.7/pccts/dlg'
dlg executable now in /usr/local/bin
PCCTS 1.33MR32 installation complete
gmake[1]: Leaving directory `/users/mgansser/GNU/cdrdao-1.1.7/pccts'
gmake[1]: Entering directory `/users/mgansser/GNU/cdrdao-1.1.7/trackdb'
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c util.cc -o =
util.o
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c TrackData.cc -o =
TrackData.o
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c TrackDataList.cc =
-o TrackDataList.o
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c Msf.cc -o Msf.o
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c SubTrack.cc -o =
SubTrack.o
g++ -DHAVE_CONFIG_H -I.. -I. -I./../pccts/h -g -O2 -c Track.cc -o =
Track.o
In file included from Track.cc:31:
lec.h:34: `u_int32_t' was not declared in this scope
lec.h:34: parse error before `,' token
lec.h:41: `u_int32_t' was not declared in this scope
lec.h:41: parse error before `,' token
lec.h:48: `u_int32_t' was not declared in this scope
lec.h:48: parse error before `,' token
lec.h:55: `u_int32_t' was not declared in this scope
lec.h:55: parse error before `,' token
lec.h:62: `u_int32_t' was not declared in this scope
lec.h:62: parse error before `,' token
lec.h:67: `u_int8_t' was not declared in this scope
lec.h:67: `sector' was not declared in this scope
lec.h:67: variable or field `lec_scramble' declared void
Track.cc: In static member function `static void =
Track::encodeZeroData(int,=20
TrackData::Mode, TrackData::SubChannelMode, long int, unsigned =
char*)':
Track.cc:1293: `lec_scramble' cannot be used as a function
Track.cc:1297: `u_int8_t' undeclared (first use this function)
Track.cc:1297: (Each undeclared identifier is reported only once for =
each=20
function it appears in.)
Track.cc:1297: parse error before `)' token
Track.cc:1298: `lec_scramble' cannot be used as a function
Track.cc:1302: parse error before `)' token
Track.cc:1303: `lec_scramble' cannot be used as a function
Track.cc:1307: parse error before `)' token
Track.cc:1308: `lec_scramble' cannot be used as a function
Track.cc:1314: parse error before `)' token
Track.cc:1315: `lec_scramble' cannot be used as a function
Track.cc: In member function `int TrackReader::readBlock(int, int, long =
int,=20
Sample*)':
Track.cc:1637: `lec_scramble' cannot be used as a function
Track.cc:1641: `lec_scramble' cannot be used as a function
Track.cc:1654: `lec_scramble' cannot be used as a function
Track.cc:1659: `lec_scramble' cannot be used as a function
Track.cc:1663: `lec_scramble' cannot be used as a function
Track.cc:1667: `lec_scramble' cannot be used as a function
Track.cc:1675: `lec_scramble' cannot be used as a function
Track.cc:1687: `lec_scramble' cannot be used as a function
gmake[1]: *** [Track.o] Error 1
gmake[1]: Leaving directory `/users/mgansser/GNU/cdrdao-1.1.7/trackdb'
gmake: *** [all] Error 1
mzfem_root:/users/mgansser/GNU/cdrdao-1.1.7 #=20
any help ?
thanks Martin
|