Fwd: Re: [OpenH323]Cross Compile

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Jan 4 23:16:24 UTC 2005


Steve Holle wrote:
> At 11:50 AM 1/4/2005, Joel Sherrill <joel at OARcorp.com> wrote:
> 
>> Steve Holle wrote:
>>
>>> I'm trying to build the OpenH323 libraries and they are looking for 
>>> what looks like the pthread and c_r libraries.  I've built RTEMS with 
>>> the --enable-posix
>>>  switch and it seems to generate many posix object files but not 
>>> these two libraries.  Are these libraries included in another library?
>>
>>
>> librtemscpu.a has all the POSIX and Classic API support (and a lot 
>> more).  There is no separate libpthread with RTEMS.
>>
>> libc.a iSoLikeCandy at yahoo.coms provided with the tools and is newlib.  
>> I don't know why they are looking for libc_r.  I guess some hosts put 
>> their pthread code in that library.
>>
>> Look at how the rtems-addon-packages are configured and built.  They
>> override the variables for the compiler and flags to match what you
>> should be using.  Eric Norum has managed to build a fair number of
>> packages this way.
> 
> 
> This may be a dumb question but that hasn't stopped me yet.  What are 
> the "rtems-addon-packages" and where would I find them?

It is a colleciton of open source packages ported by Eric Norum.
It includes TCL, ncurses, readline, NFS client, zlib, and libavl.

Try the contrib directory under a release.



>> --joel
>>
>>>> To: openh323 at openh323.org, openh323 at openh323.org
>>>> From: Steve Holle <sholle at link-comm.com>
>>>> Subject: Re: [OpenH323]Cross Compile
>>>>
>>>> At 02:59 PM 1/3/2005, Craig Southeren wrote:
>>>>
>>>>> On Mon, 03 Jan 2005 14:34:42 -0700
>>>>> Steve Holle <sholle at link-comm.com> wrote:
>>>>>
>>>>> ..deleted
>>>>>
>>>>> > I get the following errors :
>>>>> >
>>>>> > checking if Unix semaphores are available... no
>>>>> > configure: WARNING: This host does not support semaphores which 
>>>>> are essential
>>>>> > configure: WARNING: to implement 'critical sections'. This 
>>>>> feature was added
>>>>> > configure: WARNING: in PWLib 1.7.0 and improves the stability of 
>>>>> multithreaded
>>>>> > configure: WARNING: programs. This feature has been disabled for 
>>>>> this host
>>>>> > checking for pthread_create in -lpthread... no
>>>>> > checking for pthread_create in -lc_r... no
>>>>> > configure: error: must have pthreads!
>>>>> >
>>>>> > rtems does support pthreads. but I can't figure out how to tell the
>>>>> > configure program.
>>>>>
>>>>> configure is looking in the -lpthread and -lc_r libraries for pthreads
>>>>> functions, and is not finding them. Either these libraries are not
>>>>> available or not correct for RTEMS. It will be necessary to fix or
>>>>> supplement these tests in order for configure to complete.
>>>>>
>>>>>    Craig
>>>>>
>>>>> ----------------------------------------------------------------------- 
>>>>>
>>>>>  Craig Southeren      craigs at postincrement.com / craigs at voxgratia.org
>>>>>
>>>>>  Phone:  +61 243654666      ICQ: #86852844
>>>>>  Fax:    +61 243673140      MSN: craig_southeren at hotmail.com
>>>>>  Mobile: +61 417231046   Jabber: craigs at jabber.voxgratia.org
>>>>>
>>>>>  Post Increment - Consulting & Services    
>>>>> http://www.postincrement.com
>>>>>  Vox Gratia - The Open Source VoIP portal  http://www.voxgratia.org
>>>>>  Raving Of A Strange Mind - the VoIP blog  
>>>>> http://www.southeren.com/blog
>>>>>
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> Check the FAQ before asking! - 
>>>>> http://www.openh323.org/~openh323/fom.cgi
>>>>> The OpenH323 Project mailing list, using Mailman. To unsubscribe or
>>>>> change your subscription options, goto
>>>>> http://www.openh323.org/mailman/listinfo/openh323
>>>>> Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>
>>>>
>>>>
>>>> Steve Holle
>>>> Link Communications, Inc.
>>>> 1035 Cerise Rd.
>>>> Billings, MT  59101
>>>> sholle at link-comm.com
>>
>>
>>
>> -- 
>> Joel Sherrill, Ph.D.             Director of Research & Development
>> joel at OARcorp.com                 On-Line Applications Research
>> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>>    Support Available             (256) 722-9985
> 
> 
> Steve Holle
> Link Communications, Inc.
> 1035 Cerise Rd.
> Billings, MT  59101
> sholle at link-comm.com 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list