i tried compiling a driver for my modem but it terminates with this error...
gcc -02 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux-2.4/include -Wstrict-prototypes -fomit-f rame-pointer -fno-strength-reduce -c clmodem.c -o clmodem.o clmodem.c:63:9 warning: pasting "KERN_INFO" and ""CL-MD5620DT modem found.\n"" does not give a val id preprocessing token clmodem.c:72:13: warning: pasting "KERN_INFO" and ""The configured IRQ is wrong. Should be %d\n"" d oes not give a valid preprocessing token clmodem.c:76:13 warning: pasting "KERN_INFO" and ""Couldn't find a CL-MD5620DT modem\n"" does not g ive a valid preprocessing token clmodem.c: In function `setup_clm': clmodem.c:75: structure has no member named `base_address' clmodem.c:76: structure has no member named `base_address' clmodem.c: In function `irq_handler': clmodem.c:101: warning: missing braces around initializer clmodem.c:101: warning: (near initialization for `rxtask.list') clmodem.c:101: warning: initialization makes integer from pointer without a cast clmodem.c:102: warning: missing braces around initializer clmodem.c:102: warning: (near initialization for `txtask.list') clmodem.c:102: warning: initialization makes integer form pointer without a cast clmodem.c:577:5: warning pasting "KERN_INFO" and "" Copyright (C) 2000 Mikhail Moreyra\n"" does not give a valid preprocessing token <snip!> clmodem.c:647:9: warning: pasting "KERN_INFO" and ""CLModem un-installed\n"" does not give a valid preprocessing token make: *** [clmodem.o] Error 1 i checked my kernel.h and found out that i was missing a file "stdarg.h" which was in the include section of the former. does this have anything to do with the errors i've been getting? btw, i'm using redhat 7.1 thanks! :) _______________________________________ EDSAMAIL. Internet the way YOU WANT IT. www.edsamail.com.ph _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
