الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مساعدة لتعريف كرت المودم Intel 536EP

مغلق
بدأه malek_sa في 21 يونيو 2007 · 6 رد · 1,918 مشاهدة · في نظام تشغيل Unix & Linux
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

لدي كرت مودم Intel® 536EP V9.2

و الحمد لله دخلت إلى موقع أنتل و وجدت تعريف خاص بفيدورا

قمت بقراءة الـ readme و قمت بعمل make

يظهر لدي مكتبة ناقصة و هي

error: linux/config.h: No such file or directory

#inlude <linux/config.h>

لدي سؤالين

1. مكتبات الـ gcc أين يكون مسارها ..

2. أين سأجد هذه المكتبة لكي أضيفها لدي

أرجو المساعدة

تم تعديل هذه المشاركة بواسطة malek_sa في 21 يونيو 2007 في 00:24

SCJP 5.0

#2

السلام عليكم

تأكد من أن kernel-headers مثبتة لديك

MPSI/MP* - CPR Tanger

#3

انا عندي نفس المشكلة بالتعريف تبع كرت الانتل وعم بيقلي انو بدو ملف ال kernel header ولما بريد نزل ال kernel header بتظهر رسالة انو الحزمة مثبتة مسبقاً

#4

هل قمت بتنفيذ الامر

6 steps to install

1. login as ROOT

2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"

3. cd into the directory it created.

4. Type: make clean

5. Type: make 536

6. Type: make install

تم تعديل هذه المشاركة بواسطة INSIDE في 28 يونيو 2007 في 16:35

2129cdd84c.gif

danger.gif
#5

نعم أخي ... و هذا الخطأ الذي يظهر عندما أقوم بعمل make 536

[root@localhost Intel-536-up]# make 536
   Module precompile check
   Current running kernel is: 2.6.18-1.2798.fc6
   /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
   version.h matches running kernel
uname -r|grep "2.6" && \
		cd coredrv && make 536core_26 && \
		cp Intel536.ko .. && cd .. && \
		strip --strip-debug Intel536.ko && \
		exit; \
		ls Intel536.ko >/dev/null 2>&1 ||  uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
		if [  ]; then \
		cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
		else \
		cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
	   "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
		fi; \
		cp Intel536.o ..; \
		if [ -a /boot/vmlinuz.version.h ]; then \
		cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
		fi
2.6.18-1.2798.fc6
make[1]: Entering directory `/root/Desktop/Intel-536-up/coredrv'
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/root/Desktop/Intel-536-up/coredrv modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
  CC [M]  /root/Desktop/Intel-536-up/coredrv/coredrv.o
In file included from /root/Desktop/Intel-536-up/coredrv/hamcore.h:45,
				 from /root/Desktop/Intel-536-up/coredrv/coredrv.c:33:
/root/Desktop/Intel-536-up/coredrv/hamdefs.h:49:28: error: linux/config.h: No such file or directory
/root/Desktop/Intel-536-up/coredrv/coredrv.c:73: warning: data definition has no type or storage class
/root/Desktop/Intel-536-up/coredrv/coredrv.c:73: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:73: warning: parameter names (without types) in function declaration
/root/Desktop/Intel-536-up/coredrv/coredrv.c: In function ‘softcore_init_struct’:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:339: warning: assignment from incompatible pointer type
/root/Desktop/Intel-536-up/coredrv/coredrv.c: In function ‘close’:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:427: error: implicit declaration of function ‘pm_unregister’
/root/Desktop/Intel-536-up/coredrv/coredrv.c: In function ‘send_data_to_user’:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:574: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:579: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:580: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:582: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:583: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c:584: error: ‘struct tty_struct’ has no member named ‘flip’
/root/Desktop/Intel-536-up/coredrv/coredrv.c: At top level:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:652: error: expected ‘)’ before string constant
/root/Desktop/Intel-536-up/coredrv/coredrv.c: In function ‘hamproc_write’:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:671: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/root/Desktop/Intel-536-up/coredrv/coredrv.c: At top level:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:867: warning: initialization makes integer from pointer without a cast
/root/Desktop/Intel-536-up/coredrv/coredrv.c: In function ‘kScheduleDPC’:
/root/Desktop/Intel-536-up/coredrv/coredrv.c:872: error: implicit declaration of function ‘pm_access’
make[3]: *** [/root/Desktop/Intel-536-up/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/root/Desktop/Intel-536-up/coredrv] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/root/Desktop/Intel-536-up/coredrv'
2.6.18-1.2798.fc6
Failed to build driver

أرجو أن ترفق ملف التعريف الذي تستخدمه أنت ..

و ما هي نسخة اللينوكس التي تعمل عليها ...

جزاك الله الخير

تم تعديل هذه المشاركة بواسطة malek_sa في 30 يونيو 2007 في 01:27

SCJP 5.0

#6

اخي ارجو انك تحط اللينك اللي نزلت منه الملف ..

هذا الموضوع مغلق.

مواضيع مشابهة