From: Laurent <daemon2@internet.lu>
Subject: Problem building AWS on Mac OS 10.9
Date: Sat, 11 Oct 2014 16:00:04 -0700 (PDT)
Date: 2014-10-11T16:00:04-07:00 [thread overview]
Message-ID: <4eb82190-4017-402c-8dc6-ae6b4f8897b6@googlegroups.com> (raw)
Hi
I wanted to try out Gnoga which sounds exactly like what I need.
Gnoga requires AWS so I downloaded it with: git clone --recursive http://forge.open-do.org/anonscm/git/aws/aws.git
Then as written in the Gnoga FAQ:
export C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
Then make setup build install.
Fails with this:
laurent-mac-pro-2:aws laurent$ make setup build install
gprbuild: "xoscons" up to date
Setup OS specific definitions
aws-os_lib-tmplt.c:341:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_ADDR_OFFSET" ":%1:" "???" : : "...
^
aws-os_lib-tmplt.c:340:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_CANONNAME_OFFSET" ":%1:" "???" ...
^
aws-os_lib-tmplt.c:339:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_FAMILY_OFFSET" ":%1:" "???" : ...
^
aws-os_lib-tmplt.c:338:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "AI_FLAGS_OFFSET" ":%1:" "???" : : ...
^
aws-os_lib-tmplt.c:319:24: error: invalid operand for inline asm constraint 'i'
/*NOGEN*/ asm volatile("\n->CND:%0:" "SIN_FAMILY_OFFSET" ":%1:" "sin_fam...
^
5 errors generated.
xoscons <base_name>
Can not generate system tags. The test are disabled
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcefhiIklmnoprstx -O2 -gnatn -fno-common awsres.adb
clang -O2 zutil.c
clang -O2 uncompr.c
clang -O2 trees.c
clang -O2 inftrees.c
clang -O2 inflate.c
clang -O2 inffast.c
clang -O2 infback.c
Undefined symbols for architecture x86_64:
"_inflate", referenced from:
_uncompress in uncompr-ecad33.o
"_inflateEnd", referenced from:
_uncompress in uncompr-ecad33.o
"_inflateInit_", referenced from:
_uncompress in uncompr-ecad33.o
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_inflate_fast", referenced from:
_inflateBack in infback-54aa95.o
"_inflate_table", referenced from:
_inflateBack in infback-54aa95.o
"_main", referenced from:
implicit entry/start for main executable
"_zcalloc", referenced from:
_inflateBackInit_ in infback-54aa95.o
"_zcfree", referenced from:
_inflateBackInit_ in infback-54aa95.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_adler32", referenced from:
_inflate in inflate-db7af7.o
_inflateSetDictionary in inflate-db7af7.o
"_crc32", referenced from:
_inflate in inflate-db7af7.o
"_inflate_fast", referenced from:
_inflate in inflate-db7af7.o
"_inflate_table", referenced from:
_inflate in inflate-db7af7.o
"_main", referenced from:
implicit entry/start for main executable
"_zcalloc", referenced from:
_inflateInit2_ in inflate-db7af7.o
_inflateInit_ in inflate-db7af7.o
"_zcfree", referenced from:
_inflateInit2_ in inflate-db7af7.o
_inflateInit_ in inflate-db7af7.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
awsres.adb:44:06: file "aws-os_lib.ads" not found
awsres.adb:44:06: "Awsres (body)" depends on "Aws.Utils (body)"
awsres.adb:44:06: "Aws.Utils (body)" depends on "Aws.Os_Lib (spec)"
aws-utils.adb:821:29: "OS_Lib" is not visible
aws-utils.adb:821:29: non-visible declaration at g-os_lib.ads:51
compilation of awsres.adb failed
compilation of infback.c failed
compilation of inffast.c failed
compilation of inflate.c failed
compilation of inftrees.c failed
compilation of trees.c failed
compilation of uncompr.c failed
compilation of zutil.c failed
gprbuild: *** compilation phase failed
make: *** [build-native] Error 4
Tried the was source from libre.adacore but the result is the same.
I am too much a noob to understand what is going on. So if someone could enlighten me what I have forgotten to do or send me a compiled version of AWS for MacOS I would be very happy.
Thanks
Laurent
next reply other threads:[~2014-10-11 23:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-11 23:00 Laurent [this message]
2014-10-12 2:03 ` Problem building AWS on Mac OS 10.9 David Botton
2014-10-12 16:01 ` Laurent
2014-10-13 19:53 ` Laurent
2014-10-13 20:04 ` Pascal Obry
2014-10-13 20:47 ` Laurent
2014-10-14 17:15 ` Pascal Obry
2014-10-14 18:33 ` Simon Wright
2014-10-14 20:32 ` Laurent
2014-10-12 9:22 ` Simon Wright
2014-10-13 20:06 ` Blady
2014-10-13 20:54 ` Laurent
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox