Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: buildroot fails on avahi - missing expat?
PostPosted: Wed Apr 30, 2008 6:05 am 
Offline

Joined: Mon Oct 23, 2006 4:15 pm
Posts: 53
Hi guys, has anyone seen buildroot fail on avahi complaining about missing expat? My host definitely has libexpat installed:

Code:
woody-desktop buildroot # locate libexpat
usr/lib32/libexpat.so.1.5.2
/usr/lib32/libexpat.so
/usr/lib32/libexpat.so.1
/usr/lib64/libexpat.la
/usr/lib64/libexpat.so.1.5.2
/usr/lib64/libexpat.a
/usr/lib64/libexpat.so
/usr/lib64/libexpat.so.1


Here is the build output...any ideas?

Thanks in advance, Matt.

Code:
woody-desktop buildroot # make
target/linux/Makefile.in.advanced:432: warning: overriding commands for target `/tftpboot/at91sam9263ek-linux-2.6.22.1-20080430.gz'
target/linux/Makefile.in.advanced:428: warning: ignoring old commands for target `/tftpboot/at91sam9263ek-linux-2.6.22.1-20080430.gz'

Checking build system dependencies:
Overriding $(DL_DIR) in '.config'.              Ok
External download directory:                    Ok (/usr/local/install/downloads)
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '4.2.3':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.2.3':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf /usr/arm/buildroot/project_build_arm/at91sam9263ek/buildroot-config
mkdir -p /usr/arm/buildroot/project_build_arm/at91sam9263ek
cp -dpRf package/config/buildroot-config /usr/arm/buildroot/project_build_arm/at91sam9263ek/buildroot-config
(cd /usr/arm/buildroot/build_arm/avahi-0.6.22 && rm -rf config.cache && autoconf)
configure.ac:136: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:1270: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:5570: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3350: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3349: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:718: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:698: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:663: AC_PROG_LIBTOOL is expanded from...
configure.ac:136: the top level
...
...
...
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/arm/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ld -L/usr/arm/buildroot/build_arm/staging_dir/lib -L/usr/arm/buildroot/build_arm/staging_dir/usr/lib --sysroot=/usr/arm/buildroot/build_arm/staging_dir/
checking if the linker (/usr/arm/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ld -L/usr/arm/buildroot/build_arm/staging_dir/lib -L/usr/arm/buildroot/build_arm/staging_dir/usr/lib --sysroot=/usr/arm/buildroot/build_arm/staging_dir/) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for intltool >= 0.35.0... 0.36.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking for pkg-config... yes
checking pkg-config is at least version 0.9.0... yes
checking for XML_ParserCreate in -lexpat... no
checking for XML_ParserCreate in -lbsdxml... no
configure: error: *** neither libexpat not libbsdxml could be found ***
make: *** [/usr/arm/buildroot/build_arm/avahi-0.6.22/.configured] Error 1


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 7:28 pm 
Offline

Joined: Thu Mar 01, 2007 5:23 pm
Posts: 1
Location: Thief River Falls
Hi Matt,

avahi is looking for libexpat in the staging_dir, even thou --disable-expat was set. Issue a "make expat" from the buildroot directory. I believe this is a bug in at91sam9263ek_defconfig and needs to be fixed upstream..

Rob


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 6:01 pm 
Offline

Joined: Mon Oct 23, 2006 4:15 pm
Posts: 53
thank you Rob...I'll give that a try...I'm off on a different project now, but as soon as I can I'll get back to this.

Thanks, Matt.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: