LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2006, 11:39 AM   #1
dc740
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 9

Rep: Reputation: 0
Compiling ATM under Slackware 10.2 doesn't work


hello everybody, I was trying to use my USB modem to establish an internet connection when i realised that the only step left in my list was installing linux-ATM, I tried some RPM with a lot of dependencies, but obviously they didn't work, so I tried to compile ATM from source, but I couldn't First I had problems with depcomp, after a little research I solved that problem, but after that a new error ocurred during the compilation of the sources and I can't get it to work.

Simple question:
Wich ATM version should I use??? anyone had had tthis problem before??? I can't download the CVS version on sourceforge, so, any way of downloading the last source code without using CVS???

Last edited by dc740; 03-30-2006 at 05:46 PM.
 
Old 03-30-2006, 11:54 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Posting the exact error messages can be a big help.
 
Old 03-30-2006, 05:41 PM   #3
dc740
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
it's true... I thought that it was some common error and that there was some special trick to make ATM work.

the first error was that the makefile needed a file called "depcomp".
I fixed this deleting the file "missing" and running "automake -a -c" in the directory with the sources. (I found that solution in a forum)

after that I tried to compile again but this error appeared and I don't know what to do, the Driver version es the latest stable version, linux-atm 2.4.1, and as I said before, I cannot enter to the CVS repository to get the last version
Quote:
make[3]: Entering directory `/usr/src/linux-atm-2.4.1/src/debug'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/linux-atm-2.4.1/src/debug'
Making all in qgen
make[3]: Entering directory `/usr/src/linux-atm-2.4.1/src/qgen'
gcc -DHAVE_CONFIG_H -DSTANDALONE -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qd.dump.c \
-o qd.dump.standalone.o
qd.dump.c:4:20: config.h: No such file or directory
In file included from qd.dump.c:1597:
qd.out.c:4:20: config.h: No such file or directory
In file included from qd.dump.c:1597:
qd.out.c:948: error: `ATM_CV_UCR_UNAVAIL_NEW' undeclared here (not in a function)
qd.out.c:948: error: initializer element is not constant
qd.out.c:948: error: (near initialization for `values_88[22]')
qd.out.c:977: error: `ATM_CV_UCR_UNAVAIL_NEW' undeclared here (not in a function)
qd.out.c:977: error: initializer element is not constant
qd.out.c:977: error: (near initialization for `values_106[22]')
qd.out.c:1991: error: `ATM_CV_UCR_UNAVAIL_NEW' undeclared here (not in a function)
qd.out.c:1991: error: initializer element is not constant
qd.out.c:1991: error: (near initialization for `parse[2475]')
qd.out.c:2088: error: `ATM_CV_UCR_UNAVAIL_NEW' undeclared here (not in a function)
qd.out.c:2088: error: initializer element is not constant
qd.out.c:2088: error: (near initialization for `parse[2747]')
In file included from qd.out.c:2330,
from qd.dump.c:1597:
qlib.c:6:20: config.h: No such file or directory
make[3]: *** [qd.dump.standalone.o] Error 1
make[3]: Leaving directory `/usr/src/linux-atm-2.4.1/src/qgen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/linux-atm-2.4.1'
make: *** [all] Error 2
Thank you for your time

EDIT: this is something i remember now, after or before the depcomp error, there was another problem, the makefiles used a gcc parameter not recognized by the compiler... something like --tag=CC or similar (do not remember the name). so I edited the makefiles manually to remove it :S

Last edited by dc740; 03-30-2006 at 05:45 PM.
 
Old 03-30-2006, 10:18 PM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
What is your modem?
 
Old 03-31-2006, 08:09 AM   #5
dc740
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
It is a Zyxel ADSL USB Modem (prestige 630-C1) based on the Conexant AccessRunner chipset (the cxacru driver).

The modem is working be cause the driver is loaded and the lights in the modem says that is ready to establish the connection. I have made this modem work with another distribution using the 2.6.13 and 2.6.11 kernel. But now a friend showed me Slackware and I really like it, and that's why I want to find the solution. The only problem is compiling the linux-ATM

thanks, I hope there is a simple solution
 
Old 04-03-2006, 06:31 PM   #6
dc740
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Well... I'll post this topic in the Networking forum, maybe someone else tried to install atm and had the same problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is ATM? Gill Bates Linux - Newbie 3 09-20-2003 06:19 AM
PPP over ATM sjoutsimies Linux - Networking 1 07-25-2003 02:20 PM
Atm mouly Linux - Networking 2 12-29-2002 09:17 AM
atm networking skeletal29 Linux - Networking 0 05-10-2002 04:26 PM
ATM mperry1023 Linux - Networking 1 01-10-2001 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration