WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Compilieren fehlgeschlagen die zweite :-) (http://www.wcm.at/forum/showthread.php?t=175193)

arsi 02.10.2005 06:55

Compilieren fehlgeschlagen die zweite :-)
 
Hallo!

Nun nochmal, hab schon wieder ein proggi das sich net compilieren lassen will!

vielleicht hat jemand zeit und lust und könnte sich das mal ansehen! ;) (?käptn?)


Hier ist das error log:
---cut---
arsi@10466_001:~/daten/tnt$ make
gcc -funsigned-char -O2 -DTNT_LINUX -c -o serial.o serial.c
In file included from config.h:113,
from tnt.h:24,
from serial.c:9:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
serial.c: In function `resync_tnc':
serial.c:723: storage size of `cvtime' isn't known
serial.c:765: invalid type argument of `unary *'
serial.c:789: invalid type argument of `unary *'
serial.c:809: invalid type argument of `unary *'
serial.c: In function `send_block':
serial.c:1040: storage size of `cvtime' isn't known
serial.c:1053: invalid type argument of `unary *'
serial.c: In function `block_receiver':
serial.c:1105: storage size of `cvtime' isn't known
serial.c:1208: invalid type argument of `unary *'
make: *** [serial.o] Error 1
arsi@10466_001:~/daten/tnt$
---cut---


danke ... mfg Andreas

arsi 02.10.2005 07:04

hier ist die serial.c
 
hier ist die serial.c

arsi 02.10.2005 08:43

Neue Version ... gleicher Fehler!
 
Hallo!


So habe jetzt nach langem suchen doch noch
eine neue Version des Programms gefunden!

Jedoch annähernd der gleiche Fehler:
arsi@10466_001:~/daten/tnt$ make
gcc -funsigned-char -O2 -DTNT_LINUX -c -o main.o main.c
In file included from config.h:113,
from tnt.h:24,
from main.c:8:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
gcc -funsigned-char -O2 -DTNT_LINUX -c -o serial.o serial.c
In file included from config.h:113,
from tnt.h:24,
from serial.c:9:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
serial.c: In function `resync_tnc':
serial.c:749: storage size of `cvtime' isn't known
serial.c:790: invalid type argument of `unary *'
serial.c:814: invalid type argument of `unary *'
serial.c:834: invalid type argument of `unary *'
serial.c: In function `send_block':
serial.c:1065: storage size of `cvtime' isn't known
serial.c:1089: invalid type argument of `unary *'
serial.c: In function `block_receiver':
serial.c:1141: storage size of `cvtime' isn't known
serial.c:1244: invalid type argument of `unary *'
make: *** [serial.o] Error 1
arsi@10466_001:~/daten/tnt$


für hilfe bin ich sehr dankbar!


hier noch die neue "serial.c"



mfg Andreas

arsi 02.10.2005 09:10

Bitte Bitte
 
Bitte HILFE! :-)

käptn 02.10.2005 14:14

#include <time.h> ?

~

arsi 02.10.2005 14:44

Du bist meine Rettung
 
Hallo !


Danke Käptn du bist meine Rettung!

Doch hab schon das nächste Problem:

arsi@10466_001:~/daten/tnt$ make
gcc -funsigned-char -O2 -DTNT_LINUX -c -o remote.o remote.c
In file included from config.h:113,
from tnt.h:24,
from remote.c:9:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
gcc -funsigned-char -O2 -DTNT_LINUX -c -o cookie.o cookie.c
In file included from config.h:113,
from tnt.h:24,
from cookie.c:9:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
gcc -funsigned-char -O2 -DTNT_LINUX -c -o crc.o crc.c
In file included from config.h:113,
from tnt.h:24,
from crc.c:10:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
gcc -funsigned-char -O2 -DTNT_LINUX -c -o shell.o shell.c
In file included from config.h:113,
from tnt.h:24,
from shell.c:9:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
shell.c: In function `shell_fdset':
shell.c:2081: dereferencing pointer to incomplete type
shell.c:2092: dereferencing pointer to incomplete type
shell.c:2102: dereferencing pointer to incomplete type
shell.c: In function `shell_receive':
shell.c:2137: dereferencing pointer to incomplete type
shell.c:2164: dereferencing pointer to incomplete type
shell.c:2188: dereferencing pointer to incomplete type
make: *** [shell.o] Error 1



und die datei:

käptn 02.10.2005 15:39

Zeile 2068 "struct fd_set *fdmask;" => "fd_set *fdmask;"

Zeile 2113 dasselbe.

Was kompilierst du denn da eingeltlich für uralten Schrott?

Ich glaub' nicht, dass das läuft wenn's fertig ist... ;)

~

arsi 02.10.2005 16:16

DANKE DANKE
 
hallo!


herzlichen dank an käptn...

haut wieder alles hin.


is ein ax25 terminal programm!!



danke ... mfg Andreas


Alle Zeitangaben in WEZ +2. Es ist jetzt 17:40 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag