[Barrelfish-users] Barrelfιsh build errors after update
Georgios Varisteas
yorgos at kth.se
Tue Mar 6 15:50:05 CET 2012
Hi everyone,
After the latest update from the public tree, I'm getting the following build error on all applications that use vfs:
gcc -g -O2 ./x86_64/lib/crt0.o ./x86_64/lib/crtbegin.o -fno-builtin -nostdlib -Wl,-z,max-page-size=0x1000
-Wl,--build-id=none -m64 -o ./x86_64/sbin/bb_alignment
./x86_64/usr/woolapps/_for_app_bb_alignment/bots/alignment/alignment.o
./x86_64/usr/woolapps/_for_app_bb_alignment/bots/alignment/sequence.o
./x86_64/usr/woolapps/_for_app_bb_alignment/bots/common/bots_main.o
./x86_64/usr/woolapps/_for_app_bb_alignment/bots/common/bots_common.o ./x86_64/lib/libbiasusr_root.a ./x86_64/lib/libm.a
./x86_64/lib/libvfs.a ./x86_64/lib/libnfs.a ./x86_64/lib/libposixcompat.a ./x86_64/lib/liblwip.a
./x86_64/lib/libcontmng.a ./x86_64/lib/libprocon.a ./x86_64/lib/libvfsfd.a ./x86_64/lib/libtimer.a
./x86_64/lib/libhashtable.a ./x86_64/lib/libbarrelfish.a ./x86_64/errors/errno.o
./x86_64/lib/libnewlib.a ./x86_64/lib/crtend.o ./x86_64/lib/libcollections.a
./x86_64/lib/libnewlib.a(ldpart.o): In function `__part_load_locale':
/home/georgios/barrelfish/build/../src/lib/newlib/newlib/libc/locale/ldpart.c:102: undefined reference to `open'
/home/georgios/barrelfish/build/../src/lib/newlib/newlib/libc/locale/ldpart.c:108: undefined reference to `fstat'
/home/georgios/barrelfish/build/../src/lib/newlib/newlib/libc/locale/ldpart.c:133: undefined reference to `read'
/home/georgios/barrelfish/build/../src/lib/newlib/newlib/libc/locale/ldpart.c:135: undefined reference to `close'
/home/georgios/barrelfish/build/../src/lib/newlib/newlib/libc/locale/ldpart.c:164: undefined reference to `close'
collect2: ld returned 1 exit status
make: *** [x86_64/sbin/bb_alignment] Error 1
My app's Hakefile is the following, where I assume that I'm missing a library from addLibrary as a consequence of moving to newlib. Any hints?
build application {
target = "bb_alignment",
cFiles = ["bots/alignment/alignment.c","bots/alignment/sequence.c","bots/common/bots_main.c","bots/common/bots_common.c"],
addCFlags = ["-D__BOTS_APP_ALIGNMENT","-DWOOL_ROOT","-D__BF_BIAS__"],addLinkFlags = [ "-Xlinker --undefined=vfs_dummy"],
omitCFlags = ["-nostdinc","-Wmissing-prototypes","-Werror"],addLibraries = libDeps[ "biasusr_root","vfs","m" ]}
Best regards,
Georgios Varisteas
More information about the Barrelfish-users
mailing list