[E-devel] Cross Compilation Issues with edje and efreet

2010-06-25 Thread Neil Jones
Hi im trying to Cross-Compile EFL libs (Latest snapshot - 49539) using
BuildRoot, but im having problems with EDJE and EFREET

EDJE cannot find LUA, I have LUA 5.1.4 installed (within buidroot for
the target).

im no expert on autotools but it feels like its looking for LUA on my
build host (where it isn't installed).

EFREET fails when linking something in bin:

make[4]: Entering directory
`/home/njones/metalinux26/test/metag-buildroot2/build_metag/efreet-0.5.0.49539/src/bin'
CC efreet_desktop_cache_create.o
CCLD efreet_desktop_cache_create
/home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore_con-ver-svn-06.so.0:
undefined reference to `__Exit'
/home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore.so:
undefined reference to `_finite'

Any help welcome.

Cheers

Neil

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Cross Compilation Issues with edje and efreet

2010-06-25 Thread Neil Jones
On Fri, Jun 25, 2010 at 5:03 PM, Cedric BAIL  wrote:
> On Fri, Jun 25, 2010 at 5:46 PM, Neil Jones  wrote:
>> Hi im trying to Cross-Compile EFL libs (Latest snapshot - 49539) using
>> BuildRoot, but im having problems with EDJE and EFREET
>>
>> EDJE cannot find LUA, I have LUA 5.1.4 installed (within buidroot for
>> the target).
>>
>> im no expert on autotools but it feels like its looking for LUA on my
>> build host (where it isn't installed).
>
> Lua dev don't want to help people build package with it, so it end up
> like this mess. You need to see what kind of lua*.pc your buildroot is
> generating. This pkg-config file is not part of the upstream source,
> and only part of your distribution. It is highly probable that you
> buildroot didn't generate this file.
>

Yes no pc file cheers, i guess ill hand craft one.



>> EFREET fails when linking something in bin:
>>
>> make[4]: Entering directory
>> `/home/njones/metalinux26/test/metag-buildroot2/build_metag/efreet-0.5.0.49539/src/bin'
>> CC efreet_desktop_cache_create.o
>> CCLD efreet_desktop_cache_create
>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore_con-ver-svn-06.so.0:
>> undefined reference to `__Exit'
>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore.so:
>> undefined reference to `_finite'
>
> Sorry never saw that before, but it sounds like an issue with your
> compiler and libc trying to say that they comply with C99 when they
> are not. What kind of libc are you using ?
> --
> Cedric BAIL
>

uClibc and GCC 4.2 toolchain.

Cheers

Neil

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Cross Compilation Issues with edje and efreet

2010-06-25 Thread Neil Jones
On Fri, Jun 25, 2010 at 5:31 PM, Cedric BAIL  wrote:
> On Fri, Jun 25, 2010 at 6:12 PM, Neil Jones  wrote:
>> On Fri, Jun 25, 2010 at 5:03 PM, Cedric BAIL  wrote:
>>> On Fri, Jun 25, 2010 at 5:46 PM, Neil Jones  wrote:
>>>> Hi im trying to Cross-Compile EFL libs (Latest snapshot - 49539) using
>>>> BuildRoot, but im having problems with EDJE and EFREET
>>>>
>>>> EDJE cannot find LUA, I have LUA 5.1.4 installed (within buidroot for
>>>> the target).
>>>>
>>>> im no expert on autotools but it feels like its looking for LUA on my
>>>> build host (where it isn't installed).
>>>
>>> Lua dev don't want to help people build package with it, so it end up
>>> like this mess. You need to see what kind of lua*.pc your buildroot is
>>> generating. This pkg-config file is not part of the upstream source,
>>> and only part of your distribution. It is highly probable that you
>>> buildroot didn't generate this file.
>>>
>>
>> Yes no pc file cheers, i guess ill hand craft one.
>>
>>
>>
>>>> EFREET fails when linking something in bin:
>>>>
>>>> make[4]: Entering directory
>>>> `/home/njones/metalinux26/test/metag-buildroot2/build_metag/efreet-0.5.0.49539/src/bin'
>>>> CC efreet_desktop_cache_create.o
>>>> CCLD efreet_desktop_cache_create
>>>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore_con-ver-svn-06.so.0:
>>>> undefined reference to `__Exit'
>>>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore.so:
>>>> undefined reference to `_finite'
>>>
>>> Sorry never saw that before, but it sounds like an issue with your
>>> compiler and libc trying to say that they comply with C99 when they
>>> are not. What kind of libc are you using ?
>>
>> uClibc and GCC 4.2 toolchain.
>
> What version of uClibc ? But from a generic point of view uClibc is
> full of bugs, for example I recommand you to build ecore_con with
> c-ares library as a dns resolver. They are countless issue like this,
> and if you can, switch to eglibc.
> --
> Cedric BAIL
>

0.9.30.1, Ideally i would like to stay with uClibC, we have not really
tried eglibc but may be worth a look at.

Any other hints on using uClibC with EFL - maybe a wiki page would be usefull.

Cheers

Neil

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Cross Compilation Issues with edje and efreet

2010-06-28 Thread Neil Jones
-- Forwarded message --
From: Neil Jones 
Date: Mon, Jun 28, 2010 at 11:15 AM
Subject: Re: [E-devel] Cross Compilation Issues with edje and efreet
To: Cedric BAIL 


On Fri, Jun 25, 2010 at 6:12 PM, Cedric BAIL  wrote:
> On Fri, Jun 25, 2010 at 6:56 PM, Neil Jones  wrote:
>> On Fri, Jun 25, 2010 at 5:31 PM, Cedric BAIL  wrote:
>>> On Fri, Jun 25, 2010 at 6:12 PM, Neil Jones  wrote:
>>>> On Fri, Jun 25, 2010 at 5:03 PM, Cedric BAIL  wrote:
>>>>> On Fri, Jun 25, 2010 at 5:46 PM, Neil Jones  wrote:
>>>>>> Hi im trying to Cross-Compile EFL libs (Latest snapshot - 49539) using
>>>>>> BuildRoot, but im having problems with EDJE and EFREET
>>>>>>
>>>>>> EDJE cannot find LUA, I have LUA 5.1.4 installed (within buidroot for
>>>>>> the target).
>>>>>>
>>>>>> im no expert on autotools but it feels like its looking for LUA on my
>>>>>> build host (where it isn't installed).
>>>>>
>>>>> Lua dev don't want to help people build package with it, so it end up
>>>>> like this mess. You need to see what kind of lua*.pc your buildroot is
>>>>> generating. This pkg-config file is not part of the upstream source,
>>>>> and only part of your distribution. It is highly probable that you
>>>>> buildroot didn't generate this file.
>>>>>
>>>>
>>>> Yes no pc file cheers, i guess ill hand craft one.
>>>>
>>>>
>>>>
>>>>>> EFREET fails when linking something in bin:
>>>>>>
>>>>>> make[4]: Entering directory
>>>>>> `/home/njones/metalinux26/test/metag-buildroot2/build_metag/efreet-0.5.0.49539/src/bin'
>>>>>> CC efreet_desktop_cache_create.o
>>>>>> CCLD efreet_desktop_cache_create
>>>>>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore_con-ver-svn-06.so.0:
>>>>>> undefined reference to `__Exit'
>>>>>> /home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore.so:
>>>>>> undefined reference to `_finite'
>>>>>
>>>>> Sorry never saw that before, but it sounds like an issue with your
>>>>> compiler and libc trying to say that they comply with C99 when they
>>>>> are not. What kind of libc are you using ?
>>>>
>>>> uClibc and GCC 4.2 toolchain.
>>>
>>> What version of uClibc ? But from a generic point of view uClibc is
>>> full of bugs, for example I recommand you to build ecore_con with
>>> c-ares library as a dns resolver. They are countless issue like this,
>>> and if you can, switch to eglibc.
>>> --
>>> Cedric BAIL
>>
>> 0.9.30.1, Ideally i would like to stay with uClibC, we have not really
>> tried eglibc but may be worth a look at.
>>
>
> Just checked, sounds like I am using 0.9.30.3. Maybe just updating it
> would be better.
> --
> Cedric BAIL
>

Cheers for the hints,

Im now hitting the same problem linking edje binaries (after faking my lua.pc):

/home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore.so:
undefined reference to `_finite'
/home/njones/metalinux26/test/metag-buildroot2/build_metag/staging_dir/usr/lib/libecore_con.so:
undefined reference to `__Exit'

__Exit obviously should be come from the c lib but whats this _finite symbol ?

Cheers

Neil

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Cross Compiling Elementary

2010-07-16 Thread Neil Jones
Hi,

Im back trying to cross-compile enlightenment (its a nice Friday
afternoon project).

im now failing building elementary:

/usr/bin/edje_cc -v -id ../../data/themes -fd ../../data/themes \
../../data/themes/default.edc \
../../data/themes/default.edj
make[4]: /usr/bin/edje_cc: Command not found

Presumably Its looking for a native edje compiler tool for creating
these themes and I guess as im cross compiling this has only been
built for my target and not my host?

Sorry for my ignorance on these matters.

Cheers

Neil

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel