WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 02.10.2005, 06:55   #1
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Frage 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
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Alt 02.10.2005, 07:04   #2
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Standard hier ist die serial.c

hier ist die serial.c
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Alt 02.10.2005, 08:43   #3
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Standard 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
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Alt 02.10.2005, 09:10   #4
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Standard Bitte Bitte

Bitte HILFE!
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Alt 02.10.2005, 14:14   #5
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

#include <time.h> ?

~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 02.10.2005, 14:44   #6
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Standard 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:
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Alt 02.10.2005, 15:39   #7
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

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...

~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 02.10.2005, 16:16   #8
arsi
Jr. Member
 
Registriert seit: 29.01.2003
Alter: 41
Beiträge: 54


arsi eine Nachricht über ICQ schicken
Reden DANKE DANKE

hallo!


herzlichen dank an käptn...

haut wieder alles hin.


is ein ax25 terminal programm!!



danke ... mfg Andreas
____________________________________
<a href=\"http://www.cyberlord.at/?partner=16580\" target=\"_blank\">
<img src=\"http://www.cyberlord.at/images/banner/normal_ani.gif\" border=0>
</a>
arsi ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:41 Uhr.


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