[darwinbuild-dev] Ticket #59

William Siegrist wsiegrist at apple.com
Thu Aug 20 15:38:03 PDT 2009


First, clean up the failed build:
$ make clean

Then force it to only use ppc:
$ RC_CFLAGS="-arch ppc" make
$ sudo make install


-Bill


On Aug 20, 2009, at 2:29 PM, Frank J. R. Hanstick wrote:

> Hello,
> 	Thank you.
> 	I got the following error after make:
>
> *** Making all in darwinbuild ***
> cc -arch ppc -arch ppc64  -Wall -Werror -o ./manifest -lcrypto  
> manifest.c
> ld64 warning: in /usr/lib/libcrypto.dylib, file is not of required  
> architecture
> Undefined symbols for architecture ppc64:
>   _EVP_DigestFinal, referenced from:
>       _calculate_digest in ccrJsGdT.o
>   _EVP_MD_CTX_init, referenced from:
>       _calculate_digest in ccrJsGdT.o
>   _EVP_get_digestbyname, referenced from:
>       _calculate_digest in ccrJsGdT.o
>   _EVP_DigestUpdate, referenced from:
>       _calculate_digest in ccrJsGdT.o
>   _OpenSSL_add_all_digests, referenced from:
>       _calculate_digest in ccrJsGdT.o
>   _EVP_DigestInit, referenced from:
>       _calculate_digest in ccrJsGdT.o
> ld64-62.1 failed: symbol(s) not found for architecture ppc64
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccMtBPpf.out (No such file or  
> directory)
> make[1]: *** [manifest] Error 1
> make: *** [all] Error 1
>
> Is there a way to configure for a PPC32 (G4) system?
>
> On Aug 20, 2009, at 12:37 PM, William Siegrist wrote:
>
>> On Aug 20, 2009, at 12:28 PM, Frank J. R. Hanstick wrote:
>>
>>> Hello,
>>> 	I get the error described in this ticket and am suppose to get  
>>> the varian from /tags/darwinbuild-5.  How do I do this?
>>>
>>>
>>
>>
>> $ svn co http://svn.macosforge.org/repository/darwinbuild/tags/darwinbuild-5/ 
>>  darwinbuild
>> $ cd darwinbuild
>> $ make && sudo make install
>>
>> -Bill
>
> Frank J. R. Hanstick
> trog24 at comcast.net
>



More information about the darwinbuild-dev mailing list