Error while compilation of apple gdb-309 on Linux
Error while compilation of apple gdb-309 on Linux
- Subject: Error while compilation of apple gdb-309 on Linux
- From: <email@hidden>
- Date: Mon, 8 Aug 2005 18:01:40 +0530
- Thread-topic: Error while compilation of apple gdb-309 on Linux
Title: Error while compilation of apple gdb-309 on Linux
Hello All,
I am trying to build the apple-gdb on Suse linux (linux 2.6.5-7.97-smp ). I followed the steps mentioned in link
http://lists.apple.com/archives/darwin-kernel/2004/Jun/msg00014.html
But am getting the following error:,
~~snip of compile outpur~~
/usr/include/darwin/architecture/byte_order.h: In function `NXSwapHostShortToLittle':
/usr/include/darwin/architecture/byte_order.h:323: warning: implicit declaration of function `OSSwapHostToLittleInt16'
/usr/include/darwin/architecture/byte_order.h: In function `NXSwapHostIntToLittle':
/usr/include/darwin/architecture/byte_order.h:332: warning: implicit declaration of function `OSSwapHostToLittleInt32'
/usr/include/darwin/architecture/byte_order.h: In function `NXSwapHostLongLongToLittle':
/usr/include/darwin/architecture/byte_order.h:350: warning: implicit declaration of function `OSSwapHostToLittleInt64'
In file included from /usr/include/darwin/mach-o/dyld_debug.h:28,
from macosx/macosx-nat-dyld.h:8,
from macosx/cached-symfile.c:44:
/usr/include/darwin/mach-o/dyld.h: At top level:
~~error~~~
/usr/include/darwin/mach-o/dyld.h:314: error: syntax error before "int"
~~end of error~~~
macosx/cached-symfile.c: In function `relocate':
When I look into the /usr/include/darwin/mach-o/dyld.h for line 314,
it showed me
__private_extern__ int _dyld_func_lookup(
const char *dyld_func_name,
unsigned long *address);
Any pointers to remove this error?
Thank you,
Priti
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or email@hidden immediately
and destroy all copies of this message and any attachments.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden