ts-7000
[Top] [All Lists]

[ts-7000] Re: ftdi device "could not read symbols"

To:
Subject: [ts-7000] Re: ftdi device "could not read symbols"
From: "charliem_1216" <>
Date: Sat, 16 May 2009 00:19:18 -0000
--- In  "cipridobos" <> wrote:
>
> I followed you advice and tried to compile a new kernel. I follow 
> instructions from Technologic Systems document "linux for arm on TS7200"
> 

If you are running TS kernels, the modules you need should already be compiled 
and installed for you as part of the TS kernel.  All you have to do is make 
sure that the right ones are loaded.  The reply from Martin tells you exactly 
what is needed:
http://tech.groups.yahoo.com/group/ts-7000/message/14794

> gcc -D__KERNEL__ -I/usr/src/linux24/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe 
> -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -msoft-float 
> -Uarm   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ep93xx_eth   -c -o 
> ep93xx_eth.o ep93xx_eth.c
> ep93xx_eth.c:92: warning: type defaults to `int' in declaration of `pMac'
> ep93xx_eth.c:92: invalid initializer
> ep93xx_eth.c:92: warning: data definition has no type or storage class
> ep93xx_eth.c:92: warning: type defaults to `int' in declaration of `pMac'

.... many errors snipped ...
> 
> what else can I do to compile the kernel succesful?
> 

Well, as above, you don't need to compile the kernel or modules to use the ftdo 
usb-serial device, but being able to compile your own kernel is good.  The 
errors above look like either corrupted source files, or using a newer version 
of gcc that is more strict than older versions and can't be used to build older 
kernels.

regards, ......... Charlie

> --- In  Razvan-Ionut Stoian <razvan_ionut_stoian@> 
> wrote:
> >
> > I use a GPIB/USB adapter based on the FTDI chip. All you need to do is to 
> > compile a kernel 
> > with usb/serial support and "check" the FTDI line. (FTDI chips are natively 
> > supported in the mainline kernel staring with 2.4)
> > 
> > R
> > 
> > --- On Mon, 5/11/09, cipridobos <cipridobos@> wrote:
> > From: cipridobos <cipridobos@>
> > Subject: [ts-7000] ftdi device "could not read symbols"
> > To: 
> > Date: Monday, May 11, 2009, 5:29 PM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >     
> >             
> >             
> > 
> > 
> >       
> >       I have a device based on FTDI chipset. Installed the libftd2xx.so 
> > library but when I try to compile one of the sample application I get this 
> > linker error:
> > 
> > "/libftd2xx. so: could not read symbols: Invalid operation
> > 
> > collect2: ld returned 1 exit status"
> > 
> > 
> > 
> > I assume the library the manufacturer sent me is specific for x86 systems 
> > as I compiled this on a x86 computer and compiles and works fine.
> > 
> > 
> > 
> > I looked on www(dot)ftdichip( dot)com and I found the same library under 
> > drivers - D2xx - linux.
> > 
> > 
> > 
> > Does anyone knows where I can find this libftd2xx.so for arm or there is no 
> > such thing and I'm doing something wrong?
> > 
> > Am I missing something here?
> > 
> > Thank you.
> > 
> > Cip
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU