logo       

Re: Building pthread.: msg#00070

gnu.cegcc.devel

Subject: Re: Building pthread.

Hi Danny,

the configure script stops with the following error:

checking for dlopen in -ldl... no
configure: error: libdl is missing

config.log says the following:

(...)
configure:20913: checking for dlopen in -ldl
configure:20943: arm-wince-mingw32ce-gcc -o conftest.exe -g -O2 conftest.c
-ldl -lm -lpthread >&5
/cec/storage/dqkal002/homes/d046460/CeGCC/opt/mingw32ce/bin/../lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/bin/ld:
cannot find -ldl
collect2: ld returned 1 exit status
configure:20949: $? = 1
configure: failed program was:
| /* confdefs.h. */
(...)

Kind regards,
Leonardo.

----- Ursprüngliche Mail ----
Von: Danny Backx <danny.backx-rJAIWvhRp0CZIoH1IeqzKA@xxxxxxxxxxxxxxxx>
An: Leonardo Weiss Chaves <humaita-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx>
CC: cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
Gesendet: Montag, den 23. Juli 2007, 21:39:00 Uhr
Betreff: Re: [Cegcc-devel] Building pthread.


On Mon, 2007-07-23 at 12:25 -0700, Leonardo Weiss Chaves wrote:
> Hi Pedro,
>
> thanks for the hints, I got libpthread compiling now. Since __MINGW32__ is
> defined, the code assumes some things that are not true for WinCE, e.g. like
> having errno. Instead of modifying mingw32ce now I just modify the
> pthread-w32-2.8.0 code and add a few more compiler flags, see the attached
> diff file. I compile with
>
> make CROSS=arm-wince-mingw32ce- CC="arm-wince-mingw32ce-g++ -DWINCE
> -DNEED_ERRNO -D_ARM_ -D__CRTDLL__ -D_DLL" clean GC
>
> PS: I still can't compile jamvm because of missing liltdl. Do you know where
> I can find it for WinCE? It seems to be part of glibc...
>
> Kind Regards,
> Leonardo.

Which library is that, which symbols are you still missing ?

Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


dddd

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise