Početak › Forumi › Linuks distribucije › Mandriva › Softver › Prob pri kompajliranju driver-a za Intel537 u Mandriva 2005
- This topic has 5 odgovora, 4 glasa, and was last updated 21 years, 4 months ranije by
Mr_Pingvin.
-
AutorČlanci
-
8. maj 2005. u 9:37 am #5307
srdjee
Učesnikelem
[code]
[root@localhost intel-537EP_secure-2.60.80.1]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv’
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv’
rm -f *.o *.ko[root@localhost intel-537EP_secure-2.60.80.1]# make 537
Module precompile check
Current running kernel is: 2.6.11-6mdk
/lib/modules… autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
diff: /lib/modules/2.6.11-6mdk/build/include/linux/version.h: No such file or directory
version.h matches running kernel
2.6.11-6mdk
make[1]: Entering directory `/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv’
make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.11-6mdk’
CC [M] /home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o
In file included from /home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/hamcore.h:45,
from /home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:33:
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/hamdefs.h:48:29: linux/version.h: No such file or directory
In file included from include/linux/module.h:23,
from /home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:37:
include/asm/module.h:56:2: #error unknown processor family
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: type defaults to `int’ in declaration of `EXPORT_SYMBOL_NOVERS’
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: data definition has no type or storage class
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:89:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `open’:
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:384: warning: passing arg 2 of `request_irq’ from incompatible pointer type
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:533:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:580:40: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:588:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `schedule_background_event’:
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:592: error: `softserial_bg_event_work’ undeclared (first use in this function)
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:592: error: (Each undeclared identifier is reported only once
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:592: error: for each function it appears in.)
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:601:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:636:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `hamproc_write’:
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:660: warning: ignoring return value of `copy_from_user’, declared with attribute warn_unused_result
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:722:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:731:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:739:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:766:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:788:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:798:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:810:41: missing binary operator before token “(”
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function `dspdrv_CommRamISR’:
/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:877: warning: function declaration isn’t a prototype
make[3]: *** [/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11-6mdk’
make[1]: *** [537core_26] Error 2
make[1]: Leaving directory `/home/user/Download/intel-537EP_secure-2.60.80.1/coredrv’
2.6.11-6mdk
Failed to build driver
[root@localhost intel-537EP_secure-2.60.80.1]# [/code]what da phuck ???
blejps probao i sa :
intel-537EP_2.60.80.0.tgz
intel-537_2.60.80.0.tgz
slicno kao i sa ovim intel-537EP_2.60.80.1.tgz u kodu9. maj 2005. u 10:53 pm #28071Mr_Pingvin
Učesnikpa ovako…. i ja imam isto intel 537 i mnogi koje znam a svima radi….
prvo instaliraj kernel source…
pa uzmi 2.6.80.0 driver
pa make clean
make 537
pa sad
insmod -f Intel537.ko
rm /dev/537
mknod /dev/537 c 240 1
ln -s /dev/537 /dev/modempa sam namesti kppp
ako radi malo se poigraj pa onda uradi make install
10. maj 2005. u 12:08 am #28072kmilos
Učesnik@Mr_Pingvin
A je l’ ti imas, i mnogi drugi koje znas, isto i Mandrivu 2005 uz to?
@srdjee
Po meni je verovatno isti problem kao i za 536ep drajvere: moraju da se pecuju da bi radili na novijim 2.6.11 kernelima… (bio je skoro post za 536 pa pogledaj detalje)Alternativa je da mozda privremeno vratis kernel i kernel-source od MDK 10.1 dok Intel ne izbaci nove drajvere.
10. maj 2005. u 9:24 am #28073Mr_Pingvin
UčesnikNe ne koristim mandrivu, sto je mozda i ocigledno…
INTEL SUXX!
10. maj 2005. u 9:53 pm #28074LYb
UčesnikMislim da intel uopste nece izbaciti nove drajvere, kad nije do sad.
Sto se gresaka tice, izgleda da stvarno nemas instaliran source kernela… odradi to i sve bi trebalo da prodje glatko.
Eh… gle… 400-ta poruka 🙂
11. maj 2005. u 9:38 am #28075Mr_Pingvin
UčesnikIntel je bezveze….. da su stavili drajvere u opensource za par dana bismo bili opskrbljeni najnocijim drajverima za soft modeme…. no to je njihov problem sto tako gube musterije…. 😀
mislim da bi trebalo neko da casti za onu 400-tu poruku… 😆
-
AutorČlanci
Forum ‘Softver’ je zaključan za nove teme i odgovore.