Hallo,
ich versuche auf einem einem Ubuntu Dapper Zaptel zu kompelieren. Dabei kommt es immer zu einem Fehler.
Hier ein paar Infos:
- Linux ipm-tk-1 2.6.15-25-server #1 SMP Wed Jun 14 11:52:05 UTC 2006 i686 GNU/Linux
- gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
- ls -lah /usr/src/
total 43M
drwxrwsr-x 8 root src 4.0K 2006-06-28 19:27 .
drwxr-xr-x 10 root root 4.0K 2006-06-28 17:45 ..
drwxr-xr-x 25 bla bla 4.0K 2006-06-06 18:19 asterisk-1.2.9.1
drwxr-xr-x 2 bla bla 4.0K 2006-06-28 18:22 libpri-1.2.3
lrwxrwxrwx 1 root src 19 2006-06-28 18:26 linux -> linux-source-2.6.15
lrwxrwxrwx 1 root src 14 2006-06-28 19:27 linux-2.6 -> /usr/src/linux
drwxr-xr-x 20 root root 4.0K 2006-06-14 14:08 linux-source-2.6.15
-rw-r--r-- 1 root root 43M 2006-06-14 14:09 linux-source-2.6.15.tar.bz2
drwxr-xr-x 6 bla bla 4.0K 2006-06-28 19:27 zaptel-1.2.6
Der Fehler:
[...]
/usr/src/zaptel-1.2.6/zaptel.c:6443: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6444: error: unknown field ‘read’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6444: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6444: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6445: error: unknown field ‘write’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6445: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6445: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6446: error: unknown field ‘poll’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6446: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6446: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6447: error: unknown field ‘mmap’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6447: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6447: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6448: error: unknown field ‘flush’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6448: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6448: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6449: error: unknown field ‘fsync’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6449: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6449: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6450: error: unknown field ‘fasync’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6450: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6450: warning: (near initialization for ‘zt_fops’)
{standard input}: Assembler messages:
{standard input}:693: Error: symbol `rv' is already defined
{standard input}:707: Error: symbol `rv' is already defined
{standard input}:714: Error: symbol `c' is already defined
{standard input}:720: Error: symbol `rv' is already defined
make[2]: *** [/usr/src/zaptel-1.2.6/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.15'
make: *** [linux26] Error 2
Jemand eine Idee?
Danke und Gruß
Börni
ich versuche auf einem einem Ubuntu Dapper Zaptel zu kompelieren. Dabei kommt es immer zu einem Fehler.
Hier ein paar Infos:
- Linux ipm-tk-1 2.6.15-25-server #1 SMP Wed Jun 14 11:52:05 UTC 2006 i686 GNU/Linux
- gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
- ls -lah /usr/src/
total 43M
drwxrwsr-x 8 root src 4.0K 2006-06-28 19:27 .
drwxr-xr-x 10 root root 4.0K 2006-06-28 17:45 ..
drwxr-xr-x 25 bla bla 4.0K 2006-06-06 18:19 asterisk-1.2.9.1
drwxr-xr-x 2 bla bla 4.0K 2006-06-28 18:22 libpri-1.2.3
lrwxrwxrwx 1 root src 19 2006-06-28 18:26 linux -> linux-source-2.6.15
lrwxrwxrwx 1 root src 14 2006-06-28 19:27 linux-2.6 -> /usr/src/linux
drwxr-xr-x 20 root root 4.0K 2006-06-14 14:08 linux-source-2.6.15
-rw-r--r-- 1 root root 43M 2006-06-14 14:09 linux-source-2.6.15.tar.bz2
drwxr-xr-x 6 bla bla 4.0K 2006-06-28 19:27 zaptel-1.2.6
Der Fehler:
[...]
/usr/src/zaptel-1.2.6/zaptel.c:6443: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6444: error: unknown field ‘read’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6444: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6444: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6445: error: unknown field ‘write’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6445: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6445: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6446: error: unknown field ‘poll’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6446: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6446: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6447: error: unknown field ‘mmap’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6447: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6447: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6448: error: unknown field ‘flush’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6448: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6448: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6449: error: unknown field ‘fsync’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6449: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6449: warning: (near initialization for ‘zt_fops’)
/usr/src/zaptel-1.2.6/zaptel.c:6450: error: unknown field ‘fasync’ specified in initializer
/usr/src/zaptel-1.2.6/zaptel.c:6450: warning: excess elements in struct initializer
/usr/src/zaptel-1.2.6/zaptel.c:6450: warning: (near initialization for ‘zt_fops’)
{standard input}: Assembler messages:
{standard input}:693: Error: symbol `rv' is already defined
{standard input}:707: Error: symbol `rv' is already defined
{standard input}:714: Error: symbol `c' is already defined
{standard input}:720: Error: symbol `rv' is already defined
make[2]: *** [/usr/src/zaptel-1.2.6/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.15'
make: *** [linux26] Error 2
Jemand eine Idee?
Danke und Gruß
Börni