This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

usb Host-side ethernet driver


I'm haveing some problems compiling ecos_usbeth.c on my Linux box. I
know that it was developed
against the 2.2.16-22 kernel, and I'm running the 2.4.3-12 kernel under
RedHat 7.1.  If anyone has
USB ethernet working on a Linux host (7.1) and the SA1110 client, I sure
could use some help.

thanks,

Warren

{warrenj@rtp00183.rtp.bops.com:163} make
make -C /usr/src/linux-2.4 SUBDIRS=/tmp/usb_eth modules
make[1]: Entering directory `/usr/src/linux-2.4.3'
make -C  /tmp/usb_eth CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.3/include/linux/modversions.h" MAKING_MODULES=1
modules
make[2]: Entering directory `/tmp/usb_eth'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.3/include/linux/modversions.h   -c -o ecos_usbeth.o
ecos_usbeth.c
In file included from /usr/src/linux-2.4.3/include/linux/spinlock.h:35,
                 from /usr/src/linux-2.4.3/include/linux/module.h:11,
                 from ecos_usbeth.c:42:
/usr/src/linux-2.4.3/include/asm/spinlock.h:9: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/spinlock.h:9: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/spinlock.h:9: parse error before
`1b7d4074'
/usr/src/linux-2.4.3/include/asm/spinlock.h:10: `printk_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4.3/include/asm/spinlock.h:10: warning: function
declaration isn't a prototype
In file included from /usr/src/linux-2.4.3/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.3/include/linux/list.h:6,
                 from /usr/src/linux-2.4.3/include/linux/module.h:12,
                 from ecos_usbeth.c:42:
/usr/src/linux-2.4.3/include/asm/processor.h:51: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.3/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.3/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/processor.h:72: parse error before
`65dda927'
/usr/src/linux-2.4.3/include/asm/processor.h:72: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.3/include/asm/processor.h:251: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.3/include/asm/processor.h:430: missing white space
after number `7e9'
/usr/src/linux-2.4.3/include/asm/processor.h:430: parse error before
`7e9'
/usr/src/linux-2.4.3/include/asm/processor.h:430:
`kernel_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.3/include/asm/processor.h:430: warning: function
declaration isn't a prototype
In file included from ecos_usbeth.c:42:
/usr/src/linux-2.4.3/include/linux/module.h:173: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:173: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:173: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:173: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:173: parse error before
`62dada05'
/usr/src/linux-2.4.3/include/linux/module.h:173:
`inter_module_register_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.3/include/linux/module.h:173: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.3/include/linux/module.h:174: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:174: missing white space
after number `7a9e845'
/usr/src/linux-2.4.3/include/linux/module.h:174: parse error before
`7a9e845'
/usr/src/linux-2.4.3/include/linux/module.h:174:
`inter_module_unregister_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.3/include/linux/module.h:174: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.3/include/linux/module.h:175:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.3/include/linux/module.h:175: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.3/include/linux/module.h:176:
`inter_module_get_request_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.3/include/linux/module.h:176: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.3/include/linux/module.h:177: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:177: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:177: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/linux/module.h:177: parse error before
`6b99f7d8'
/usr/src/linux-2.4.3/include/linux/module.h:177:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.3/include/linux/module.h:177: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.3/include/linux/module.h:186:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.3/include/linux/module.h:186: warning: parameter
names (without types) in function declaration
ecos_usbeth.c: In function `ecos_usbeth_close':
ecos_usbeth.c:129: structure has no member named `start'
ecos_usbeth.c: At top level:
ecos_usbeth.c:527: warning: initialization from incompatible pointer
type
make[2]: *** [ecos_usbeth.o] Error 1
make[2]: Leaving directory `/tmp/usb_eth'
make[1]: *** [_mod_/tmp/usb_eth] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.3'
make: *** [default] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]