Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] Compilation problem win2k: ethereal-tap-register.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 24 Oct 2005 16:49:27 -0400 (EDT)
Greetings;

I'm new to the Ethereal build environment as this is my first attempt. I
am successful in building the disectors and libethereal.dll, but fail
building the ethereal-tap-register component. After looking through the
archives, I have noticed the same exact problem posted earlier, but I have
not found a solution.

Please advise.
Thanks!
-(dan)

See below the previous post.
//////////////////////////////////////////////////////////////////////////////
Compilation of trunk revision 13027 fails on win2k with the error message
below. What is wrong?

/Susanne

ethereal-tap-register.c(4) : error C2182: 'File' : illegal use of type 'void'
ethereal-tap-register.c(4) : error C2146: syntax error : missing ';'
before iden
tifier 'STDIN'
ethereal-tap-register.c(4) : error C2059: syntax error : ';'
ethereal-tap-register.c(5) : error C2146: syntax error : missing ';'
before iden
tifier 'STDIN'
ethereal-tap-register.c(5) : error C2059: syntax error : ')'
ethereal-tap-register.c(8) : error C2182: 'File' : illegal use of type 'void'
ethereal-tap-register.c(8) : error C2146: syntax error : missing ';'
before iden
tifier 'STDIN'
ethereal-tap-register.c(8) : error C2059: syntax error : ';'
ethereal-tap-register.c(9) : error C2146: syntax error : missing ';'
before iden
tifier 'STDIN'
ethereal-tap-register.c(9) : error C2059: syntax error : ')'
ethereal-tap-register.c(12) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(12) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(12) : error C2059: syntax error : ';'
ethereal-tap-register.c(13) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(13) : error C2059: syntax error : ')'
ethereal-tap-register.c(16) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(16) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(16) : error C2059: syntax error : ';'
ethereal-tap-register.c(17) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(17) : error C2059: syntax error : ')'
ethereal-tap-register.c(20) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(20) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(20) : error C2059: syntax error : ';'
ethereal-tap-register.c(21) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(21) : error C2059: syntax error : ')'
ethereal-tap-register.c(24) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(24) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(24) : error C2059: syntax error : ';'
ethereal-tap-register.c(25) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(25) : error C2059: syntax error : ')'
ethereal-tap-register.c(28) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(28) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(28) : error C2059: syntax error : ';'
ethereal-tap-register.c(29) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(29) : error C2059: syntax error : ')'
ethereal-tap-register.c(32) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(32) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(32) : error C2059: syntax error : ';'
ethereal-tap-register.c(33) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(33) : error C2059: syntax error : ')'
ethereal-tap-register.c(36) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(36) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(36) : error C2059: syntax error : ';'
ethereal-tap-register.c(37) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(37) : error C2059: syntax error : ')'
ethereal-tap-register.c(40) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(40) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(40) : error C2059: syntax error : ';'
ethereal-tap-register.c(41) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(41) : error C2059: syntax error : ')'
ethereal-tap-register.c(44) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(44) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(44) : error C2059: syntax error : ';'
ethereal-tap-register.c(45) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(45) : error C2059: syntax error : ')'
ethereal-tap-register.c(48) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(48) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(48) : error C2059: syntax error : ';'
ethereal-tap-register.c(49) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(49) : error C2059: syntax error : ')'
ethereal-tap-register.c(52) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(52) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(52) : error C2059: syntax error : ';'
ethereal-tap-register.c(53) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(53) : error C2059: syntax error : ')'
ethereal-tap-register.c(56) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(56) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(56) : error C2059: syntax error : ';'
ethereal-tap-register.c(57) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(57) : error C2059: syntax error : ')'
ethereal-tap-register.c(60) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(60) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(60) : error C2059: syntax error : ';'
ethereal-tap-register.c(61) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(61) : error C2059: syntax error : ')'
ethereal-tap-register.c(64) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(64) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(64) : error C2059: syntax error : ';'
ethereal-tap-register.c(65) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(65) : error C2059: syntax error : ')'
ethereal-tap-register.c(68) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(68) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(68) : error C2059: syntax error : ';'
ethereal-tap-register.c(69) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(69) : error C2059: syntax error : ')'
ethereal-tap-register.c(72) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(72) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(72) : error C2059: syntax error : ';'
ethereal-tap-register.c(73) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(73) : error C2059: syntax error : ')'
ethereal-tap-register.c(76) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(76) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(76) : error C2059: syntax error : ';'
ethereal-tap-register.c(77) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(77) : error C2059: syntax error : ')'
ethereal-tap-register.c(80) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(80) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(80) : error C2059: syntax error : ';'
ethereal-tap-register.c(81) : error C2146: syntax error : missing ';'
before ide
ntifier 'STDIN'
ethereal-tap-register.c(81) : error C2059: syntax error : ')'
ethereal-tap-register.c(84) : error C2182: 'File' : illegal use of type
'void'
ethereal-tap-register.c(84) : fatal error C1003: error count exceeds 100;
stoppi
ng compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\Bin\N
MAKE.EXE"' : return code '0x2'
Stop.