On Aug 23, 2005, at 5:19 PM, Kevin Horton wrote:
On 23 Aug 2005, at 09:12, Alexander K. Hansen wrote:Kevin Horton wrote:cyrus-sasl2-2.1.21-3 does not compile for me.It worked for me (with a nominally similar setup). I got all of the otp.c warnings, but the build proceeded normally.I had tried twice before posting the original message, and got the same failure. Both attempts used the same Terminal window. I tried again now with a new Terminal window, and it built fine. Go figure.Kevin Horton
Argh! Sent that last message prematurely. Sorry.It also built fine for me on two different machines running Tiger. The only difference between this version and the previous one is that this one is linking to the system's OpenSSL rather than Fink's version. It shouldn't make any difference during compilation.
The warnings are caused by gcc 4.0's stricter error checking an are perfectly normal. What concerns me are these lines:
/var/tmp//cciBDbhZ.s:4465:Rest of line ignored. 1st junk character valued 77 (M)./var/tmp//cciBDbhZ.s:8266:I need a comma after symbol's name/var/tmp//cciBDbhZ.s:8266:Rest of line ignored. 1st junk character valued 108 (l)./var/tmp//cciBDbhZ.s:8266:Spurious digit 0. /var/tmp//cciBDbhZ.s:8266:Spurious digit 0./var/tmp//cciBDbhZ.s:8266:Rest of line ignored. 1st junk character valued 51 (3)./var/tmp//cciBDbhZ.s:8266:Invalid mnemonic ',128,0,0,0'
The cciDBbhZ.s file is the intermediate assembly language code that gcc generated from otp.c. Those errors are actually from the assembler. This means that either your compiler is broken and generating bad code, or the assembler is broken. What do you get from "gcc -v" and "as -v"? I get the following (had to hit ctrl-c after as -v):
[EMAIL PROTECTED]:~]$ as -vApple Computer, Inc. version cctools-590.obj~12, GNU assembler version 1.38
^C{standard input}:0:Interrupted by signal 2
[EMAIL PROTECTED]:~]$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --
disable-checking --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/
s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix gcc version 4.0.0 (Apple Computer, Inc. build 5026)Maybe some auxiliary compiler files are messed up? You could try to reinstall XCode, or at least gcc-4.0.
-- Daniel Johnson [EMAIL PROTECTED] PGP public key: http://homepage.mac.com/danielj7/publickey.txt
PGP.sig
Description: This is a digitally signed message part
