[OpenAFS-port-darwin] Compiling RC3 for MacTel

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


Attempts to compile RC4 on X86 still result in:

/usr/bin/ld: /Volumes/Home/jhbrown/Desktop/openafs-1.4.1-rc4/lib/ 
liblwp.a(process.o) has external relocation entries in non-writable  
section (__TEXT,__text) for symbols:
_abort
collect2: ld returned 1 exit status
make[3]: *** [rmtsysd] Error 1
make[2]: *** [sys] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2


jb

On Jan 12, 2006, at 12:12 PM, Jim Brown wrote:

>
> 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
>
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin