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