LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make command for driver produces error and blames stdio.h! (https://www.linuxquestions.org/questions/linux-newbie-8/make-command-for-driver-produces-error-and-blames-stdio-h-148697/)

Veivann 02-21-2004 06:46 AM

make command for driver produces error and blames stdio.h!
 
Hi!

One more question before I get this modem to work...

I now have my kernel-include files thanks to acid_kewpie and I cd to the directory of the driver and write make. This is supposed to be error-free but here's the error I managed to come accross:

gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/
lib/modules/2.4.22-10mdk/build/include -DMODVERSIONS --include /lib/modules/2.4
.22-10mdk/build/include/linux/modversions.h -o kernel-ver.o -c kernel-ver.c
In file included from kernel-ver.c:47:
/usr/include/stdio.h:329:12: invalid suffix "d26aa98" on integer constant
In file included from kernel-ver.c:47:
/usr/include/stdio.h:329: error: syntax error before numeric constant
/usr/include/stdio.h:330: error: `sprintf_R_ver_str' declared as function return ing a function
/usr/include/stdio.h:344:12: invalid suffix "b0008" on integer constant
/usr/include/stdio.h:344: error: syntax error before numeric constant
/usr/include/stdio.h:345: error: `vsprintf_R_ver_str' declared as function retur ning a function
/usr/include/stdio.h:351:12: invalid suffix "da070" on integer constant
/usr/include/stdio.h:351: error: syntax error before numeric constant
/usr/include/stdio.h:353: error: `snprintf_R_ver_str' declared as function retur ning a function
/usr/include/stdio.h:355:12: invalid suffix "a769" on integer constant
/usr/include/stdio.h:355: error: syntax error before numeric constant
/usr/include/stdio.h:357: error: `vsnprintf_R_ver_str' declared as function retu rning a function
/usr/include/stdio.h:401:12: invalid suffix "af" on integer constant
/usr/include/stdio.h:401: error: syntax error before numeric constant
/usr/include/stdio.h:402: error: `sscanf_R_ver_str' declared as function returni ng a function
make: *** [kernel-ver.o] Error 1

Is something wrong with my driver or kernel-ver.c file? :( Totally unable to understand what can be wrong :newbie: Hope you can help one more time :)

Thanks a lot!

randyriver10 03-06-2004 10:55 AM

hate to disappoint you cause I aint got the answer, but someguy on a different post said to try 2.7-10debug...but i cant find it! Im havign the sam e problem as you!

Veivann 03-06-2004 01:00 PM

You can get it from http://linmodems.technion.ac.il/packages/smartlink/
Many thanks to wmontez :)

Hope that helps :D

randyriver10 03-07-2004 04:51 PM

strange...it times out...I tried the site with mozilla, netscape, and IE on all different computers...is their a mirror I could use"?

Veivann 03-11-2004 12:34 AM

Hmm, not sure.
Why dont you try ftp.smlink.com/linux
Here's the path to it unsupported -> old -> and here's it!!!
Hope it helps :)

randyriver10 03-11-2004 05:02 PM

lol got it worken but...

after installing modem driver my computer freezes when sound is played! When I was dialing up to the internet I stopped playing music(paused it) to see if it was making sound then I pressed play and it froze (cant move mouse,totally nothing!)! I then restarted then connected to the internet but didn't play music at all and it worked fine... untill I started xmms and played music (complete freeze!) Then I restarted and then did internet stuff disconnected and then played music....and it worked!!!! It freezes when iI use an media player or when I enable sound server

any ideas?
I got a smart link 561 PCI modem
NForce 2 audio codec interface sound card


All times are GMT -5. The time now is 03:57 PM.