benhuan

pruss_c make error

Sep 17th, 2014
321
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # longqi at erian323 in ~/pru_sdk/example/pruss_c on git:master x [19:41:46]
  2. $ make
  3. /home/longqi/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc -static -o main host_main.o ../common/mio.o -L/home/longqi/pru_sdk/lib -lprussdrv
  4. /home/longqi/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: error: main uses VFP register arguments, /home/longqi/pru_sdk/lib/libprussdrv.a(prussdrv.o) does not
  5. /home/longqi/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file /home/longqi/pru_sdk/lib/libprussdrv.a(prussdrv.o)
  6. host_main.o: In function `main':
  7. host_main.c:(.text.startup+0xaa): undefined reference to `prussdrv_load_datafile'
  8. collect2: error: ld returned 1 exit status
  9. make: *** [main] Error 1
RAW Paste Data