[OpenAFS-port-darwin] Compiling RC3 for MacTel

Jim Brown jhbrown@stanford.edu
Thu, 12 Jan 2006 12:12:49 -0800


On Jan 12, 2006, at 10:38 AM, Chaskiel M Grundman wrote:

> --On Monday, January 09, 2006 10:57:36 -0800 Jim Brown  
> <jhbrown@stanford.edu> wrote:
>
>>
>> _abort
>> collect2: ld returned 1 exit status
>> make[3]: *** [rmtsysd] Error 1
>
>
> Does your libSystem.dylib export _abort?
>
> gryphon:~/openafs/src cg2v$ nm /usr/lib/libSystem.dylib | grep 'T  
> _abort'
> 90128b3c T _abort

earthquake:~/Desktop/openafs-1.4.1-rc3/src jhbrown$ nm /usr/lib/ 
libSystem.dylib | grep 'T _abort'
9010e3cb T _abort

>
> if not, is there a header in /usr/include that redefines 'abort' to  
> something else?
>
> find /usr/include -type f | xargs egrep '#define[   ]*abort'
>

earthquake:~/Desktop/openafs-1.4.1-rc3/src jhbrown$ find /usr/include  
-type f | xargs egrep '#define[   ]*abort'
/usr/include/httpd/xml/xmldef.h:#define abort() /* as nothing */

> put both a space and a tab (ctrl-v tab) inside the square brackets.  
> ignore the match
> /usr/include/httpd/xml/xmldef.h