LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 10-23-2004, 08:18 AM   #1
FC1 Newbe
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Question Intel 536ep modem problems in Fedora Core 1


I am new to linux and have been working with Fedora Core 1 (Kernal 2.4.22-1.2115.nptl)

I have an Intel 536EP Modem and am having trouble insalling it
I have tried different driver but keep getting the same problem

CODE:
[root@localhost root]# cd /root/intel
[root@localhost intel]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/intel/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/root/intel/coredrv'
rm -f *.o *.ko
[root@localhost intel]# make 536
Module precompile check
Current running kernel is: 2.4.22-1.2115.nptl
/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
make[1]: Entering directory `/root/intel/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o coredrv.o coredrv.c
In file included from hamdefs.h:66,
from hamcore.h:45,
from coredrv.c:33:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from coredrv.c:33:
hamcore.h:237: error: syntax error before "extern"
hamcore.h:241: error: syntax error before "extern"
hamcore.h:242: error: syntax error before "void"
hamcore.h:243: error: syntax error before "void"
hamcore.h:244: error: syntax error before "long"
hamcore.h:245: error: syntax error before "void"
hamcore.h:246: error: syntax error before "extern"
hamcore.h:246: error: syntax error before "void"
hamcore.h:246: error: syntax error before ')' token
hamcore.h:247: error: syntax error before "extern"
hamcore.h:248: error: syntax error before "extern"
hamcore.h:249: error: syntax error before "extern"
hamcore.h:250: error: syntax error before "extern"
hamcore.h:251: error: syntax error before "void"
hamcore.h:252: error: syntax error before "extern"
hamcore.h:253: error: syntax error before "extern"
hamcore.h:254: error: syntax error before "extern"
hamcore.h:255: error: syntax error before "extern"
hamcore.h:256: error: syntax error before "extern"
hamcore.h:257: error: syntax error before "extern"
hamcore.h:258: error: syntax error before "extern"
hamcore.h:259: error: syntax error before "extern"
hamcore.h:260: error: syntax error before "extern"
hamcore.h:261: error: syntax error before "extern"
hamcore.h:262: error: syntax error before "extern"
hamcore.h:263: error: syntax error before "extern"
hamcore.h:267: error: syntax error before "extern"
hamcore.h:268: error: syntax error before "extern"
hamcore.h:269: error: syntax error before "extern"
hamcore.h:282: error: syntax error before "extern"
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/asm/timex.h:33: error: syntax error before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error before "get_cycles"
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/timex.h:147: error: field `time' has incomplete type
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/asm/signal.h:107: error: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/timer.h:45: error: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: error: syntax error before '}' token
/usr/include/linux/timer.h:67: error: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: error: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: error: dereferencing pointer to incomplete type
In file included from coredrv.c:34:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from coredrv.c:36:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: error: syntax error before "atomic_t"
/usr/include/linux/proc_fs.h:73: error: syntax error before '}' token
/usr/include/linux/proc_fs.h:203: error: syntax error before "void"
In file included from /usr/include/linux/module.h:20,
from coredrv.c:37:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from /usr/include/linux/serialP.h:24,
from coredrv.c:42:
/usr/include/linux/tqueue.h:94: error: syntax error before "tqueue_lock"
In file included from coredrv.c:42:
/usr/include/linux/serialP.h:50: error: field `icount' has incomplete type
/usr/include/linux/serialP.h:85: error: syntax error before "spinlock_t"
/usr/include/linux/serialP.h:101: error: syntax error before '}' token
In file included from coredrv.c:43:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from coredrv.c:43:
/usr/include/linux/interrupt.h:77: error: syntax error before '(' token
/usr/include/linux/interrupt.h:78: error: syntax error before '(' token
/usr/include/linux/interrupt.h:106: error: syntax error before "atomic_t"
/usr/include/linux/interrupt.h:109: error: syntax error before '}' token
/usr/include/linux/interrupt.h:127: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:127: error: requested alignment is not a constant/usr/include/linux/interrupt.h:154: error: syntax error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_schedule':
/usr/include/linux/interrupt.h:158: error: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:162: error: syntax error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_hi_schedule':
/usr/include/linux/interrupt.h:166: error: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_disable_nosync':
/usr/include/linux/interrupt.h:173: error: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_enable':
/usr/include/linux/interrupt.h:187: error: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_hi_enable':
/usr/include/linux/interrupt.h:193: error: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:224: error: syntax error before "global_bh_lock"
/usr/include/linux/interrupt.h: In function `mark_bh':
/usr/include/linux/interrupt.h:228: error: invalid use of undefined type `struct tasklet_struct'
coredrv.c:46:25: asm/uaccess.h: No such file or directory
coredrv.c: At top level:
coredrv.c:70: error: syntax error before "config_must_be_included_before_module"coredrv.c:70: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:70: warning: data definition has no type or storage class
coredrv.c: In function `softcore_init_struct':
coredrv.c:337: error: `printk' undeclared (first use in this function)
coredrv.c:337: error: (Each undeclared identifier is reported only once
coredrv.c:337: error: for each function it appears in.)
coredrv.c: In function `open':
coredrv.c:348: warning: implicit declaration of function `pci_enable_device'
coredrv.c:350: error: `ENODEV' undeclared (first use in this function)
coredrv.c:353: error: dereferencing pointer to incomplete type
coredrv.c:359: warning: implicit declaration of function `pci_resource_start'
coredrv.c:361: warning: implicit declaration of function `pci_resource_len'
coredrv.c:363: warning: implicit declaration of function `ioremap'
coredrv.c:379: warning: implicit declaration of function `dspdrv_SetCramISRCallBack'
coredrv.c:382: warning: implicit declaration of function `request_irq'
coredrv.c:384: error: `SA_SHIRQ' undeclared (first use in this function)
coredrv.c: In function `close':
coredrv.c:412: warning: implicit declaration of function `free_irq'
coredrv.c:415: warning: implicit declaration of function `vfree'
coredrv.c: In function `send_data_to_user':
coredrv.c:565: error: dereferencing pointer to incomplete type
coredrv.c:565: error: `TTY_FLIPBUF_SIZE' undeclared (first use in this function)coredrv.c:568: error: dereferencing pointer to incomplete type
coredrv.c:570: error: dereferencing pointer to incomplete type
coredrv.c:571: error: dereferencing pointer to incomplete type
coredrv.c:573: error: dereferencing pointer to incomplete type
coredrv.c:574: error: dereferencing pointer to incomplete type
coredrv.c:575: error: dereferencing pointer to incomplete type
coredrv.c:576: warning: implicit declaration of function `tty_flip_buffer_push'
coredrv.c:578: error: dereferencing pointer to incomplete type
coredrv.c: In function `schedule_background_event':
coredrv.c:588: error: dereferencing pointer to incomplete type
coredrv.c:589: error: dereferencing pointer to incomplete type
coredrv.c:591: error: dereferencing pointer to incomplete type
coredrv.c: At top level:
coredrv.c:633: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'coredrv.c:633: warning: parameter names (without types) in function declaration
coredrv.c:633: warning: data definition has no type or storage class
coredrv.c:634: warning: type defaults to `int' in declaration of `DECLARE_WAIT_QUEUE_HEAD'
coredrv.c:634: warning: parameter names (without types) in function declaration
coredrv.c:634: warning: data definition has no type or storage class
coredrv.c:635: warning: type defaults to `int' in declaration of `DECLARE_WAIT_QUEUE_HEAD'
coredrv.c:635: warning: parameter names (without types) in function declaration
coredrv.c:635: warning: data definition has no type or storage class
coredrv.c:636: warning: type defaults to `int' in declaration of `DECLARE_WAIT_QUEUE_HEAD'
coredrv.c:636: warning: parameter names (without types) in function declaration
coredrv.c:636: warning: data definition has no type or storage class
coredrv.c:659: warning: `struct file' declared inside parameter list
coredrv.c: In function `hamproc_write':
coredrv.c:662: warning: implicit declaration of function `copy_from_user'
coredrv.c: In function `create_hamproc':
coredrv.c:677: error: `S_IRUGO' undeclared (first use in this function)
coredrv.c:678: error: `ENOMEM' undeclared (first use in this function)
coredrv.c:679: error: dereferencing pointer to incomplete type
coredrv.c:680: error: dereferencing pointer to incomplete type
coredrv.c: In function `kdelay':
coredrv.c:714: warning: implicit declaration of function `udelay'
coredrv.c: In function `up_exec_reg_sem':
coredrv.c:725: warning: implicit declaration of function `up'
coredrv.c:725: error: `exec_reg_sem' undeclared (first use in this function)
coredrv.c: In function `down_exec_reg_sem':
coredrv.c:734: warning: implicit declaration of function `down'
coredrv.c:734: error: `exec_reg_sem' undeclared (first use in this function)
coredrv.c: In function `wake_up_interruptible_persistWriteQ':
coredrv.c:762: warning: implicit declaration of function `wake_up_interruptible'coredrv.c:762: error: `persistWriteQ' undeclared (first use in this function)
coredrv.c: In function `wake_up_interruptible_persistReadQ':
coredrv.c:775: error: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:782: warning: implicit declaration of function `wait_event_interruptible'
coredrv.c:782: error: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_timeout_persistWriteQ':
coredrv.c:791: warning: implicit declaration of function `interruptible_sleep_on_timeout'
coredrv.c:791: error: `persistWriteQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_timeout_persistReadQ':
coredrv.c:813: error: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `ham_proc_shutdown_wait':
coredrv.c:822: warning: implicit declaration of function `sysconf'
coredrv.c:822: error: `_SC_CLK_TCK' undeclared (first use in this function)
coredrv.c:825: error: `current' undeclared (first use in this function)
coredrv.c:826: warning: implicit declaration of function `schedule_timeout'
coredrv.c: In function `kCurrentComm':
coredrv.c:849: error: `current' undeclared (first use in this function)
coredrv.c: At top level:
coredrv.c:858: error: variable `dpc_tasklet' has initializer but incomplete typecoredrv.c:858: warning: excess elements in struct initializer
coredrv.c:858: warning: (near initialization for `dpc_tasklet')
coredrv.c:858: warning: excess elements in struct initializer
coredrv.c:858: warning: (near initialization for `dpc_tasklet')
coredrv.c:858: warning: implicit declaration of function `ATOMIC_INIT'
coredrv.c:858: warning: excess elements in struct initializer
coredrv.c:858: warning: (near initialization for `dpc_tasklet')
coredrv.c:858: warning: excess elements in struct initializer
coredrv.c:858: warning: (near initialization for `dpc_tasklet')
coredrv.c:858: warning: excess elements in struct initializer
coredrv.c:858: warning: (near initialization for `dpc_tasklet')
coredrv.c:858: error: storage size of `dpc_tasklet' isn't known
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/root/intel/coredrv'
cp: cannot stat `Intel536.o': No such file or directory
[root@localhost intel]#

Can any one help resolve this problem??
 
Old 10-23-2004, 06:01 PM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
To be honest I did not read the whole log output , anyway it seems the kernel sources are missing. They are necessary to compile the module.
Hope this helps
Ciao
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Intel 536EP driver for modem to work in Slackware tur third Linux - Hardware 7 06-17-2005 04:16 AM
problems with Intel 536EP PCI Modem thundershtorm Linux - Hardware 1 06-13-2005 07:49 AM
intel 536ep modem maximillion78 Linux - Hardware 3 08-05-2004 06:08 PM
Intel 536ep modem on Fedora Core 1 Problem moto55 Linux - Hardware 3 07-03-2004 09:07 AM
536ep Intel modem Joe47 Linux - Newbie 18 11-24-2003 12:22 AM


All times are GMT -5. The time now is 02:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration