Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Compiling HylaFax 4.1beta2 w/ gcc 2.8.1, tiff 3.5.33
Hello.
HylaFax 4.1beta2
gcc 2.8.1 with libg++ 2.8.1.1a
TIFF 3.5.33
SunOS 5.6 (aka Solaris 2.6)
SparcStation 20 w/ dual processor
I've been battling this compile problem for a while now and I think I'm
stuck. I was finally able to overcome the TIFF version check problem (with
my limited knowledge of scripts) and have successfully completed the
"configure" process.
The problem now is I'm getting a compile error when I do a "make". An
excerpt of the screen is shown below.
Another thing I noticed was that some of the test programs during the
"configure" process had errors which was shown in the config.log file also.
I'm not sure what the problem is. Is the __ANSI_CPP__ compilation
environment the problem? Is there a way to put -DSYSV somewhere or is this
necessary?
Any input would be greatly appreciated.
Thanks.
Lenon
--------- Errors from Screen ------------
make[1]: Entering directory `/data2/temp/hylafax-4.1beta2'
= port
make[2]: Entering directory `/data2/temp/hylafax-4.1beta2/port'
make[3]: Entering directory `/data2/temp/hylafax-4.1beta2/port'
make[4]: Entering directory `/data2/temp/hylafax-4.1beta2/port'
/usr/5bin/ksh ../port/mkdepend -e 's@ /usr/include/@ /@' -c
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././port
-I.././util -I/usr/local/include -g -O -c -M -i Makedepend flock.c syslog.c
make[4]: Leaving directory `/data2/temp/hylafax-4.1beta2/port'
make[3]: Leaving directory `/data2/temp/hylafax-4.1beta2/port'
make[3]: Entering directory `/data2/temp/hylafax-4.1beta2/port'
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I.. -I.././regex
-I.././port -I.././util -I/usr/local/include -g -O -c -o flock.o flock.c
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I.. -I.././regex
-I.././port -I.././util -I/usr/local/include -g -O -c -o syslog.o
syslog.c
syslog.c: In function `vsyslog':
syslog.c:109: `LOG_PERROR' undeclared (first use in this function)
syslog.c:109: (Each undeclared identifier is reported only once
syslog.c:109: for each function it appears in.)
make[3]: *** [syslog.o] Error 1
make[3]: Leaving directory `/data2/temp/hylafax-4.1beta2/port'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/data2/temp/hylafax-4.1beta2/port'
make[1]: *** [dirs] Error 2
make[1]: Leaving directory `/data2/temp/hylafax-4.1beta2'
make: *** [default] Error 2
---------- Errors from config.log -----------
usr/local/bin/g++ -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c++
+ cat t.c
int t() { iopen(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c -limage
ld: fatal: library -limage: not found
ld: fatal: File processing errors. No output written to a.out
make: *** [t] Error 1
int t() { socket(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c -lc
Undefined first referenced
symbol in file
socket /var/tmp/cc_RJ2V_1.o
ld: fatal: Symbol referencing errors. No output written to a.out
make: *** [t] Error 1
int t() { logwtmp(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c -lutil
ld: fatal: library -lutil: not found
ld: fatal: File processing errors. No output written to a.out
make: *** [t] Error 1
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c -lc
Undefined first referenced
symbol in file
flock /var/tmp/cchgcy0_1.o
ld: fatal: Symbol referencing errors. No output written to a.out
make: *** [t] Error 1
+ cat t.c
int t() { flock(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -O t.c -lbsd
ld: fatal: library -lbsd: not found
ld: fatal: File processing errors. No output written to a.out
make: *** [t] Error 1
+ make -f confMakefile t
/usr/local/bin/g++ -ansi -D__ANSI_CPP__ -I. -I. -I././regex -I.
-I././util
-I/usr/local/include -g -pedantic-errors -O -c t.c++
t.c++: In function `void f()':
t.c++:5: aggregate `struct sigvec sv' has incomplete type and cannot be
initiali
zed
t.c++:6: `sig_t' undeclared (first use this function)
t.c++:6: (Each undeclared identifier is reported only once
t.c++:6: for each function it appears in.)
t.c++:7: confused by earlier errors, bailing out
make: *** [t] Error 1
...so on and so forth...