On 12/31/09 8:41 AM, Duke wrote:
>>
>> < int pid = pthread_self();
>> ---
>>     
>>> int pid = (int)pthread_self();
>>>       
>
> Three might be another bug I think. Your change above worked fine with a 
> Mac Pro (i386, Leopard), but then when I tried today with another laptop 
> with Snow Leopard, I had an error:
>
> gcc -O -g -Wall -Werror -Wformat -Wimplicit -Wreturn-type 
> -Wuninitialized -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE 
> -DMACHTYPE_i386 -Wall -Werror -Wformat -Wimplicit -Wreturn-type 
> -Wuninitialized -I./inc -I../inc -I../../inc -I../../../inc 
> -I../../../../inc -I../../../../../inc -o errCatch.o -c errCatch.c
> cc1: warnings being treated as errors
> errCatch.c: In function ‘getStack’:
> errCatch.c:51: warning: cast from pointer to integer of different size
> make: *** [errCatch.o] Error 1
>   

I temporarily found a solution for this warning by using "long int" 
instead of "int"

int pid = (long int) pthead_self();

D.

> With this laptop, I dont understand why, but MACHTYPE and uname -m give 
> different results:
>
> $ echo $MACHTYPE
> x86_64-apple-darwin10.0
>
> $ uname -m
> i386
>
> $ uname -a
> Darwin iMacPro.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 
> 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
>
> Any ideas?
>
> Thanks,
>
> KC.
>
>   
>> --Hiram
>>
>> Duke wrote:
>>     
>>> On 12/28/09 1:07 PM, Hiram Clawson wrote:
>>>       
>>>> Good Morning Duke:
>>>>
>>>> Please try this set of binaries:
>>>>
>>>> http://genome-test.cse.ucsc.edu/admin/exe/macOSX.i386/
>>>>
>>>> These are from the version 221 source tree.
>>>>         
>>> Thanks Hiram, I will give it a try. By the way, do you know how and 
>>> where I can download the sources of bedTobigBed for Mac?
>>>
>>> Thanks,
>>>
>>> D.
>>>
>>>       
>>>> -Hiram
>>>>
>>>> Duke wrote:
>>>>         
>>>>> Hi,
>>>>>
>>>>> I am testing bigBed format, and I am working with a Mac Pro. Is 
>>>>> there anyway that I can try bedTobigBed on my Mac Pro? The 
>>>>> executable file on the web 
>>>>> (http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/) is for 
>>>>> linux 64 bit only. I tried to compile the source, but it did work 
>>>>> either.
>>>>>
>>>>> Anybody can shed a light?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> D.
>>>>>           
>>>       
>
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
>
>   

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to