speedtouch.c will not compile

speedtouch.c will not compile

Post by Emyr Tomo » Wed, 08 Dec 2004 10:21:30



am trying to get speedbundle installed under redhat 9.0 (kernel 2.4.20)
when I run make it bombs out in kernel_module complaining about implicit
definition of a bunch of functions - one of which is sprintf-(something
or other) and another is panic-(something or other)
Apologies for the lack of detail - I have minimal resources here and had
to boot xp to get connected.
Any ideas? I am no c programmer ...
(or a more appropriate group if I'm in the wrong place ...)

regards
em

 
 
 

speedtouch.c will not compile

Post by Tim McCo » Thu, 09 Dec 2004 06:29:06



> am trying to get speedbundle installed under redhat 9.0 (kernel 2.4.20)
> when I run make it bombs out in kernel_module complaining about implicit
> definition of a bunch of functions - one of which is sprintf-(something
> or other) and another is panic-(something or other)
> Apologies for the lack of detail - I have minimal resources here and had
> to boot xp to get connected.
> Any ideas? I am no c programmer ...
> (or a more appropriate group if I'm in the wrong place ...)

> regards
> em

Is this a kernel module your trying to compile? If so, do you have either
the kernel headers or full source tree installed for your matching kernel
version? If it's really crying over an "sprintf" function, then it's
either a library issue (linking problem against the headers) or some very
poor programming.

If you can print, or write files back to your XP drives (i.e. a mountable
FAT32 drive), then run the make command with

make > /tmp/make.txt
cp /tmp/make.txt /windows_mount_point/where/you/want/it

Then post that error message...

Cheers

Tim

--
"Linux... because rebooting is for adding new hardware!"

http://home.swiftdsl.com.au/~tmccoy

ICQ: 160341067

 
 
 

speedtouch.c will not compile

Post by Moe Tr » Thu, 09 Dec 2004 09:34:59



>when I run make it bombs out in kernel_module complaining about implicit
>definition of a bunch of functions - one of which is sprintf-(something
>or other) and another is panic-(something or other)

1.   rpm -qa > installed.rpms
2.   grep header installed.rpms
3.   grep devel installed.rpms

Quote:>Apologies for the lack of detail - I have minimal resources here and had
>to boot xp to get connected.

Assuming that the speedtouch.c is meant for your Red Hat kernel (each
distributor "tweaks" the kernel, which is why if you do a 'grep kernel
installed.rpms' after step 1, you'll see a dash number after the 2.4.20)
and distribution (some distributions put files in non-standard places),
and the README for the speedtouch did not require you to run ./configure
first, then the usual problem is that you failed to install the needed
library, header, or possibly source files. Red Hat breaks the libraries
into multiple packages - for ONE example:

[compton ~]$ grep glibc 9-errata.05.01.04 | sed 's/.*mirror//'
    3307808 Nov 13 16:06 glibc-2.3.2-27.9.7.i386.rpm
   12659622 Nov 13 16:06 glibc-common-2.3.2-27.9.7.i386.rpm
   23412105 Nov 13 16:06 glibc-debug-2.3.2-27.9.7.i386.rpm
    2345802 Nov 13 16:06 glibc-devel-2.3.2-27.9.7.i386.rpm
    1008492 Nov 13 16:06 glibc-profile-2.3.2-27.9.7.i386.rpm
      58606 Nov 13 16:06 glibc-utils-2.3.2-27.9.7.i386.rpm
    4886742 Nov 13 16:06 glibc-2.3.2-27.9.7.i686.rpm
[compton ~]$

The first two have to be installed to even get the system to boot, but the
others are "optional".  At the very least, you would need the glibc-devel
to compile.

Lack of detail in your question means lack of details in the answers. Look
at the source file, and you will see (near the top) a bunch of 'include'
statements. Assuming your system has been up overnight, use the 'locate'
command to locate where the 'include' files are.

        Old guy

 
 
 

speedtouch.c will not compile

Post by Emyr Tomo » Sun, 12 Dec 2004 07:49:30




>>when I run make it bombs out in kernel_module complaining about implicit
>>definition of a bunch of functions - one of which is sprintf-(something
>>or other) and another is panic-(something or other)

> 1.   rpm -qa > installed.rpms
> 2.   grep header installed.rpms
> 3.   grep devel installed.rpms

>>Apologies for the lack of detail - I have minimal resources here and had
>>to boot xp to get connected.

> Assuming that the speedtouch.c is meant for your Red Hat kernel (each
> distributor "tweaks" the kernel, which is why if you do a 'grep kernel
> installed.rpms' after step 1, you'll see a dash number after the 2.4.20)
> and distribution (some distributions put files in non-standard places),
> and the README for the speedtouch did not require you to run ./configure
> first, then the usual problem is that you failed to install the needed
> library, header, or possibly source files. Red Hat breaks the libraries
> into multiple packages - for ONE example:

> [compton ~]$ grep glibc 9-errata.05.01.04 | sed 's/.*mirror//'
>     3307808 Nov 13 16:06 glibc-2.3.2-27.9.7.i386.rpm
>    12659622 Nov 13 16:06 glibc-common-2.3.2-27.9.7.i386.rpm
>    23412105 Nov 13 16:06 glibc-debug-2.3.2-27.9.7.i386.rpm
>     2345802 Nov 13 16:06 glibc-devel-2.3.2-27.9.7.i386.rpm
>     1008492 Nov 13 16:06 glibc-profile-2.3.2-27.9.7.i386.rpm
>       58606 Nov 13 16:06 glibc-utils-2.3.2-27.9.7.i386.rpm
>     4886742 Nov 13 16:06 glibc-2.3.2-27.9.7.i686.rpm
> [compton ~]$

> The first two have to be installed to even get the system to boot, but the
> others are "optional".  At the very least, you would need the glibc-devel
> to compile.

> Lack of detail in your question means lack of details in the answers. Look
> at the source file, and you will see (near the top) a bunch of 'include'
> statements. Assuming your system has been up overnight, use the 'locate'
> command to locate where the 'include' files are.

>         Old guy

tx both of you for your advice - I'll post back when I have more info/
if I get it working with ur help!
Have gotten embroiled in trying to get a 2.6 kernel working so I'll
probably infest the kernel.org mailing lists for a while ... best
consolation is that if this wasn't difficult it wouldn't be fun, worst
is that I'm stuck connecting with xp and the super-paranoid forest of
third-party security software you have to throw around it

later
emyr

 
 
 

1. How to connect with Speedtouch 120 to my Speedtouch 570

Hi

I searched for a simple howto to connect with my speedtouch 120
Wireless USB Adapter to my speedtouch 570i Wireless ADSL Router for
linux. I found some links but these describe only how to install a usb
modem.
I've this configuration working for MS now this is working fine. It
seems to be a problem to connect with a wireless usb adapter to my
Router.
I hope that there is a solution.

Best Regards Dirk

2. print caller func name

3. USB speedtouch: compile fix

4. SuSE 6.2 und Teles 16.3c PNP

5. SpeedTouch USB ADSL modem and Mandrake 8.1 connected but not working

6. double trouble - 3com Ethernet and generic Modem

7. 2.5.27 uhci-hcd not so bad with Speedtouch

8. cancel <pan.2004.06.21.23.00.40.834457@logicognosis.com>

9. ADSL and Alcatel speedtouch (not USB)

10. CC compiled .so does not work with g++ compiled main program

11. compiling (or not compiling) corba

12. Kernel Compile - cdrom will not work, modules are not presents

13. Can not compile programs! GCC not working