mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Duncan Sands <baldrick@free.fr>
To: "Guldo K" <guldo@tiscali.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: speedtouch for 2.6.0
Date: Tue, 30 Dec 2003 09:11:01 +0100	[thread overview]
Message-ID: <200312300911.02044.baldrick@free.fr> (raw)
In-Reply-To: <16368.52302.736757.403219@gargle.gargle.HOWL>

> I couldn't compile.
> I get the output below.
> What's wrong with me?

You are compiling against 2.6 kernel headers.
(Most people have 2.4 kernel headers in
/usr/include/linux, even if they are running a
2.6 kernel).  You will need to update the
firmware_loader directory.  Do the following:

        cvs -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch login

(just hit return if asked for a password).  Then do

        cvs -z 9 -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch co speedtouch

This creates a directory called speedtouch.  Replace the contents of the
firmware_loader directory with the contents of this new speedtouch
directory.  Now rebuild: in the top level of the speedbundle do

        make clean
        make
(become root)
        make install

> *Guldo*

Duncan.

> cd linux-atm/src/lib && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
> cd ppp/pppd && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd'
> cd ppp/pppd/plugins && make C_INCLUDE_PATH=../../../linux-atm/src/include
> LIBRARY_PATH=../../../linux-atm/src/lib/.libs make[1]: Entering directory
> `/tmp/speedbundle-1.0/ppp/pppd/plugins' for d in rp-pppoe; do make -w -C $d
> all; done
> make[2]: Entering directory
> `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe' make[2]: Nothing to be
> done for `all'.
> make[2]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe'
> make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
> cd firmware && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/firmware'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware'
> cd firmware_loader && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/firmware_loader'
> cd src && make
> make[2]: Entering directory `/tmp/speedbundle-1.0/firmware_loader/src'
> gcc -Wall -I. -I/usr/include -I/usr/include -O2 -DVERSION=\"1.2-beta2\"
> -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c In file included from
> /usr/include/linux/usb.h:4,
>                  from pusb-linux.c:42:
> /usr/include/linux/mod_devicetable.h:18: error: syntax error before "__u32"
> /usr/include/linux/mod_devicetable.h:20: error: syntax error before "class"
> /usr/include/linux/mod_devicetable.h:21: error: syntax error before
> "driver_data" /usr/include/linux/mod_devicetable.h:31: error: syntax error
> before "__u32" /usr/include/linux/mod_devicetable.h:33: error: syntax error
> before "model_id" /usr/include/linux/mod_devicetable.h:34: error: syntax
> error before "specifier_id" /usr/include/linux/mod_devicetable.h:35: error:
> syntax error before "version" /usr/include/linux/mod_devicetable.h:36:
> error: syntax error before "driver_data"
> /usr/include/linux/mod_devicetable.h:99: error: syntax error before "__u16"
> /usr/include/linux/mod_devicetable.h:103: error: syntax error before
> "idProduct" /usr/include/linux/mod_devicetable.h:104: error: syntax error
> before "bcdDevice_lo" /usr/include/linux/mod_devicetable.h:105: error:
> syntax error before "bcdDevice_hi"
> /usr/include/linux/mod_devicetable.h:108: error: syntax error before
> "bDeviceClass" /usr/include/linux/mod_devicetable.h:109: error: syntax
> error before "bDeviceSubClass" /usr/include/linux/mod_devicetable.h:110:
> error: syntax error before "bDeviceProtocol"
> /usr/include/linux/mod_devicetable.h:113: error: syntax error before
> "bInterfaceClass" /usr/include/linux/mod_devicetable.h:114: error: syntax
> error before "bInterfaceSubClass" /usr/include/linux/mod_devicetable.h:115:
> error: syntax error before "bInterfaceProtocol"
> /usr/include/linux/mod_devicetable.h:118: error: syntax error before
> "driver_info" /usr/include/linux/mod_devicetable.h:135: error: syntax error
> before "__u16" /usr/include/linux/mod_devicetable.h:138: error: syntax
> error before "dev_type" /usr/include/linux/mod_devicetable.h:139: error:
> syntax error before "cu_model" /usr/include/linux/mod_devicetable.h:140:
> error: syntax error before "dev_model"
> /usr/include/linux/mod_devicetable.h:142: error: syntax error before
> "driver_info" pusb-linux.c:66: error: redefinition of `struct
> usb_device_descriptor' pusb-linux.c: In function `pusb_control_msg':
> pusb-linux.c:164: error: structure has no member named `requesttype'
> pusb-linux.c:165: error: structure has no member named `request'
> pusb-linux.c:166: error: structure has no member named `value'
> pusb-linux.c:167: error: structure has no member named `index'
> pusb-linux.c:168: error: structure has no member named `length'
> make[2]: *** [pusb.o] Error 1
> make[2]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader/src'
> make[1]: *** [modem] Error 2
> make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader'
> make: *** [build-stamp] Error 2

  reply	other threads:[~2003-12-30  8:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-28 15:01 Guldo K
2003-12-29 12:34 ` Duncan Sands
2003-12-29 15:53   ` Guldo K
2003-12-29 16:14     ` Duncan Sands
2003-12-29 16:47       ` Guldo K
2003-12-29 17:04         ` Duncan Sands
2003-12-30  0:52           ` Guldo K
2003-12-30  8:11             ` Duncan Sands [this message]
2003-12-30 15:55               ` Guldo K
2003-12-30 16:02                 ` Duncan Sands
2004-01-06 18:29                   ` Guldo K
2004-01-06 20:21                     ` Duncan Sands
2004-01-07  2:24                       ` Guldo K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312300911.02044.baldrick@free.fr \
    --to=baldrick@free.fr \
    --cc=guldo@tiscali.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome