Hi,

Version 3.7.9
gcc 4.6.2
Sparc-Solaris 2.10

I am trying, to compile with --enable-shared.
See attached the output of the configure and gmake.

In the .libs directory, i see that the sqlite3.o is larger than 1 MB...
Might that be the problem? Is it a problem, to build a usable shared
library, that includes an objectfile larger than 1 MB?

When i build with --enable-static, it all works fine. The sqlite3.o is
then slight smaller than 1 MB.

I will use the static version for now...


-- 
mit freundlichen Gruessen / with friendly regards
Michael Buchholz  michael.buchh...@de.verizonbusiness.com   MSAS Support
Verizon Business  Sebrathweg 20  44149 Dortmund  Germany   Vnet: 3171192
Tel: +492319721192     Fax: +492319722508     Home-Office: +492319479858



Verizon Deutschland GmbH - Sebrathweg 20, 44149 Dortmund, Germany - Amtsgericht 
Dortmund, HRB 14952 - Geschäftsführer: Detlef Eppig - Vorsitzender des 
Aufsichtsrats: Dominique Gaillard

checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... /prod/build/mbuchhol/gcc-4.6.2/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /prod/build/mbuchhol/gcc-4.6.2/bin/gcc accepts -g... yes
checking for /prod/build/mbuchhol/gcc-4.6.2/bin/gcc option to accept ISO C89... 
none needed
checking dependency style of /prod/build/mbuchhol/gcc-4.6.2/bin/gcc... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) /prod/build/mbuchhol/gcc-4.6.2/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /prod/build/mbuchhol/gcc-4.6.2/bin/gcc accepts -g... (cached) 
yes
checking for /prod/build/mbuchhol/gcc-4.6.2/bin/gcc option to accept ISO C89... 
(cached) none needed
checking dependency style of /prod/build/mbuchhol/gcc-4.6.2/bin/gcc... (cached) 
gcc3
checking for ranlib... ranlib
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /usr/5bin/sed
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ld used by /prod/build/mbuchhol/gcc-4.6.2/bin/gcc... 
/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld
checking if the linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) is GNU ld... yes
checking for /prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld option 
to reload object files... -r
checking for BSD-compatible nm... /prod/build/mbuchhol/gcc-4.6.2/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... 
/prod/build/mbuchhol/gcc-4.6.2/bin/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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /prod/build/mbuchhol/gcc-4.6.2/bin/nm -B output from 
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if /prod/build/mbuchhol/gcc-4.6.2/bin/gcc supports -fno-rtti 
-fno-exceptions... no
checking for /prod/build/mbuchhol/gcc-4.6.2/bin/gcc option to produce PIC... 
-fPIC
checking if /prod/build/mbuchhol/gcc-4.6.2/bin/gcc PIC flag -fPIC works... yes
checking if /prod/build/mbuchhol/gcc-4.6.2/bin/gcc static flag -static works... 
no
checking if /prod/build/mbuchhol/gcc-4.6.2/bin/gcc supports -c -o file.o... yes
checking whether the /prod/build/mbuchhol/gcc-4.6.2/bin/gcc linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... 
/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld
checking if the linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) is GNU ld... yes
checking whether the g++ linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 static flag -static works... no
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker 
(/prod/build/mbuchhol/gcc-4.6.2/sparc-sun-solaris2.10/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... f90: Warning: Option 
-print-search-dirs passed to ld, if ld is invoked, ignored otherwise
Usage: f90 [ options ] files.  Use 'f90 -flags' for details
solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for fdatasync... no
checking for usleep... yes
checking for fullfsync... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for library containing tgetent... -lcurses
checking for library containing readline... -lreadline
checking for readline... yes
checking for library containing pthread_create... none required
checking for library containing dlopen... none required
checking for whether to support dynamic extensions... yes
checking for posix_fallocate... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: executing depfiles commands
/bin/bash ./libtool --tag=CC   --mode=compile 
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -DPACKAGE_NAME=\"sqlite\" 
-DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.9\" 
-DPACKAGE_STRING=\"sqlite\ 3.7.9\" 
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE_URL=\"\" 
-DPACKAGE=\"sqlite\" -DVERSION=\"3.7.9\" -D_FILE_OFFSET_BITS=64 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USLEEP=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 
-DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -I.@am__isrc@    -D_REENTRANT=1 
-DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include -MT sqlite3.lo -MD -MP -MF 
.deps/sqlite3.Tpo -c -o sqlite3.lo sqlite3.c
mkdir .libs
 /prod/build/mbuchhol/gcc-4.6.2/bin/gcc -DPACKAGE_NAME=\"sqlite\" 
-DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.9\" 
"-DPACKAGE_STRING=\"sqlite 3.7.9\"" 
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE_URL=\"\" 
-DPACKAGE=\"sqlite\" -DVERSION=\"3.7.9\" -D_FILE_OFFSET_BITS=64 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USLEEP=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 
-DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -I.@am__isrc@ -D_REENTRANT=1 
-DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include -MT sqlite3.lo -MD -MP -MF 
.deps/sqlite3.Tpo -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
mv -f .deps/sqlite3.Tpo .deps/sqlite3.Plo
/bin/bash ./libtool --tag=CC   --mode=link 
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include -no-undefined -version-info 8:6:8 
 -o libsqlite3.la -rpath /prod/dial-tac-sol10/lib sqlite3.lo  
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -shared  .libs/sqlite3.o   -Wl,-soname 
-Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
(cd .libs && rm -f libsqlite3.so.0 && ln -s libsqlite3.so.0.8.6 libsqlite3.so.0)
(cd .libs && rm -f libsqlite3.so && ln -s libsqlite3.so.0.8.6 libsqlite3.so)
creating libsqlite3.la
(cd .libs && rm -f libsqlite3.la && ln -s ../libsqlite3.la libsqlite3.la)
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -DPACKAGE_NAME=\"sqlite\" 
-DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.9\" 
-DPACKAGE_STRING=\"sqlite\ 3.7.9\" 
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE_URL=\"\" 
-DPACKAGE=\"sqlite\" -DVERSION=\"3.7.9\" -D_FILE_OFFSET_BITS=64 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USLEEP=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 
-DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -I.@am__isrc@    -D_REENTRANT=1 
-DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include -MT shell.o -MD -MP -MF 
.deps/shell.Tpo -c -o shell.o shell.c
mv -f .deps/shell.Tpo .deps/shell.Po
/bin/bash ./libtool --tag=CC   --mode=link 
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include   -o sqlite3 shell.o 
./libsqlite3.la -lreadline -lcurses  
/prod/build/mbuchhol/gcc-4.6.2/bin/gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 
-I/prod/build/mbuchhol/dial-tac-sol10/include -o .libs/sqlite3 shell.o  
./.libs/libsqlite3.so -lreadline -lcurses  -Wl,--rpath 
-Wl,/prod/dial-tac-sol10/lib
/prod/build/mbuchhol/gcc-4.6.2/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../sparc-sun-solaris2.10/bin/ld:
 ./.libs/libsqlite3.so: dlsym: invalid version 8 (max 0)
./.libs/libsqlite3.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
gmake: *** [sqlite3] Error 1
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to