[#5126] Build sqlite fails at trunk for dlfcn.h when built as FLAT
Submitted By: Vivi Li
Open Date
2009-05-14 06:29:45 Close Date
2009-05-15 02:01:43
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1_rc6
App binary format:
N/A
Summary: Build sqlite fails at trunk for dlfcn.h when built as FLAT
Details:
Build sqlite fails at trunk for dlfcn.h.
Bellow is the log and config file is attached.
--
bfin-uclinux-gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.6.14\" -DPACKAGE_STRING=\"sqlite\ 3.6.14\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.6.14\" -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_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -I. -I../sqlite-3.6.14 -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf537-0.2 -DSQLITE_THREADSAFE=1 -pipe -Wall -g -O2 -mcpu=bf537-0.2 -c ../sqlite-3.6.14/shell.c^M
bfin-uclinux-gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.6.14\" "-DPACKAGE_STRING=\"sqlite 3.6.14\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.6.14\" -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_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -I. -I../sqlite-3.6.14 -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf537-0.2 -DSQLITE_THREADSAFE=1 -pipe -Wall -g -O2 -mcpu=bf537-0.2 -c ../sqlite-3.6.14/sqlite3.c -o sqlite3.o^M
../sqlite-3.6.14/sqlite3.c:24771:19: error: dlfcn.h: No such file or directory^M
../sqlite-3.6.14/sqlite3.c: In function 'unixDlOpen':^M
../sqlite-3.6.14/sqlite3.c:24774: warning: implicit declaration of function 'dlopen'^M
../sqlite-3.6.14/sqlite3.c:24774: error: 'RTLD_NOW' undeclared (first use in this function)^M
../sqlite-3.6.14/sqlite3.c:24774: error: (Each undeclared identifier is reported only once^M
../sqlite-3.6.14/sqlite3.c:24774: error: for each function it appears in.)^M
../sqlite-3.6.14/sqlite3.c:24774: error: 'RTLD_GLOBAL' undeclared (first use in this function)^M
../sqlite-3.6.14/sqlite3.c:24774: warning: return makes pointer from integer without a cast^M
../sqlite-3.6.14/sqlite3.c: In function 'unixDlError':^M
../sqlite-3.6.14/sqlite3.c:24788: warning: implicit declaration of function 'dlerror'^M
../sqlite-3.6.14/sqlite3.c:24788: warning: assignment makes pointer from integer without a cast^M
../sqlite-3.6.14/sqlite3.c: In function 'unixDlSym':^M
../sqlite-3.6.14/sqlite3.c:24814: error: 'dlsym' undeclared (first use in this function)^M
../sqlite-3.6.14/sqlite3.c: In function 'unixDlClose':^M
../sqlite-3.6.14/sqlite3.c:24819: warning: implicit declaration of function 'dlclose'^M
make[4]: *** [sqlite3.lo] Error 1^M
make[4]: *** Waiting for unfinished jobs....^M
make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/sqlite/build-sqlite-3.6.14'^M
make[3]: *** [all] Error 2^M
make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/sqlite'^M
--
Follow-ups
--- Mike Frysinger 2009-05-14 07:21:56
the newer sqlite defaults to loadable extensions without any checks. fixed
configure logic in trunk.
--- Vivi Li 2009-05-15 02:01:43
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.sqlite application/octet-stream 32637 Vivi Li