Registrado em: Mar 14, 2005 Mensagens: 17 Localização: paulinia/sp
Enviada: Qua Mar 16, 2005 10:35 am Assunto: instalação slmdm-2.7.10_debug.tar.gz
ola fiz a instalação padrao do fedora core 3 e estou tentando instalar o drive do meu moden,mas na hora de instalar (make, make instal, etc,) da um monte de erro, como sou um usuario sem muita experiencia em linux, acho que esta faltando algumas bibliotecas, se for isso mesmo como faço para instala-las, tem como instala-las pelos cds do fedora?pois estou sem conexão com a internet...
Seria de muito util alguma ajuda pois sem net nem da né?
valeu
Registrado em: Mar 14, 2005 Mensagens: 17 Localização: paulinia/sp
Enviada: Qui Mar 17, 2005 8:16 am Assunto:
Bom o erro que da é este!
Tipo acho que não existe os diretorios e tal,putz se alguem ajudasse ficaria muito grato.
valeu
bom ai vai
[kpinix@localhost meusdocs]$ cd drivemoden/
[kpinix@localhost drivemoden]$ ls
slmdm-2.7.10_debug slmdm-2.7.10_debug.tar.gz
[kpinix@localhost drivemoden]$ cd slmdm-2.7.10_debug
[kpinix@localhost slmdm-2.7.10_debug]$ make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -DMODEM_DEBUG=1 -o sllog.o -c sllog.c
cc1: /usr/src/linux/include/linux/modversions.h: Arquivo ou diretório não encontrado
In file included from /usr/include/linux/module.h:10,
from sllog.c:47:
/usr/include/linux/config.h:5:2: #error Incorrectly using glibc headers for a kernel module
sllog.c:51:24: linux/slab.h: Arquivo ou diretório não encontrado
sllog.c:52:26: linux/string.h: Arquivo ou diretório não encontrado
sllog.c:53:26: linux/bitops.h: Arquivo ou diretório não encontrado
In file included from /usr/include/linux/sched.h:13,
from sllog.c:55:
/usr/include/linux/times.h:7: error: syntax error before "clock_t"
/usr/include/linux/times.h:9: error: syntax error before "tms_cutime"
/usr/include/linux/times.h:10: error: syntax error before "tms_cstime"
In file included from /usr/include/linux/sched.h:14,
from sllog.c:55:
/usr/include/linux/timex.h:148: error: field `time' has incomplete type
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from sllog.c:55:
/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/signal.h:5,
from /usr/include/linux/sched.h:25,
from sllog.c:55:
/usr/include/asm/siginfo.h:26: error: syntax error before "pid_t"
/usr/include/asm/siginfo.h:38: error: syntax error before "pid_t"
/usr/include/asm/siginfo.h:41: error: syntax error before '}' token
/usr/include/asm/siginfo.h:45: error: syntax error before "pid_t"
/usr/include/asm/siginfo.h:48: error: syntax error before "_utime"
/usr/include/asm/siginfo.h:49: error: syntax error before "_stime"
/usr/include/asm/siginfo.h:62: error: syntax error before '}' token
/usr/include/asm/siginfo.h:63: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:65,
from sllog.c:55:
/usr/include/linux/time.h:10: error: syntax error before "time_t"
/usr/include/linux/time.h:12: error: syntax error before '}' token
/usr/include/linux/time.h:18: error: syntax error before "time_t"
/usr/include/linux/time.h:44: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:45: error: field `it_value' has incomplete type
/usr/include/linux/time.h:49: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:50: error: field `it_value' has incomplete type
In file included from /usr/include/linux/sched.h:67,
from sllog.c:55:
/usr/include/linux/resource.h:22: error: field `ru_utime' has incomplete type
/usr/include/linux/resource.h:23: error: field `ru_stime' has incomplete type
In file included from /usr/include/linux/interrupt.h:9,
from sllog.c:56:
/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 sllog.c:56:
/usr/include/linux/interrupt.h:12:25: asm/hardirq.h: Arquivo ou diretório não encontrado
/usr/include/linux/interrupt.h:13:25: asm/softirq.h: Arquivo ou diretório não encontrado
sllog.c:59:25: asm/uaccess.h: Arquivo ou diretório não encontrado
sllog.c:73: error: syntax error before "wait_queue_head_t"
sllog.c:73: warning: no semicolon at end of struct or union
sllog.c:83: error: syntax error before '}' token
sllog.c:91: error: syntax error before "sllog_lock"
sllog.c:91: warning: type defaults to `int' in declaration of `sllog_lock'
sllog.c:91: error: `SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
sllog.c:91: warning: data definition has no type or storage class
sllog.c: In function `log_data':
sllog.c:103: error: dereferencing pointer to incomplete type
sllog.c:105: error: dereferencing pointer to incomplete type
sllog.c:108: error: dereferencing pointer to incomplete type
sllog.c:108: error: dereferencing pointer to incomplete type
sllog.c:115: error: dereferencing pointer to incomplete type
sllog.c:115: error: dereferencing pointer to incomplete type
sllog.c:116: error: dereferencing pointer to incomplete type
sllog.c:116: error: dereferencing pointer to incomplete type
sllog.c:133: error: dereferencing pointer to incomplete type
sllog.c:133: error: dereferencing pointer to incomplete type
sllog.c:134: error: dereferencing pointer to incomplete type
sllog.c:134: error: dereferencing pointer to incomplete type
sllog.c:138: warning: implicit declaration of function `memcpy'
sllog.c:138: error: dereferencing pointer to incomplete type
sllog.c:138: error: dereferencing pointer to incomplete type
sllog.c:142: error: dereferencing pointer to incomplete type
sllog.c:142: error: dereferencing pointer to incomplete type
sllog.c:147: error: dereferencing pointer to incomplete type
sllog.c:148: error: dereferencing pointer to incomplete type
sllog.c:148: error: dereferencing pointer to incomplete type
sllog.c:148: error: dereferencing pointer to incomplete type
sllog.c:151: warning: implicit declaration of function `wake_up_interruptible'
sllog.c:151: error: dereferencing pointer to incomplete type
sllog.c: In function `modem_debug_log_data':
sllog.c:160: warning: implicit declaration of function `spin_lock_irqsave'
sllog.c:161: error: dereferencing pointer to incomplete type
sllog.c:164: warning: implicit declaration of function `spin_unlock_irqrestore'
sllog.c: In function `sllog_vprintf':
sllog.c:171: error: storage size of 'tv' isn't known
sllog.c:180: warning: implicit declaration of function `strlen'
sllog.c:183: warning: implicit declaration of function `do_gettimeofday'
sllog.c:187: warning: use of cast expressions as lvalues is deprecated
sllog.c:198: error: dereferencing pointer to incomplete type
sllog.c:201: warning: implicit declaration of function `sprintf'
sllog.c:202: warning: implicit declaration of function `in_interrupt'
sllog.c:206: warning: implicit declaration of function `vsprintf'
sllog.c:209: error: dereferencing pointer to incomplete type
sllog.c:210: error: dereferencing pointer to incomplete type
sllog.c:213: warning: implicit declaration of function `printk'
sllog.c:213: error: dereferencing pointer to incomplete type
sllog.c:215: error: dereferencing pointer to incomplete type
sllog.c:216: error: dereferencing pointer to incomplete type
sllog.c:223: error: dereferencing pointer to incomplete type
sllog.c:227: error: dereferencing pointer to incomplete type
sllog.c:227: error: dereferencing pointer to incomplete type
sllog.c:228: error: dereferencing pointer to incomplete type
sllog.c:228: error: dereferencing pointer to incomplete type
sllog.c:229: error: dereferencing pointer to incomplete type
sllog.c:229: error: dereferencing pointer to incomplete type
sllog.c:230: error: dereferencing pointer to incomplete type
sllog.c:230: error: dereferencing pointer to incomplete type
sllog.c:233: error: dereferencing pointer to incomplete type
sllog.c:233: error: dereferencing pointer to incomplete type
sllog.c:237: error: dereferencing pointer to incomplete type
sllog.c:237: error: dereferencing pointer to incomplete type
sllog.c:237: error: dereferencing pointer to incomplete type
sllog.c:238: error: dereferencing pointer to incomplete type
sllog.c:241: error: dereferencing pointer to incomplete type
sllog.c:171: warning: unused variable `tv'
sllog.c: At top level:
sllog.c:273: warning: "struct file" declared inside parameter list
sllog.c:273: warning: its scope is only this definition or declaration, which is probably not what you want
sllog.c:273: warning: "struct inode" declared inside parameter list
sllog.c: In function `sllog_open':
sllog.c:279: error: `EBUSY' undeclared (first use in this function)
sllog.c:279: error: (Each undeclared identifier is reported only once
sllog.c:279: error: for each function it appears in.)
sllog.c:281: warning: implicit declaration of function `atomic_inc'
sllog.c:281: error: `__this_module' undeclared (first use in this function)
sllog.c:282: warning: implicit declaration of function `kmalloc'
sllog.c:282: error: dereferencing pointer to incomplete type
sllog.c:282: error: `GFP_KERNEL' undeclared (first use in this function)
sllog.c:282: warning: assignment makes pointer from integer without a cast
sllog.c:284: warning: implicit declaration of function `atomic_dec'
sllog.c:285: error: `ENOMEM' undeclared (first use in this function)
sllog.c:287: warning: implicit declaration of function `memset'
sllog.c:287: error: dereferencing pointer to incomplete type
sllog.c:288: error: dereferencing pointer to incomplete type
sllog.c:288: warning: implicit declaration of function `__get_free_pages'
sllog.c:289: error: dereferencing pointer to incomplete type
sllog.c:290: warning: implicit declaration of function `kfree'
sllog.c:294: warning: implicit declaration of function `init_waitqueue_head'
sllog.c:294: error: dereferencing pointer to incomplete type
sllog.c:295: error: dereferencing pointer to incomplete type
sllog.c:301: warning: implicit declaration of function `free_pages'
sllog.c:301: error: dereferencing pointer to incomplete type
sllog.c:318: error: dereferencing pointer to incomplete type
sllog.c: At top level:
sllog.c:323: warning: "struct file" declared inside parameter list
sllog.c:323: warning: "struct inode" declared inside parameter list
sllog.c: In function `sllog_close':
sllog.c:325: error: dereferencing pointer to incomplete type
sllog.c:332: error: dereferencing pointer to incomplete type
sllog.c:334: error: `__this_module' undeclared (first use in this function)
sllog.c: At top level:
sllog.c:339: error: syntax error before "loff_t"
sllog.c: In function `sllog_read':
sllog.c:341: error: `file' undeclared (first use in this function)
sllog.c:344: error: `count' undeclared (first use in this function)
sllog.c:347: error: dereferencing pointer to incomplete type
sllog.c:348: error: dereferencing pointer to incomplete type
sllog.c:349: error: dereferencing pointer to incomplete type
sllog.c:349: error: dereferencing pointer to incomplete type
sllog.c:350: error: dereferencing pointer to incomplete type
sllog.c:350: error: dereferencing pointer to incomplete type
sllog.c:356: warning: implicit declaration of function `interruptible_sleep_on'
sllog.c:356: error: dereferencing pointer to incomplete type
sllog.c:357: warning: implicit declaration of function `signal_pending'
sllog.c:357: error: `current' undeclared (first use in this function)
sllog.c:358: error: `ERESTARTSYS' undeclared (first use in this function)
sllog.c:361: warning: implicit declaration of function `copy_to_user'
sllog.c:361: error: `buffer' undeclared (first use in this function)
sllog.c:361: error: dereferencing pointer to incomplete type
sllog.c:361: error: dereferencing pointer to incomplete type
sllog.c:362: error: `EFAULT' undeclared (first use in this function)
sllog.c:367: error: dereferencing pointer to incomplete type
sllog.c:368: error: dereferencing pointer to incomplete type
sllog.c:368: error: dereferencing pointer to incomplete type
sllog.c:368: error: dereferencing pointer to incomplete type
sllog.c: At top level:
sllog.c:376: warning: "struct file" declared inside parameter list
sllog.c:376: warning: "struct inode" declared inside parameter list
sllog.c: In function `sllog_ioctl':
sllog.c:378: error: dereferencing pointer to incomplete type
sllog.c:382: warning: implicit declaration of function `_IOW'
sllog.c:382: error: syntax error before "unsigned"
sllog.c:385: error: syntax error before "unsigned"
sllog.c:389: error: dereferencing pointer to incomplete type
sllog.c:391: warning: implicit declaration of function `_IO'
sllog.c:391: error: case label not within a switch statement
sllog.c:393: error: dereferencing pointer to incomplete type
sllog.c:394: error: dereferencing pointer to incomplete type
sllog.c:394: error: dereferencing pointer to incomplete type
sllog.c:394: error: dereferencing pointer to incomplete type
sllog.c:397: error: case label not within a switch statement
sllog.c:399: error: dereferencing pointer to incomplete type
sllog.c:400: error: dereferencing pointer to incomplete type
sllog.c:400: error: dereferencing pointer to incomplete type
sllog.c:400: error: dereferencing pointer to incomplete type
sllog.c: At top level:
sllog.c:404: error: syntax error before "return"
sllog.c:409: error: variable `sllog_fops' has initializer but incomplete type
sllog.c:411: error: unknown field `owner' specified in initializer
sllog.c:411: error: `__this_module' undeclared here (not in a function)
sllog.c:411: warning: excess elements in struct initializer
sllog.c:411: warning: (near initialization for `sllog_fops')
sllog.c:413: error: unknown field `read' specified in initializer
sllog.c:413: warning: excess elements in struct initializer
sllog.c:413: warning: (near initialization for `sllog_fops')
sllog.c:414: error: unknown field `poll' specified in initializer
sllog.c:414: warning: excess elements in struct initializer
sllog.c:414: warning: (near initialization for `sllog_fops')
sllog.c:415: error: unknown field `ioctl' specified in initializer
sllog.c:415: warning: excess elements in struct initializer
sllog.c:415: warning: (near initialization for `sllog_fops')
sllog.c:416: error: unknown field `open' specified in initializer
sllog.c:416: warning: excess elements in struct initializer
sllog.c:416: warning: (near initialization for `sllog_fops')
sllog.c:417: error: unknown field `release' specified in initializer
sllog.c:418: warning: excess elements in struct initializer
sllog.c:418: warning: (near initialization for `sllog_fops')
sllog.c:420: error: variable `misc_sllog' has initializer but incomplete type
sllog.c:421: error: unknown field `minor' specified in initializer
sllog.c:421: warning: excess elements in struct initializer
sllog.c:421: warning: (near initialization for `misc_sllog')
sllog.c:422: error: unknown field `name' specified in initializer
sllog.c:422: warning: excess elements in struct initializer
sllog.c:422: warning: (near initialization for `misc_sllog')
sllog.c:423: error: unknown field `fops' specified in initializer
sllog.c:423: warning: excess elements in struct initializer
sllog.c:423: warning: (near initialization for `misc_sllog')
sllog.c: In function `sllog_init':
sllog.c:439: warning: implicit declaration of function `spin_lock_init'
sllog.c:440: warning: implicit declaration of function `misc_register'
sllog.c: In function `sllog_exit':
sllog.c:445: warning: implicit declaration of function `misc_deregister'
sllog.c: At top level:
sllog.c:451: error: syntax error before "config_must_be_included_before_module"
sllog.c:451: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sllog.c:451: warning: data definition has no type or storage class
sllog.c:452: error: syntax error before "config_must_be_included_before_module"
sllog.c:452: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sllog.c:452: warning: data definition has no type or storage class
sllog.c:409: error: storage size of `sllog_fops' isn't known
sllog.c:420: error: storage size of `misc_sllog' isn't known
make: ** [sllog.o] Erro 1
[kpinix@localhost slmdm-2.7.10_debug]$ su
Password:
[root@localhost slmdm-2.7.10_debug]# make install
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -DMODEM_DEBUG=1 -o kernel-ver.o -c kernel-ver.c
cc1: /usr/src/linux/include/linux/modversions.h: Arquivo ou diretório não encontrado
make: ** [kernel-ver.o] Erro 1
[root@localhost slmdm-2.7.10_debug]#