ether_ctl build error: ‘SYSCALL_CALL’ undeclared (first use in this function)

123 views
Skip to first unread message

Chris

unread,
Nov 30, 2009, 7:16:10 AM11/30/09
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




Danny Quist

unread,
Nov 30, 2009, 11:37:01 AM11/30/09
to ether...@googlegroups.com, ether-devel
Did you do a make install in the xen directory?

Danny

Sent from my mobile device.

Chris

unread,
Nov 30, 2009, 4:21:05 PM11/30/09
to ether-devel
Yes, that was it. That should probably be added to the "Building
Ether Controller" step in the build instructions:
http://ether.gtisc.gatech.edu/source.html

Thanks,
Chris

On Nov 30, 5:37 pm, Danny Quist <dannyqu...@gmail.com> wrote:
> Did you do a make install in the xen directory?
>
> Danny
>
> Sent from my mobile device.
>

Danny Quist

unread,
Nov 30, 2009, 5:02:07 PM11/30/09
to ether...@googlegroups.com
Ok, glad it worked!

Danny

danny

unread,
Feb 25, 2015, 2:06:49 PM2/25/15
to ether...@googlegroups.com
Hi I know this post is super old, but I've run into the same issue and I have tried 'make install' in my xen directory. My ether ctrl still does not build.

Any thoughts?

Thanks,

Danny

Danny Quist

unread,
Mar 19, 2015, 1:49:37 PM3/19/15
to ether...@googlegroups.com
Hi,

Sorry for the late response. Xen 3.1 is very old, and the last versions of Debian released in the stable field where it would build was modified at the very end. I'm working on a KVM based replacement in my spare time. The effort has been stalled due to me moving to a job where I don't have time to work on it any longer.

Danny

--

---
You received this message because you are subscribed to the Google Groups "ether-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ether-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages