[darwinbuild] Building darwinbuild
Just tried to build darwinbuild from the 0.7.2 sources and immediately ran into a ton of errors. Where the heck is ppc/anshi.h ??? I see a /usr/include/machine/ansi.h but there is no ppc folder in the machines folder. Am I missing something? This is a standard 10.4.3 install with XCode. ----------------------- [g5]~/Downloads/darwinbuild-0.7.2 (499): make *** Making all in darwinbuild *** cc -o manifest -lcrypto manifest.c In file included from /usr/include/sys/types.h:74, from manifest.c:33: /usr/include/machine/ansi.h:33:22: ppc/ansi.h: No such file or directory In file included from manifest.c:33: /usr/include/sys/types.h:118: error: parse error before "clock_t" /usr/include/sys/types.h:123: error: parse error before "size_t" /usr/include/sys/types.h:128: error: parse error before "ssize_t" /usr/include/sys/types.h:133: error: parse error before "time_t" In file included from /usr/include/sys/stat.h:67, from manifest.c:34: /usr/include/sys/time.h:79: error: parse error before "time_t" /usr/include/sys/time.h:81: error: parse error before '}' token In file included from /usr/include/_types.h:27, from /usr/include/time.h:66, from /usr/include/sys/time.h:176, from /usr/include/sys/stat.h:67, from manifest.c:34: /usr/include/sys/_types.h:66: error: redefinition of `struct _opaque_pthread_attr_t' /usr/include/sys/_types.h:67: error: redefinition of `struct _opaque_pthread_cond_t' /usr/include/sys/_types.h:68: error: redefinition of `struct _opaque_pthread_condattr_t' /usr/include/sys/_types.h:69: error: redefinition of `struct _opaque_pthread_mutex_t' /usr/include/sys/_types.h:70: error: redefinition of `struct _opaque_pthread_mutexattr_t' /usr/include/sys/_types.h:72: error: redefinition of `struct _opaque_pthread_rwlock_t' /usr/include/sys/_types.h:73: error: redefinition of `struct _opaque_pthread_rwlockattr_t' /usr/include/sys/_types.h:74: error: redefinition of `struct _opaque_pthread_t' In file included from /usr/include/sys/time.h:176, from /usr/include/sys/stat.h:67, from manifest.c:34: /usr/include/time.h:74: error: `clock_t' redeclared as different kind of symbol /usr/include/sys/types.h:118: error: previous declaration of `clock_t' /usr/include/time.h:79: error: `size_t' redeclared as different kind of symbol /usr/include/sys/types.h:123: error: previous declaration of `size_t' /usr/include/time.h:84: error: `time_t' redeclared as different kind of symbol /usr/include/sys/types.h:133: error: previous declaration of `time_t' In file included from /usr/include/sys/time.h:176, from /usr/include/sys/stat.h:67, from manifest.c:34: /usr/include/time.h:134: error: parse error before "__DARWIN_ALIAS" /usr/include/time.h:158: error: parse error before "__DARWIN_ALIAS" In file included from /usr/include/sys/param.h:118, from manifest.c:35: /usr/include/sys/signal.h:280: error: redefinition of `struct sigaltstack' In file included from manifest.c:40: /usr/include/stdio.h:258: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:263: error: parse error before "__DARWIN_ALIAS" /usr/include/stdio.h:264: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:268: error: parse error before "__DARWIN_ALIAS" /usr/include/stdio.h:277: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:284: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:287: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:288: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:292: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:293: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:294: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:296: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:297: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:342: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:344: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:345: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:346: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:347: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdio.h:374: error: parse error before "__DARWIN_LDBL_COMPAT" In file included from manifest.c:41: /usr/include/unistd.h:105: error: `ssize_t' redeclared as different kind of symbol /usr/include/sys/types.h:128: error: previous declaration of `ssize_t' /usr/include/unistd.h:431: error: parse error before "__DARWIN_ALIAS" In file included from /usr/include/mach/mach_interface.h:38, from /usr/include/mach/mach.h:62, from /usr/include/sys/event.h:154, from /usr/include/sys/select.h:71, from /usr/include/unistd.h:483, from manifest.c:41: /usr/include/mach/host_priv.h:310: error: parse error before "mach_vm_address_t" /usr/include/mach/host_priv.h:681: error: parse error before "mach_vm_address_t" /usr/include/mach/host_priv.h:684: error: parse error before '}' token /usr/include/mach/host_priv.h:785: error: parse error before "__Request__mach_vm_wire_t" /usr/include/mach/host_priv.h:792: error: parse error before '}' token In file included from /usr/include/mach/mach_interface.h:47, from /usr/include/mach/mach.h:62, from /usr/include/sys/event.h:154, from /usr/include/sys/select.h:71, from /usr/include/unistd.h:483, from manifest.c:41: /usr/include/mach/vm_map.h:455: error: parse error before "vm_purgable_t" /usr/include/mach/vm_map.h:874: error: parse error before "vm_purgable_t" /usr/include/mach/vm_map.h:876: error: parse error before '}' token /usr/include/mach/vm_map.h:913: error: parse error before "__Request__vm_purgable_control_t" In file included from /usr/include/mach/mach.h:65, from /usr/include/sys/event.h:154, from /usr/include/sys/select.h:71, from /usr/include/unistd.h:483, from manifest.c:41: /usr/include/mach/mach_host.h:296: error: parse error before "lockgroup_info_array_t" In file included from manifest.c:41: /usr/include/unistd.h:570: error: parse error before "__DARWIN_ALIAS" /usr/include/unistd.h:571: error: parse error before "__DARWIN_ALIAS" In file included from /usr/include/openssl/crypto.h:62, from /usr/include/openssl/bio.h:67, from /usr/include/openssl/evp.h:75, from manifest.c:43: /usr/include/stdlib.h:181: error: parse error before "__DARWIN_LDBL_COMPAT" /usr/include/stdlib.h:221: error: parse error before "__DARWIN_ALIAS" /usr/include/stdlib.h:226: error: parse error before "__DARWIN_ALIAS" make[1]: *** [manifest] Error 1 *** Making all in darwinxref *** cc -o darwinxref \ -DDEFAULT_DB_FILE=\".build/xref.db\" -DDEFAULT_PLUGIN_PATH= \"/usr/local/share/darwinxref/plugins\" -g -DHAVE_TCL_PLUGINS=1 - DVERSION=\"0.7.2\" \ -framework CoreFoundation -ltcl \ DBDataStore.c DBPlugin.c DBTclPlugin.c cfutils.c main.c \ -lsqlite3 In file included from /usr/include/sys/types.h:74, from /System/Library/Frameworks/ CoreFoundation.framework/Headers/CoreFoundation.h:9, from DBPlugin.h:36, from DBDataStore.c:33: /usr/include/machine/ansi.h:33:22: ppc/ansi.h: No such file or directory In file included from /System/Library/Frameworks/ CoreFoundation.framework/Headers/CoreFoundation.h:9, from DBPlugin.h:36, from DBDataStore.c:33: /usr/include/sys/types.h:118: error: parse error before "clock_t" /usr/include/sys/types.h:123: error: parse error before "size_t" /usr/include/sys/types.h:128: error: parse error before "ssize_t" /usr/include/sys/types.h:133: error: parse error before "time_t"
Am 20.12.2005 um 06:08 schrieb Dave:
Where the heck is ppc/anshi.h ???
I can find an ansi.h in the 10.2.8 and 10.3.9 SDKs only, too. None on the current 10.4.3 system or in the 10.4u SDK.
I see a /usr/include/machine/ansi.h ...
$ ls -l /usr/include/machine/ansi.h ls: /usr/include/machine/ansi.h: No such file or directory Is it possible you mixed up your installation? Clean 10.4 installation, upgraded to 10.4.3 with Xcode 2.1, here. Hope that helps, Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/
I have the same results as Markus. Dave, it would be immensely helpful if you could provide an attached build. That will keep us from having to ask a bunch of follow-up questions, like "what version of Xcode do you have installed?" - Kevin On Dec 20, 2005, at 12:55 AM, Markus Hitter wrote:
Am 20.12.2005 um 06:08 schrieb Dave:
Where the heck is ppc/anshi.h ???
I can find an ansi.h in the 10.2.8 and 10.3.9 SDKs only, too. None on the current 10.4.3 system or in the 10.4u SDK.
I see a /usr/include/machine/ansi.h ...
$ ls -l /usr/include/machine/ansi.h ls: /usr/include/machine/ansi.h: No such file or directory
Is it possible you mixed up your installation? Clean 10.4 installation, upgraded to 10.4.3 with Xcode 2.1, here.
participants (3)
-
Dave
-
Kevin Van Vechten
-
Markus Hitter