Chris
unread,Nov 30, 2009, 7:16:10 AM11/30/09Sign 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,
I have been following your Ether build instructions for our Lenny
system. Everything has worked fine up until the ether_ctl build step,
which produces the following errors:
error: dereferencing pointer to incomplete type
error: ‘SYSCALL_CALL’ undeclared (first use in this function)
Thanks for all of your help,
Chris
Environment:
Linux [...] 2.6.26-2-xen-amd64 #1 SMP Thu Nov 5 04:27:12 UTC 2009
x86_64 GNU/Linux
Full log:
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