LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem Making ATM work (http://www.linuxquestions.org/questions/linux-networking-3/problem-making-atm-work-431646/)

dc740 04-04-2006 11:58 AM

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


All times are GMT -5. The time now is 09:43 PM.