building 2.4.4p1 under Solaris 9 with native-built gcc-3.3
2003-07-27 12:53:28
Hi,
This might not be directly related to Amanda, but I've tried to build
the 2.4.4p1 source package using a natively-built gcc-3.3 installation
under Solaris 9 and it's failing at the same point each time I try
building from scratch using my regular Amanda source configuration script:
---- start ----
source='genversion.c' object='genversion.o' libtool=no \
depfile='.deps/genversion.Po' tmpdepfile='.deps/genversion.TPo' \
depmode=gcc3 /bin/bash ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-c `test -f 'genversion.c' || echo './'`genversion.c
/bin/bash ../libtool --mode=link gcc -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -L/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib
-R/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib -o genversion genversion.o
alloc.o clock.o debug.o error.o util.o file.o versuff.o -lgen -ldb -ldb -lm
-lreadline -ltermcap -lsocket -lnsl -lintl
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -o genversion
genversion.o alloc.o clock.o debug.o error.o util.o file.o versuff.o
-L/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib -lgen -ldb -lm -lreadline
-ltermcap -lsocket -lnsl -lintl -R/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib
rm -f version.c
./genversion > version.c
ld.so.1: ./genversion: fatal: libgcc_s.so.1: open failed: No such file or
directory
gmake[1]: *** [version.c] Error 137
gmake[1]: Leaving directory `/home/azwan/amanda-2.4.4p1/common-src'
gmake: *** [all-recursive] Error 1
---- stop ----
Is this something wrong in the Amanda source, or a more generic problem
relating to gcc? The library in question exists in /usr/local/lib and
/usr/local/lib/sparcv9, so could there be something wrong with the
genversion source? I don't use LD_LIBRARY_PATH but instead pass -L and R
linker flags to the compiler via the LDFLAGS environment variable (which I
standardise for all software I compile).
Craig.
--
Email by Craig Dewick (tm). Home page at "lios.apana.org.au/~cdewick".
"cdewick AT spam.lios.apana.org DOT au" or "cdewick AT spam.sunshack
DOT org".
Explore and enjoy my public-domain Sun Microsystems technical data archive at
"www.sunshack.org", "www.sunshack.net" or "www.sunshack.info".
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- building 2.4.4p1 under Solaris 9 with native-built gcc-3.3,
Craig Dewick <=
|
|
|