The driver of the wireless network adapter-general Linux technology-Linux programming and kernel information. The following is a detailed description. I want to translate the driver of the wireless network card into an internal audit. The source code is zd1211lnxdrv_2_22_0_0.tar.gz.
The error after make zImage is
[Root @ localhost linux] # make zImage
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-d1_kernel _-I/home/cvtech/jx2410/linux/include-Wall-Wstrict-prototypes-Wno -trigraphs-OS-mapcs-fno-strict-aliasing-fno-common-pipe-mapcs-32-march = armv4-mtune = arm9tdmi-mshort-load-bytes-msoft -float-DKBUILD_BASENAME = main-c-o init/main. o init/main. c
In file sorted ded from/home/cvtech/jx2410/linux/include/linux/tty. h: 30,
From/home/cvtech/jx2410/linux/include/linux/fb. h: 4,
From/home/cvtech/jx2410/linux/include/asm/linuette_kernel.h: 23,
From/home/cvtech/jx2410/linux/include/asm/hardware. h: 23,
From/home/cvtech/jx2410/linux/include/asm/arch/cpu_s3c2410.h: 35,
From init/main. c: 15:
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1132: parse error before '1'
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1133: warning: function declaration isn' t a prototype
/Home/cvtech/jx2410/linux/include/linux/fs. h: In function 'Mark _ buffer_uptodate ':
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1135: 'bh 'undeclared (first use in this function)
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1135: (Each undeclared identifier is reported only once
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1135: for each function it appears
In .)
/Home/cvtech/jx2410/linux/include/linux/fs. h: At top level:
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1160: parse error before '1'
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1161: warning: function declaration isn' t a prototype
/Home/cvtech/jx2410/linux/include/linux/fs. h: In function 'Mark _ buffer_async ':
/Home/cvtech/jx2410/linux/include/linux/fs. h: 1163: 'bh 'undeclared (first use in this function)
Make: *** [init/main. o] Error 1
My kernel is 2.4 gcc for 2.95.3. I hope you can kindly advise me. Thank you.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.