m00nlight
unread,Jul 27, 2011, 7:21:21 AM7/27/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ether-devel
Hello everyone:
I am currently build the ether on a centOS 5.6_x64 system. I
successfully build the xen
and the ether patches and can boot both the domain0 and domainU
system. But when I build the ether controler, I encounter the problem
as follows:
rm -rf ./*.o ./ether ./*.output ./*.pp.* ./pp.* ./*.tab.* ./*.yy.* *~
bison -v -d -p pp -o pp.parameters.c parameters.y
gcc -g -c -Wall -O2 -o pp.parameters.o pp.parameters.c
flex --prefix=pp -o parameters.pp.c parameters.l
gcc -g -c -Wall -O2 -o parameters.pp.o parameters.pp.c
parameters.pp.c:1194: warning: ‘yyunput’ defined but not used
bison -v -d ntapi.y
gcc -g -c -Wall -O2 -o ntapi.tab.o ntapi.tab.c
flex ntapi.l
gcc -g -c -Wall -O2 -o lex.yy.o lex.yy.c
lex.yy.c:1096: warning: ‘yyunput’ defined but not used
gcc -g -c -Wall -O2 ConvertUTF.c -o ConvertUTF.o
gcc -g -c -Wall -O2 parameters.c -o parameters.o
parameters.c: In function ‘convert_unicode_string’:
parameters.c:284: warning: passing argument 1 of ‘ConvertUTF16toUTF8’
from incompatible pointer type
gcc -g -c -Wall -O2 syscalls.c -o syscalls.o
In file included from syscalls.c:11:
ether.h:12: warning: ‘struct ether_communication’ declared inside
parameter list
ether.h:12: warning: its scope is only this definition or declaration,
which is probably not what you want
syscalls.c: In function ‘process_generic_syscall’:
syscalls.c:196: error: dereferencing pointer to incomplete type
syscalls.c:196: error: ‘SYSCALL_CALL’ undeclared (first use in this
function)
syscalls.c:196: error: (Each undeclared identifier is reported only
once
syscalls.c:196: error: for each function it appears in.)
syscalls.c:202: error: dereferencing pointer to incomplete type
syscalls.c:206: error: dereferencing pointer to incomplete type
syscalls.c:207: error: dereferencing pointer to incomplete type
syscalls.c:208: error: dereferencing pointer to incomplete type
syscalls.c:209: error: dereferencing pointer to incomplete type
syscalls.c:217: error: dereferencing pointer to incomplete type
syscalls.c:228: error: dereferencing pointer to incomplete type
syscalls.c: In function ‘process_NtDeviceIoControlFile’:
syscalls.c:238: error: dereferencing pointer to incomplete type
syscalls.c:238: error: ‘SYSCALL_CALL’ undeclared (first use in this
function)
syscalls.c:246: error: dereferencing pointer to incomplete type
syscalls.c:247: error: dereferencing pointer to incomplete type
syscalls.c:248: error: dereferencing pointer to incomplete type
syscalls.c:270: error: dereferencing pointer to incomplete type
syscalls.c:271: error: dereferencing pointer to incomplete type
syscalls.c:272: error: dereferencing pointer to incomplete type
syscalls.c:279: error: dereferencing pointer to incomplete type
syscalls.c:280: error: dereferencing pointer to incomplete type
syscalls.c:281: error: dereferencing pointer to incomplete type
syscalls.c: In function ‘process_NtRequestWaitReplyPort’:
syscalls.c:329: error: dereferencing pointer to incomplete type
syscalls.c:330: error: dereferencing pointer to incomplete type
syscalls.c:331: error: dereferencing pointer to incomplete type
syscalls.c: In function ‘nt_print_syscall’:
syscalls.c:357: error: dereferencing pointer to incomplete type
syscalls.c:357: error: ‘SYSCALL_CALL’ undeclared (first use in this
function)
syscalls.c:360: error: dereferencing pointer to incomplete type
syscalls.c:362: error: dereferencing pointer to incomplete type
syscalls.c:369: error: dereferencing pointer to incomplete type
syscalls.c:370: error: dereferencing pointer to incomplete type
syscalls.c:379: error: dereferencing pointer to incomplete type
syscalls.c:379: error: dereferencing pointer to incomplete type
syscalls.c:379: error: dereferencing pointer to incomplete type
syscalls.c:389: error: dereferencing pointer to incomplete type
syscalls.c:395: error: dereferencing pointer to incomplete type
syscalls.c:399: error: dereferencing pointer to incomplete type
syscalls.c:399: error: ‘SYSCALL_RET’ undeclared (first use in this
function)
make: *** [syscalls.o] Error 1
And I grep the source code under ehter_ctl , it seems that only the
syscalls.c have the
identify SYSCALL_CALL, but there is no definition in any file in the
folder. Have any one
encounter the same problem, and can someone help me fix this problem.
Thanks a lot.