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: "cipridobos" <>
Date: Fri, 15 May 2009 23:31:13 -0000
I followed you advice and tried to compile a new kernel. I follow instructions 
from Technologic Systems document "linux for arm on TS7200"

I'm running a 2.4.26-ts11 kernel on out of the box ts7200. installed 
debian256-10-27-2005.tar.bz2  from technologic website on a compact flash card.
I run the commands:
make ts7200_config
make oldconfig
make dep
all run ok no errors no warnings

then I run 
make vmlinux

and I get the following:

make all_targets
make[3]: Entering directory `/usr/src/linux24/drivers/net'
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'
ep93xx_eth.c:92: conflicting types for `pMac'
ep93xx_eth.c:92: previous 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'
ep93xx_eth.c:92: conflicting types for `pMac'
ep93xx_eth.c:92: previous 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'
ep93xx_eth.c:92: conflicting types for `pMac'
ep93xx_eth.c:92: previous 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'
ep93xx_eth.c:92: conflicting types for `pMac'
ep93xx_eth.c:92: previous 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'
ep93xx_eth.c:92: conflicting types for `pMac'
ep93xx_eth.c:92: previous 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: parse error before `}'
ep93xx_eth.c: In function `_dbg_ep9312Eth_dumpQueues':
ep93xx_eth.c:483: warning: unused variable `pP'
ep93xx_eth.c: In function `_dbg_ep9312eth_dumpReg':
ep93xx_eth.c:728: warning: unused variable `pP'
ep93xx_eth.c: In function `driver_init':
ep93xx_eth.c:1249: stray '\' in program
ep93xx_eth.c:1302: parse error before `static'
ep93xx_eth.c:1318: `dt' undeclared (first use in this function)
ep93xx_eth.c:1318: (Each undeclared identifier is reported only once
ep93xx_eth.c:1318: for each function it appears in.)
ep93xx_eth.c:1319: `idxQRxStsHead' undeclared (first use in this function)
ep93xx_eth.c:1329: `cntStsProcessed' undeclared (first use in this function)
ep93xx_eth.c:1329: `cntDescProcessed' undeclared (first use in this function)
ep93xx_eth.c:1331: `idxSts' undeclared (first use in this function)
ep93xx_eth.c:1333: `pQRxSts' undeclared (first use in this function)
ep93xx_eth.c:1348: `len' undeclared (first use in this function)
ep93xx_eth.c:1350: `pSkb' undeclared (first use in this function)
ep93xx_eth.c:1354: `pDest' undeclared (first use in this function)
ep93xx_eth.c: In function `ep9213Eth_isr':
ep93xx_eth.c:1432: warning: implicit declaration of function `eth_isrRx'
ep93xx_eth.c: At top level:
ep93xx_eth.c:342: warning: `_phy_write' defined but not used
make[3]: *** [ep93xx_eth.o] Error 1
make[3]: Leaving directory `/usr/src/linux24/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux24/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux24/drivers'
make: *** [_dir_drivers] Error 2

what else can I do to compile the kernel succesful?

--- In  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 <> wrote:
> From: 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