LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 0
Problem Making ATM 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 2.4.1 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.

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


I also tried ATM 0.79 and it compiles but it doesn't work. I'm using slackware 10.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
 
  


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
Compiling ATM under Slackware 10.2 doesn't work dc740 Slackware 5 04-03-2006 06:31 PM
Making Apache work Ab3n Linux - Newbie 3 04-03-2005 05:41 PM
making it work Cap'n Skyler Linux - Newbie 8 11-16-2004 02:07 AM
IDT77252 ATM Driver Problem sundarhere Linux - Software 0 03-09-2004 09:27 AM
Linux-atm-2.4.0 'make' problem ludwig W Linux - Software 0 01-17-2004 03:41 PM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration