Poslao: 02 Mar 2004 21:36
|
offline
- Max
- Super građanin
- Marko Milic
- MWEB - Project manager & Front-end developer /Saobracajni inzenjer
- Pridružio: 02 Nov 2003
- Poruke: 1363
- Gde živiš: Beograd - Jagodina
|
Da predjem odmah na problem. Skinuo sam source kod za driver Intela 537 modema.
On je za MandraK , ja koristim trenutno Knoppix 3.1 ali mislim da je kernel isti.
sledio sam uputstva iz ReadMe za compilig znaci kucao sam u konzoli komande
make clean
make all
make install
Konzola radi, izlaze slovca vidi se da pokusava da kompajlira ali mi na kraju izbaci
read only error 1
I u bin direktorijumu nema foldera modem a trebalo bi da ga bude bar tako pise u Readme!!!
Gde li gresim???
|
|
|
Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
|
|
Poslao: 02 Mar 2004 21:40
|
offline
- Pridružio: 17 Apr 2003
- Poruke: 3989
- Gde živiš: Novi Sad, Vojvodina
|
A da das output koji ti prikaze kad javi gresku??????
|
|
|
|
|
Poslao: 03 Mar 2004 05:16
|
offline
- Pridružio: 18 Apr 2003
- Poruke: 550
|
Pa i ako je root postoji mogucnost da mora da promeni dozvole, znaci chown 777 i kraj.
|
|
|
|
Poslao: 03 Mar 2004 09:13
|
offline
- Max
- Super građanin
- Marko Milic
- MWEB - Project manager & Front-end developer /Saobracajni inzenjer
- Pridružio: 02 Nov 2003
- Poruke: 1363
- Gde živiš: Beograd - Jagodina
|
Kao root???? Pa i nisam imao puno iskustva sa komajliranjem. Usao sam iz konzole u folder i primenio make , kakav sad root??? Nista o tome nije pisalo u readme.
|
|
|
|
|
|
|
Poslao: 03 Mar 2004 21:25
|
offline
- Max
- Super građanin
- Marko Milic
- MWEB - Project manager & Front-end developer /Saobracajni inzenjer
- Pridružio: 02 Nov 2003
- Poruke: 1363
- Gde živiš: Beograd - Jagodina
|
Kako da budem root ??? To ne pise u Readme!!!!
|
|
|
|
Poslao: 03 Mar 2004 21:48
|
offline
- Max
- Super građanin
- Marko Milic
- MWEB - Project manager & Front-end developer /Saobracajni inzenjer
- Pridružio: 02 Nov 2003
- Poruke: 1363
- Gde živiš: Beograd - Jagodina
|
knoppix@ttyp0[knoppix]$ cd max
knoppix@ttyp0[max]$ make clean
cd coredrv; make clean
make[1]: Entering directory `/ramdisk/home/knoppix/max/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/ramdisk/home/knoppix/max/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/ramdisk/home/knoppix/max/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/ramdisk/home/knoppix/max/serialdrv'
rm -f *.o
rm -f *.o
knoppix@ttyp0[max]$ make all
usage: make [clean] or [537] or [install] or [check] or [config_sync] or [uninstall]
knoppix@ttyp0[max]$ make install
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
if [ ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
cd ../serialdrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH= card=CARD_TJ320 \
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
cd ../serialdrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include card=CARD_TJ320 \
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537; \
fi ;
make[1]: Entering directory `/ramdisk/home/knoppix/max/coredrv'
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o coredrv.o coredrv.c
coredrv.c: In function `get_pci_info_537':
coredrv.c:198: warning: return makes pointer from integer without a cast
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o clmmain.o clmmain.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o rts.o rts.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o task.o task.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o uart.o uart.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o wwh_dflt.o wwh_dflt.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o locks.o locks.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o afedsp_int.o afedsp_int.c
afedsp_int.c:406: warning: initialization from incompatible pointer type
strip --strip-debug 537core.lib
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o locks.o afedsp_int.o 537core.lib -o 537_core.o
make[1]: Leaving directory `/ramdisk/home/knoppix/max/coredrv'
make[1]: Entering directory `/ramdisk/home/knoppix/max/serialdrv'
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o softserial.o softserial.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o softserial_io.o softserial_io.c
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -c -o softserial_ioctl.o softserial_ioctl.c
ld -r softserial.o softserial_io.o softserial_ioctl.o -o 537.o
make[1]: Leaving directory `/ramdisk/home/knoppix/max/serialdrv'
cp coredrv/537_core.o .
cp serialdrv/537.o .
bash 537_inst
running kernel 2.4.20-xfs
installing hamregistry, used for persistant storage
install: cannot create regular file `/usr/sbin/hamregistry': Read-only file system
installing usrsound, a soft buzzer
install: cannot create regular file `/usr/sbin/usrsound': Read-only file system
installing ham module
install: cannot create regular file `/lib/modules/2.4.20-xfs/kernel/drivers/char/537.o': Read-only file system
make: *** [install] Error 1
knoppix@ttyp0[max]$
Nadam se da ce ovo pomoci!!!
|
|
|
|