New Problem

38 views
Skip to first unread message

m00nlight

unread,
Jul 27, 2011, 7:47:02 AM7/27/11
to ether-devel
Sorry for trouble :
I have fixed the previous problem with add the #include <xen/hvm/
ether.h> to syscall.c
and now I encounter a new compile problem;

rm -rf ./*.o ./ether ./*.output ./*.pp.* ./pp.* ./*.tab.* ./*.yy.* *~
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
syscalls.c: In function ‘domain_read_32bits’:
syscalls.c:164: warning: implicit declaration of function
‘ether_readguest’
gcc -g -c -Wall -O2 hashtable.c -o hashtable.o
gcc -g -c -Wall -O2 saved_parameters.c -o saved_parameters.o
gcc -g -c -Wall -O2 unpack.c -o unpack.o
In file included from unpack.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
gcc -g -c -Wall -O2 ether.c -o ether.o
ether.c: In function ‘ether_domctl’:
ether.c:20: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:20: error: (Each undeclared identifier is reported only once
ether.c:20: error: for each function it appears in.)
ether.c:21: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_terminate’:
ether.c:35: error: ‘XEN_DOMCTL_ETHER_TERMINATE’ undeclared (first use
in this function)
ether.c: In function ‘ether_readguest’:
ether.c:52: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:53: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:53: error: ‘XEN_DOMCTL_ETHER_READ_GUEST’ undeclared (first use
in this function)
ether.c:54: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:55: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:56: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_ss’:
ether.c:77: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:78: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:78: error: ‘XEN_DOMCTL_ETHER_SINGLE_STEP’ undeclared (first
use in this function)
ether.c:79: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_ss_notify’:
ether.c:99: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:100: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:100: error: ‘XEN_DOMCTL_ETHER_SS_DETECT’ undeclared (first use
in this function)
ether.c:101: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_memwrite_notify’:
ether.c:121: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:122: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:122: error: ‘XEN_DOMCTL_ETHER_MEMWRITE’ undeclared (first use
in this function)
ether.c:123: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_unpack_notify’:
ether.c:143: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:144: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:144: error: ‘XEN_DOMCTL_ETHER_UNPACK’ undeclared (first use in
this function)
ether.c:145: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_name’:
ether.c:166: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:167: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:168: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:169: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_set_guest_sysenter’:
ether.c:194: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:195: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:195: error: ‘XEN_DOMCTL_ETHER_SET_SYSENTER’ undeclared (first
use in this function)
ether.c:196: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:197: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_initialize_communication’:
ether.c:218: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:219: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:219: error: ‘XEN_DOMCTL_ETHER_INIT’ undeclared (first use in
this function)
ether.c:221: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:234: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c: In function ‘ether_add_cr3_filter’:
ether.c:247: error: ‘XEN_DOMCTL_ether’ undeclared (first use in this
function)
ether.c:248: error: ‘union <anonymous>’ has no member named ‘ether’
ether.c:248: error: ‘XEN_DOMCTL_ETHER_ADD_CR3’ undeclared (first use
in this function)
ether.c:249: error: ‘union <anonymous>’ has no member named ‘ether’
make: *** [ether.o] Error 1

I grep the header file in the /usr/include/xen/ directory but could
not fine the definition of
the definition of the identifer above. Can anyone help me ?

Thanks a lot and sorry for the trouble I cause.
Reply all
Reply to author
Forward
0 new messages