2008-09-05 01:20:50     compialation problem

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-09-05 01:20:50     compialation problem

umamahesh yelchuru venkata (INDIA)

Message: 61647   


Hi to all,


I am using precompiled toolchain and uClinux-dist-2007R1-RC3.tar.bz2 and toolchain path as follows


>export PATH=/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-linux-uclibc/bin:$PATH


I configure lib-alsa  and alsa-utils  in the distribution during compilation folowing is the error,kindly guide me how to rectify the errors




make[5]: Entering directory `/home/uclinux/uClinux-dist/lib/alsa-lib/build/src/compat'

if /bin/sh ../../libtool --tag=CC --mode=compile bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I../../../src/compat -I../../include   -isystem /home/uclinux/uClinux-dist/staging/usr/include  -O2 -pipe -fno-builtin -Wall   -DEMBED -D__uClinux__ -isystem /home/uclinux/uClinux-dist/staging/usr/include -mfdpic -MT empty.lo -MD -MP -MF ".deps/empty.Tpo" -c -o empty.lo ../../../src/compat/empty.c; \

then mv -f ".deps/empty.Tpo" ".deps/empty.Plo"; else rm -f ".deps/empty.Tpo"; exit 1; fi

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I../../../src/compat -I../../include -isystem /home/uclinux/uClinux-dist/staging/usr/include -O2 -pipe -fno-builtin -Wall -DEMBED -D__uClinux__ -isystem /home/uclinux/uClinux-dist/staging/usr/include -mfdpic -MT empty.lo -MD -MP -MF .deps/empty.Tpo -c ../../../src/compat/empty.c  -DPIC -o .libs/empty.o

../../../src/compat/empty.c:1: error: -mfdpic is not supported, please use a bfin-linux-uclibc target

make[5]: *** [empty.lo] Error 1

make[5]: Leaving directory `/home/uclinux/uClinux-dist/lib/alsa-lib/build/src/compat'

make[4]: *** [install-recursive] Error 1

make[4]: Leaving directory `/home/uclinux/uClinux-dist/lib/alsa-lib/build/src'

make[3]: *** [install-recursive] Error 1

make[3]: Leaving directory `/home/uclinux/uClinux-dist/lib/alsa-lib/build'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/home/uclinux/uClinux-dist/lib/alsa-lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/uclinux/uClinux-dist/lib'

make: *** [subdirs] Error 1



Thanks & Regards








2008-09-05 01:34:47     Re: compialation problem

Mike Frysinger (UNITED STATES)

Message: 61649   


if you insist on building things yourself, then do what i already said in the other thread you started: read our build files to see how we build it


since we've already integrated things into uclinux-dist, that is the supported method