Lars Kongshøj wrote:
>> Der står i vejledningen at jeg så skulle installere ATM-pakken. Jeg
>> hentede den nyeste stabile, 0.8, men den ville ikke 'make'. Den gav
>> også fejl. Også 0.9 og 0.76 gav fejl. Jeg skrev dem selvfølgelig ikke
>> ned
>>
>> Jeg kan vist ikke komme videre med det her. Er der nogen der har gode
>> forslag?
>Kør make igen, og post fejlmeddelelsen her.
Jow.
Det skal lige siges at output'ene er taget med
[kommando] > /navn/på/fil.txt
for almindelig output
og
[kommando] 2> /navn/på/fil_err.txt
for fejlene.
Hvis det har nogen betydning, så fortæl mig det venligst, f.eks. hvis
Linux ikke kan tåle at der bliver kørt 'make' to gange...
<
http://www.koldfront.dk/text/netexpres.html>:
"Hvis oversættelsen giver problemer (f.ex. med atm.h), så installer
atm-pakken (pak den ud og kør make depend; make; make install)"
Atm-pakken er 0.76 hentet fra
<ftp://icaftp.epfl.ch/pub/linux/atm/dist/> med filnavn
<atm-0.76.tar.gz>
'make depend' kører fint, ingen fejl.
'make' giver følgende output:
[root@localhost atm] # make
for n in lib test debug qgen saal sigd maint arpd ilmid man led lane
mpoad switch ; do make -C $n || exit; done
make[1]: Entering directory `/usr/src/atm/lib'
make[1]: Nothing to be done for `do_all'.
make[1]: Leaving directory `/usr/src/atm/lib'
make[1]: Entering directory `/usr/src/atm/test'
[ ! -r .checker ] || make clean
make do_all
make[2]: Entering directory `/usr/src/atm/test'
perl ./mkerrnos.pl </usr/include/asm/errno.h \
>errnos.inc || { rm -f errnos.inc; exit 1; }
cc -g -DVERSION=\"`cat ../VERSION`\" -I../lib -Wall -Wshadow
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -O2 -c -o
isp.o isp.c
cc -o isp isp.o lex.yy.o y.tab.o -L../lib -latm -latmd \
-lfl
make[2]: Leaving directory `/usr/src/atm/test'
for n in "" ; do [ -z "$n" ] || \
make -C $n || exit; done
make[1]: Leaving directory `/usr/src/atm/test'
make[1]: Entering directory `/usr/src/atm/debug'
[ ! -r .checker ] || make clean
make do_all
make[2]: Entering directory `/usr/src/atm/debug'
make[2]: Nothing to be done for `do_all'.
make[2]: Leaving directory `/usr/src/atm/debug'
for n in "" ; do [ -z "$n" ] || \
make -C $n || exit; done
make[1]: Leaving directory `/usr/src/atm/debug'
make[1]: Entering directory `/usr/src/atm/qgen'
[ ! -r .checker ] || make clean
make do_all
make[2]: Entering directory `/usr/src/atm/qgen'
make[2]: Nothing to be done for `do_all'.
make[2]: Leaving directory `/usr/src/atm/qgen'
for n in "" ; do [ -z "$n" ] || \
make -C $n || exit; done
make[1]: Leaving directory `/usr/src/atm/qgen'
make[1]: Entering directory `/usr/src/atm/saal'
make[1]: Nothing to be done for `do_all'.
make[1]: Leaving directory `/usr/src/atm/saal'
make[1]: Entering directory `/usr/src/atm/sigd'
[ ! -r .checker ] || make clean
make do_all
make[2]: Entering directory `/usr/src/atm/sigd'
cc -g -DVERSION=\"`cat ../VERSION`\" -I../qgen -I../saal -I. -I../lib
-DDYNAMIC_UNI -Wall -Wshadow -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -O2 -c -o uni.o uni.c
make[2]: Leaving directory `/usr/src/atm/sigd'
make[1]: Leaving directory `/usr/src/atm/sigd'
uni.c: In function `send_status':
uni.c:202: `unsigned char' is promoted to `int' when passed through
`...'
uni.c:202: (so you should pass `int' not `unsigned char' to `va_arg')
uni.c:202: `unsigned char' is promoted to `int' when passed through
`...'
uni.c:209: `unsigned char' is promoted to `int' when passed through
`...'
make[2]: *** [uni.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
'make install' giver følgende output:
[root@localhost atm] # make install
for n in lib test debug qgen saal sigd maint arpd ilmid man led lane
mpoad switch ; do \
make -C $n instdirs || exit; \
make -C $n install || exit; done
make[1]: Entering directory `/usr/src/atm/lib'
install -d /usr/lib
install -d /usr/include
make[1]: Leaving directory `/usr/src/atm/lib'
make[1]: Entering directory `/usr/src/atm/lib'
install -c -m 0644 libatm.a libatmd.a /usr/lib
install -c -m 0644 atm.h atmd.h atmsap.h /usr/include
make[1]: Leaving directory `/usr/src/atm/lib'
make[1]: Entering directory `/usr/src/atm/test'
install -d /usr/bin
make[1]: Leaving directory `/usr/src/atm/test'
make[1]: Entering directory `/usr/src/atm/test'
install -c -m 0755 aread awrite ttcp_atm /usr/bin
make[1]: Leaving directory `/usr/src/atm/test'
make[1]: Entering directory `/usr/src/atm/debug'
make[1]: Leaving directory `/usr/src/atm/debug'
make[1]: Entering directory `/usr/src/atm/debug'
make[1]: Leaving directory `/usr/src/atm/debug'
make[1]: Entering directory `/usr/src/atm/qgen'
make[1]: Leaving directory `/usr/src/atm/qgen'
make[1]: Entering directory `/usr/src/atm/qgen'
make[1]: Leaving directory `/usr/src/atm/qgen'
make[1]: Entering directory `/usr/src/atm/saal'
make[1]: Leaving directory `/usr/src/atm/saal'
make[1]: Entering directory `/usr/src/atm/saal'
make[1]: Leaving directory `/usr/src/atm/saal'
make[1]: Entering directory `/usr/src/atm/sigd'
install -d /usr/sbin
install -d /usr/man/man4
install -d /usr/man/man8
install: cannot stat `atmsigd': No such file or directory
make[1]: *** [install] Error 1
make: *** [install] Error 2
make[1]: Leaving directory `/usr/src/atm/sigd'
make[1]: Entering directory `/usr/src/atm/sigd'
install -c -m 0755 atmsigd /usr/sbin
make[1]: Leaving directory `/usr/src/atm/sigd'
--------------------------
"(det er kun headers derfra der bruges, så ignorer bare de forskellige
daemoner og halløj)"
Hvad er det der menes her? Jeg er ikke god til C...
--
Mvh, Christian
My e-mail address will stop working after a while.
Visit
www.sneakemail.com to learn more and use Google to
find my current SneakEmail-address.