Ed,
Good catch. Removed the space on the CROSS_COMPILE line after
/usr/bin/gcc.
make dep went without errors!
However, make bzImage bombs out making ep93xx_eth:
/usr/bin/gcc -D__KERNEL__ -I/home/jim/ARM/linux24_ts8/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 `/home/jim/ARM/linux24_ts8/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/jim/ARM/linux24_ts8/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/home/jim/ARM/linux24_ts8/drivers'
make: *** [_dir_drivers] Error 2
--- In "Eddie Dawydiuk" <> wrote:
> Hi Jim,
>
> > /usr/bin/ gcc -D__KERNEL__ -I/home/jim/ARM/linux24_ts8/include
-Wall
>
> Notice the space before gcc...
>
> > execvp doesn't exist anywhere on the CF or apt-get from debian.
> > Any suggestion(s)?
>
> It looks like you have your CC enviroment variable set to " gcc".
Your CC
> environment variable is defined as "CC = $(CROSS_COMPILE)gcc" by
default.
> You'll want to install crosstools then define the path to your bin
> directory
>
> ie
>
> CROSS_COMPILE =
> /opt/crosstool/gcc-3.3-glibc-2.2.5/arm-9tdmi-linux-gnu/bin/arm-9tdmi-linux-gnu-
>
>
>
> //Eddie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|