[Buildroot] building libglib2

Sagaert Johan sagaert.johan at skynet.be
Fri May 21 13:15:48 UTC 2010


Hi
 
Ii am building on a x96 32 bits (debian  5 (lenny)
 
i have done 2 build : one with uclibc 0.9.30.3 and one with 0.9.31
 
under 9.30.3  the build of libglib2 finnished without errors , BUT if i
examine the config.log i see this :
I would not expect that configure returns 0  ! see below.
build under 9.31  configure returns 1
 
 
snip
 
configure:23303: checking for arpa/nameser_compat.h
configure:23303: result: yes
configure:23314: checking for res_query
configure:23314:
/home/johan/buildroot/output/staging/usr/bin/i586-unknown-linux-uclibc-gcc
-Os -pipe -Os  -mtune=geode -march=geode -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/johan/buildroot/output/staging/usr/include
-I/home/johan/buildroot/output/staging/include
--sysroot=/home/johan/buildroot/output/staging/ -isysroot
/home/johan/buildroot/output/staging -o conftest -Os -pipe -Os  -mtune=geode
-march=geode -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I/home/johan/buildroot/output/staging/usr/include
-I/home/johan/buildroot/output/staging/include
--sysroot=/home/johan/buildroot/output/staging/ -isysroot
/home/johan/buildroot/output/staging -Wall  -DG_DISABLE_SINGLE_INCLUDES
-L/home/johan/buildroot/output/staging/lib
-L/home/johan/buildroot/output/staging/usr/lib
--sysroot=/home/johan/buildroot/output/staging/ conftest.c -lintl   >&5
/tmp/ccf4AZZn.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `res_query'
collect2: ld returned 1 exit status
configure:23314: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.22.5"
| #define PACKAGE_STRING "glib 2.22.5"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define PACKAGE_URL ""
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 22
| #define GLIB_MICRO_VERSION 5
| #define GLIB_INTERFACE_AGE 5
| #define GLIB_BINARY_AGE 2205
 
snip 
 
#define HAVE_MONOTONIC_CLOCK 1
#define G_ATOMIC_I486 1
#define ENABLE_REGEX /**/
 
configure: exit 0
 
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
 
This file was extended by glib config.status 2.22.5, which was
generated by GNU Autoconf 2.65.  Invocation command line was
 
  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status glibconfig.h
 
on debian
 
config.status:2080: executing glibconfig.h commands
config.status:3360: glibconfig.h is unchanged

----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------
When building using 9.31
config.log:
snip 
 

configure:23314: checking for res_query
configure:23314:
/home/johan/buildroot/output/staging/usr/bin/i586-unknown-linux-uclibc-gcc
-Os -pipe -Os  -mtune=geode -march=geode -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/johan/buildroot/output/staging/usr/include
-I/home/johan/buildroot/output/staging/include
--sysroot=/home/johan/buildroot/output/staging/ -isysroot
/home/johan/buildroot/output/staging -o conftest -Os -pipe -Os  -mtune=geode
-march=geode -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I/home/johan/buildroot/output/staging/usr/include
-I/home/johan/buildroot/output/staging/include
--sysroot=/home/johan/buildroot/output/staging/ -isysroot
/home/johan/buildroot/output/staging -Wall  -DG_DISABLE_SINGLE_INCLUDES
-L/home/johan/buildroot/output/staging/lib
-L/home/johan/buildroot/output/staging/usr/lib
--sysroot=/home/johan/buildroot/output/staging/ conftest.c -lintl   >&5
/tmp/cc6tYUC2.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `res_query'
collect2: ld returned 1 exit status
configure:23314: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.22.5"
| #define PACKAGE_STRING "glib 2.22.5"
| #define PACKAGE_BUGREPORT "
<http://bugzilla.gnome.org/enter_bug.cgi?product=glib>
http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define PACKAGE_URL ""
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 22
| #define GLIB_MICRO_VERSION 5
 
snip
 
#define HAVE_HASMNTOPT 1
#define HAVE_NANOSLEEP 1
#define HAVE_GETPROTOBYNAME_R 1
#define HAVE_ENDSERVENT 1
#define HAVE_NETDB_H 1
#define HAVE_STRNDUP 1
#define HAVE_SETRESUID 1
#define HAVE_SETREUID 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_ARPA_NAMESER_COMPAT_H 1
 
configure: exit 1
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100521/7c16f75e/attachment-0001.html>


More information about the buildroot mailing list