From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.233.200 with SMTP id ty8mr4894205pac.20.1413068405207; Sat, 11 Oct 2014 16:00:05 -0700 (PDT) X-Received: by 10.140.106.163 with SMTP id e32mr83qgf.7.1413068404947; Sat, 11 Oct 2014 16:00:04 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!uq10no8885754igb.0!news-out.google.com!i10ni83qaf.0!nntp.google.com!s7no2072346qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 11 Oct 2014 16:00:04 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.141.129.145; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 78.141.129.145 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4eb82190-4017-402c-8dc6-ae6b4f8897b6@googlegroups.com> Subject: Problem building AWS on Mac OS 10.9 From: Laurent Injection-Date: Sat, 11 Oct 2014 23:00:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:189661 Date: 2014-10-11T16:00:04-07:00 List-Id: 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 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