[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Glimpse 4.13.1 compile issue on Solaris 2.7
Has anyone been able to compile Glimpse 4.13.1 on Solaris 7.
After using the configure script in a shadow source tree, I get the
following error messages on the compile.
The error seems to be the libtemplate/util/sterror.c file.
webops01% make
cd libtemplate ; make
make[1]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate'
Making all in util
make[2]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/util'
gcc -c -O -I../../../libtemplate/util/../include
../../../libtemplate/util/strerror.c
../../../libtemplate/util/strerror.c: In function `strerror':
../../../libtemplate/util/strerror.c:62: `sys_nerr' undeclared (first use in
this function)
../../../libtemplate/util/strerror.c:62: (Each undeclared identifier is
reported only once
../../../libtemplate/util/strerror.c:62: for each function it appears in.)
../../../libtemplate/util/strerror.c:64: `sys_errlist' undeclared (first use
in this function)
make[2]: *** [strerror.o] Error 1
make[2]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/util'
Making all in template
make[2]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/template'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/template'
make[1]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate'
cd index ; make
make[1]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/index'
cd ../libtemplate ; make
make[2]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate'
Making all in util
make[3]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/util'
gcc -c -O -I../../../libtemplate/util/../include
../../../libtemplate/util/strerror.c
../../../libtemplate/util/strerror.c: In function `strerror':
../../../libtemplate/util/strerror.c:62: `sys_nerr' undeclared (first use in
this function)
../../../libtemplate/util/strerror.c:62: (Each undeclared identifier is
reported only once
../../../libtemplate/util/strerror.c:62: for each function it appears in.)
../../../libtemplate/util/strerror.c:64: `sys_errlist' undeclared (first use
in this function)
make[3]: *** [strerror.o] Error 1
make[3]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/util'
Making all in template
make[3]: Entering directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/template'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate/template'
make[2]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/libtemplate'
gcc -g -O2 -O -DSTRUCTURED_QUERIES=1 -L../agrep -L../libtemplate/template
-L../libtemplate/util -L../compress -o buildcast buildcast.o region.o dir.o
io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o
partition.o -lagrep -ltemplate -lutil
ld: fatal: library -lutil: not found
ld: fatal: File processing errors. No output written to buildcast
collect2: ld returned 1 exit status
make[1]: *** [buildcast] Error 1
make[1]: Leaving directory
`/export/src/build/glimpse-4.13.1/H-sun4-sunos5.7-P/index'
make: *** [glimpseindex] Error 2
The only differnece between the stderror.c file are this
webops01% diff /export/src/build/glimpse-1.12.6/libtemplate/util/strerror.c
/export/src/build/glimpse-4.13.1/libtemplate/util/strerror.c
1c1
< static char rcsid[] = "$Id: strerror.c,v 1.1 1999/05/05 08:38:58 gvelez
Exp $";
---
> static char rcsid[] = "$Id: strerror.c,v 1.2 1999/11/19 08:11:49 golda Exp
$";62,64d61
< extern int sys_nerr;
< extern char *sys_errlist[];
<
Where are sys_nerr and sys_errlist define?
Thanks
-E
----------------------------------------------------------------------------
----
Eric D. Lopez elopez@netcentives.com
Manager of UNIX Infrastructure Operations Phone: 415-538-1888
Netcentives, Inc. Cell: 415-740-1732
475 Brannan Street San Francisco, CA 94107 Fax: 415-538-1889
config.log