by markv » Wed Dec 22, 2010 7:24 am
by markv
Wed Dec 22, 2010 7:24 am
i am using gumstix overo fire with summit board, the linux version is
omap3-console-image-overo-201011150741.tar.bz2
from
http://www.sakoman.com/feeds/omap3/glib ... 011150741/
i installed all the packages here
opkg install gcc
opkg install gcc-symlinks
opkg install libc6-dev
opkg install binutils
opkg install make
opkg install g++
opkg install g++-symlinks
opkg install libstdc++-dev
opkg install libstdc++6
opkg install task-native-sdk
opkg install cpp
opkg install libusb-0.1-4
opkg install libusb-0.1-dev
opkg install libusb-1.0-0
opkg install libusb-1.0-dev
opkg install libusb-1.0-static
opkg install usbutils
opkg install usbutils-dev
libftdi
when i compile a simple c or c++ file it goes ok but when i run make on libkondo files it give me lots of errors like this.
"
root@overo:/robot# make
gcc -fPIC -pipe -g -MMD -c rcb4.c -o rcb4.o
In file included from rcb4.h:28,
from rcb4.c:20:
/usr/local/include/ftdi.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/local/include/ftdi.h:1: error: stray '@' in program
In file included from rcb4.h:28,
from rcb4.c:20:
/usr/local/include/ftdi.h:2:9: error: invalid suffix "d482ebc97ac1d9171dde3a6a34a4a79" on integer constant
/usr/local/include/ftdi.h:4:46: error: too many decimal points in number
/usr/local/include/ftdi.h:4:54: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:6: error: stray '@' in program
/usr/local/include/ftdi.h:13:10: error: too many decimal points in number
/usr/local/include/ftdi.h:18: error: stray '@' in program
/usr/local/include/ftdi.h:19:9: error: invalid suffix "b01713495de9721b6d325661009a7b" on integer constant
/usr/local/include/ftdi.h:21:40: error: too many decimal points in number
/usr/local/include/ftdi.h:21:48: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:30:10: error: too many decimal points in number
/usr/local/include/ftdi.h:35: error: stray '@' in program
/usr/local/include/ftdi.h:36:9: error: invalid suffix "d09fcfb97a3c17008d6a588e0427" on integer constant
/usr/local/include/ftdi.h:38:40: error: too many decimal points in number
/usr/local/include/ftdi.h:38:48: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:47:10: error: too many decimal points in number
/usr/local/include/ftdi.h:52: error: stray '@' in program
"
and it goes on and on for more 300 or so lines.
idea someone?
i am using gumstix overo fire with summit board, the linux version is
omap3-console-image-overo-201011150741.tar.bz2
from
http://www.sakoman.com/feeds/omap3/glib ... 011150741/
i installed all the packages here
opkg install gcc
opkg install gcc-symlinks
opkg install libc6-dev
opkg install binutils
opkg install make
opkg install g++
opkg install g++-symlinks
opkg install libstdc++-dev
opkg install libstdc++6
opkg install task-native-sdk
opkg install cpp
opkg install libusb-0.1-4
opkg install libusb-0.1-dev
opkg install libusb-1.0-0
opkg install libusb-1.0-dev
opkg install libusb-1.0-static
opkg install usbutils
opkg install usbutils-dev
libftdi
when i compile a simple c or c++ file it goes ok but when i run make on libkondo files it give me lots of errors like this.
"
root@overo:/robot# make
gcc -fPIC -pipe -g -MMD -c rcb4.c -o rcb4.o
In file included from rcb4.h:28,
from rcb4.c:20:
/usr/local/include/ftdi.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/local/include/ftdi.h:1: error: stray '@' in program
In file included from rcb4.h:28,
from rcb4.c:20:
/usr/local/include/ftdi.h:2:9: error: invalid suffix "d482ebc97ac1d9171dde3a6a34a4a79" on integer constant
/usr/local/include/ftdi.h:4:46: error: too many decimal points in number
/usr/local/include/ftdi.h:4:54: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:6: error: stray '@' in program
/usr/local/include/ftdi.h:13:10: error: too many decimal points in number
/usr/local/include/ftdi.h:18: error: stray '@' in program
/usr/local/include/ftdi.h:19:9: error: invalid suffix "b01713495de9721b6d325661009a7b" on integer constant
/usr/local/include/ftdi.h:21:40: error: too many decimal points in number
/usr/local/include/ftdi.h:21:48: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:30:10: error: too many decimal points in number
/usr/local/include/ftdi.h:35: error: stray '@' in program
/usr/local/include/ftdi.h:36:9: error: invalid suffix "d09fcfb97a3c17008d6a588e0427" on integer constant
/usr/local/include/ftdi.h:38:40: error: too many decimal points in number
/usr/local/include/ftdi.h:38:48: error: invalid suffix "_armv7a.ipk" on floating constant
/usr/local/include/ftdi.h:47:10: error: too many decimal points in number
/usr/local/include/ftdi.h:52: error: stray '@' in program
"
and it goes on and on for more 300 or so lines.
idea someone?