[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-17 Thread marco.antonell...@libero.it

Hello Aad,

I did everything and the compliation had got further... thank you sincerely.
But...
It blocks a little further, this is the output:

gcc -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -o .libs/aread aread.o  ../../src/lib/.libs/libatm.so
-lresolv../../src/lib/.libs/libatm.so: undefined reference to `blli_in_use'
collect2: ld returned 1 exit status
make[4]: *** [aread] Error 1
make[4]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
make: *** [build-stamp] Error 2


I tried to search libatm.so, but it is not in my hd.
May you help me again?

Marco Antonelli




Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-17 Thread Gilles Espinasse


- Original Message - 
From: [EMAIL PROTECTED]
To: speedtouch [EMAIL PROTECTED]
Cc: Aad.Rijnberg [EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 8:30 PM
Subject: [speedtouch] Re: speedbundle cannot find Rules.make



 Hello Aad,

 I did everything and the compliation had got further... thank you
sincerely.
 But...
 It blocks a little further, this is the output:


gcc -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-string
s
 -Wstrict-prototypes -o .libs/aread aread.o  ../../src/lib/.libs/libatm.so
 -lresolv../../src/lib/.libs/libatm.so: undefined reference to
`blli_in_use'
 collect2: ld returned 1 exit status
 make[4]: *** [aread] Error 1
 make[4]: Leaving directory
`/root/Desktop/speedbundle-1.0/linux-atm/src/test'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make[1]: *** [all-recursive-am] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make: *** [build-stamp] Error 2


 I tried to search libatm.so, but it is not in my hd.
 May you help me again?

 Marco Antonelli

Did you install linux-atm-2.4.1 rpm (or from sources and run ldconfig after)

Gilles


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-17 Thread Aad Rijnberg

Hi Marco,

on my system it can be found at 
speedbundle-1.0/linux-atm/src/lib/.libs/libatm.so
so I presume it is the result of compilation of the linux-atm/src
directory. It might be that the change I proposed to the
speedbundle-1.0/configure breaks this in your case, whereas I used a
different approach (copying atm header files to /usr/include/linux).
Maybe you have to add yet another option to the line in
speedbundle-1.0/configure:

  cd linux-atm  ./configure --prefix=/usr
--includedir=/usr/src/linux-2.4.9/include --libdir=../../src/lib/.libs
 cd ..  \

I doubt if it works, but you could try... Is the so-file also available
on your system at the place that I mentioned?

Regards,
Aad

On Wed, 2004-11-17 at 20:30, [EMAIL PROTECTED] wrote:
 Hello Aad,
 
 I did everything and the compliation had got further... thank you sincerely.
 But...
 It blocks a little further, this is the output:
 
 gcc -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings
 -Wstrict-prototypes -o .libs/aread aread.o  ../../src/lib/.libs/libatm.so
 -lresolv../../src/lib/.libs/libatm.so: undefined reference to `blli_in_use'
 collect2: ld returned 1 exit status
 make[4]: *** [aread] Error 1
 make[4]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src/test'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make[1]: *** [all-recursive-am] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make: *** [build-stamp] Error 2
 
 
 I tried to search libatm.so, but it is not in my hd.
 May you help me again?
 
 Marco Antonelli



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-16 Thread Tiago Cogumbreiro

FC3 already comes with the kernel mode driver. So you don't need to
compile it. If you need to compile br2684ctl and can't then go to:
http://s1x.homelinux.net/projects/br2684ctl it contains RPM's and
src-rpms.

On Mon, 2004-11-15 at 15:41 +0100, [EMAIL PROTECTED] wrote:
 Hallo everyone,
 I've got a Fedora Core 3 and a 2.6.9-1.667 kernel and I have also downloaded 
 and
 installed the source of this one.
 when I try to compile the speedbundle, I got this output:
 
 cd kernel_module  make
 make[1]: Entering directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make -C /lib/modules/2.6.9-1.667/build
 SUBDIRS=/root/Desktop/speedbundle-1.0/kernel_module modules
 make[2]: Entering directory `/lib/modules/2.6.9-1.667/build'
 /root/Desktop/speedbundle-1.0/kernel_module/Makefile:23:
 /lib/modules/2.6.9-1.667/build/Rules.make: No such file or directory
 make[3]: *** No rule to make target 
 `/lib/modules/2.6.9-1.667/build/Rules.make'.
  Stop.
 make[2]: *** [_module_/root/Desktop/speedbundle-1.0/kernel_module] Error 2
 make[2]: Leaving directory `/lib/modules/2.6.9-1.667/build'
 make[1]: *** [speedtch.o] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make: *** [build-stamp] Error 2
 
 So I tried to find Rules.make on the hard drive, but it is not present.
 So I asked Google, and I found two answers:
 1) You haven't got the kernel source (but I have it)
 2) 2.6 kernel haven't got this file anymore... Could this be possible?
 
 Please help me to find a solution,
 Marco Antonelli
 
 
 
 
 Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
 Abbonati subito su http://www.libero.it 
 
 
 Liste de diffusion modem ALCATEL SpeedTouch USB
 Pour se désinscrire : mailto:[EMAIL PROTECTED]
 
   


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-16 Thread Aad Rijnberg

Hello Marco,

On Tue, 2004-11-16 at 00:39, [EMAIL PROTECTED] wrote:
 Hi Aad,
 I have understand something, but surely not everything... :(
 I eliminate those lines in the configure file and the Makefile about the 
 kernel
 module and also those ones regarding the ppp daemon (I have the same version,
 2.4.2, so I don't need a knew one).

If I understood properly some time ago, it really is needed to compile
ppp to make it atm-aware, because the version that is delivered with FC
is not. So I would not disable that part...

 As you said
  After you disable the lines that contain kernel_module in these two
  files, it will appear that compilation stops at another point (see my
  mail of Fri, 12 Nov 2004, titled Speedbundle under Fedora Core 3).
 I had compilation problems with the sapequal.c file.
 So I have to:
 1a)
  copying of the atm-header files from /usr/src/linux-2.4.9/include/linux
  directory to /usr/include/linux.
 I have 19 atm*.h files in /usr/src/linux-2.6.9/include/linux and
 16 atm*.h in /usr/include/linux, some files are different (like atm.h) and
 others are identic (like atm_eni.h) Is that right?

There are indeed more header files in /usr/src/linux-2.4.9/include/linux
But maybe it is better to redefine the include path for compiling the
linux-atm module (see below). 

 
 or better
 
 1b)
  change the path to the (system) include files (Makefile
  variable includedir) from ${prefix}/include to
  /usr/src/linux-2.4.9/include in the Makefile in
  speedbundle-1.0/linux-atm, and maybe also in deeper levels of that
  directory.
 I opened the speedbundle/linux-atm/
 I found two Makefiles: Makefile.in and Makefile.am
 In the second one is very short, and there are no includedir variables.
 In the second one there are these variables:
 includedir = @includedir@
 oldincludedir = /usr/include
 
 That's strange... should I use method 1a?

I think the way to go here is to edit the line regarding linux-atm in 
speedbundle-1.0/configure as follows:

  cd linux-atm  ./configure --prefix=/usr
--includedir=/usr/src/linux-2.4.9/include  cd ..  \

(attention: this is one line)
So you should not have to edit any Makefile.

 2) replacing
   default:
 }
 
 by:
 
   default:
 ;
 }
 in speedbundle-1.0/linux-atm/src/lib/sapequal.c, 
 speedbundle-1.0/linux-atm/src/sigd/proto.c, and 
 speedbundle-1.0/linux-atm/src/maint/enitune.c
 
 3)Add the line #define __user to the file
 /usr/include/linux/atm.h before the line #include linux/compiler.h
 
 Am I right? Or did I forget something?
 What should I do with the atm headers?

I would edit the file /usr/src/linux-2.4.9/include/linux/atm.h (after
making a backup of the original) so that it contains the #define.

And I think that in order to get everything operational, you really need
to use the documentation link I sent you yesterday.

Success.

Aad


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-15 Thread Aad Rijnberg

Hi Marco,

after looking into your log, I see that you have the kernel module still
enabled in the configure and Makefile. If you look into the explanation
at http://www.4p8.com/eric.brasseur/speedbundle_fedora.html you can see
that this should be disabled for Fedora Core because the kernel module
for the Speedtouch is already provided (also by FC3).

After you disable the lines that contain kernel_module in these two
files, it will appear that compilation stops at another point (see my
mail of Fri, 12 Nov 2004, titled Speedbundle under Fedora Core 3).

I have fixed this, but it seems to be a quick and dirty one, at least
for the copying of the atm-header files from
/usr/src/linux-2.4.9/include/linux directory to /usr/include/linux (see
reply on my mail by Frdric RUAUDEL). So maybe a better solution for
that part is to change the path to the (system) include files (Makefile
variable includedir) from ${prefix}/include to
/usr/src/linux-2.4.9/include in the Makefile in
speedbundle-1.0/linux-atm, and maybe also in deeper levels of that
directory.

If you need more help please ask...

Kind regards,
Aad

On Mon, 2004-11-15 at 15:41, [EMAIL PROTECTED] wrote:
 Hallo everyone,
 I've got a Fedora Core 3 and a 2.6.9-1.667 kernel and I have also downloaded 
 and
 installed the source of this one.
 when I try to compile the speedbundle, I got this output:
 
 cd kernel_module  make
 make[1]: Entering directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make -C /lib/modules/2.6.9-1.667/build
 SUBDIRS=/root/Desktop/speedbundle-1.0/kernel_module modules
 make[2]: Entering directory `/lib/modules/2.6.9-1.667/build'
 /root/Desktop/speedbundle-1.0/kernel_module/Makefile:23:
 /lib/modules/2.6.9-1.667/build/Rules.make: No such file or directory
 make[3]: *** No rule to make target 
 `/lib/modules/2.6.9-1.667/build/Rules.make'.
  Stop.
 make[2]: *** [_module_/root/Desktop/speedbundle-1.0/kernel_module] Error 2
 make[2]: Leaving directory `/lib/modules/2.6.9-1.667/build'
 make[1]: *** [speedtch.o] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make: *** [build-stamp] Error 2
 
 So I tried to find Rules.make on the hard drive, but it is not present.
 So I asked Google, and I found two answers:
 1) You haven't got the kernel source (but I have it)
 2) 2.6 kernel haven't got this file anymore... Could this be possible?
 
 Please help me to find a solution,
 Marco Antonelli
 



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dsinscrire : mailto:[EMAIL PROTECTED]