* building piccontrol - 0.4 failed due to lack of liblua5.1.a
@ 2010-01-31 3:01 Guo Hongruan
2010-01-31 5:22 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Guo Hongruan @ 2010-01-31 3:01 UTC (permalink / raw)
To: openembeded-devel; +Cc: tim.ellis
Hi guys,
I tried to build MACHINE=tsx09 DISTRO=micro LIBC=glibc, but failed when
building picontrol. The error is the following:
NOTE: make -j 4 -e MAKEFLAGS=
ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mthumb
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-c -o piccontrol.o piccontrol.c
ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mthumb
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-c -o ts209.o ts209.c
ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mthumb
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
-isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
-c -o evdev.o evdev.c
ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mthumb -o piccontrol piccontrol.o ts209.o evdev.o
-L/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib
-Wl,-rpath-link,/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib
-Wl,-O1 -Wl,--hash-style=gnu
/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib/liblua5.1.a
-lpthread -lm -ldl
arm-oe-linux-gnueabi-gcc:
/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib/liblua5.1.a:
No such file or directory
for more information, please see the following url:
http://tinderbox.openembedded.net/packages/451539/
Is there anyone who can give me some information?
Thanks a lot!
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 3:01 building piccontrol - 0.4 failed due to lack of liblua5.1.a Guo Hongruan
@ 2010-01-31 5:22 ` Khem Raj
2010-01-31 5:43 ` Guo Hongruan
2010-01-31 5:44 ` Guo Hongruan
0 siblings, 2 replies; 10+ messages in thread
From: Khem Raj @ 2010-01-31 5:22 UTC (permalink / raw)
To: openembedded-devel
On Sat, Jan 30, 2010 at 7:01 PM, Guo Hongruan <camelguo@gmail.com> wrote:
> Hi guys,
> I tried to build MACHINE=tsx09 DISTRO=micro LIBC=glibc, but failed when
> building picontrol. The error is the following:
>
> NOTE: make -j 4 -e MAKEFLAGS=
> ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
> -mthumb-interwork -mthumb
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -c -o piccontrol.o piccontrol.c
> ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
> -mthumb-interwork -mthumb
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -c -o ts209.o ts209.c
> ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
> -mthumb-interwork -mthumb
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -I/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include/lua5.1
> -isystem/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/include
> -c -o evdev.o evdev.c
> ccache arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
> -mthumb-interwork -mthumb -o piccontrol piccontrol.o ts209.o evdev.o
> -L/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib
> -Wl,-rpath-link,/media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib
> -Wl,-O1 -Wl,--hash-style=gnu
> /media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib/liblua5.1.a
> -lpthread -lm -ldl
> arm-oe-linux-gnueabi-gcc:
> /media/work-disk/workdir/arm-926ejs-test/staging/armv5te-oe-linux-gnueabi/lib/liblua5.1.a:
> No such file or directory
I think micro uses a different layout and my guess is that the package
is relying upon layout where /usr is used.
in your build tree check where liblua5.1.a is installed and then
go from there.
>
> for more information, please see the following url:
> http://tinderbox.openembedded.net/packages/451539/
>
> Is there anyone who can give me some information?
>
> Thanks a lot!
>
> --
> Guo Hongruan, Embedded Linux Consultant
> Skype: camelguo
> Twitter: camelguo
> http://www.gulessoft.com
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 5:22 ` Khem Raj
@ 2010-01-31 5:43 ` Guo Hongruan
2010-01-31 5:44 ` Guo Hongruan
1 sibling, 0 replies; 10+ messages in thread
From: Guo Hongruan @ 2010-01-31 5:43 UTC (permalink / raw)
To: openembedded-devel
在 Sun, 31 Jan 2010 13:22:16 +0800,Khem Raj <raj.khem@gmail.com> 写道:
> in your build tree check where liblua5.1.a is installed and then
> go from there.
No, I can not find liblua5.1.a on my build directory.
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 5:22 ` Khem Raj
2010-01-31 5:43 ` Guo Hongruan
@ 2010-01-31 5:44 ` Guo Hongruan
2010-01-31 5:56 ` Guo Hongruan
1 sibling, 1 reply; 10+ messages in thread
From: Guo Hongruan @ 2010-01-31 5:44 UTC (permalink / raw)
To: openembedded-devel
在 Sun, 31 Jan 2010 13:22:16 +0800,Khem Raj <raj.khem@gmail.com> 写道:
> in your build tree check where liblua5.1.a is installed and then
> go from there.
instead of liblue5.1.a, I found libua.a on my build tree. Maybe it is the
cause of the error.
./armv5te-oe-linux-gnueabi/lib/liblua.a
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 5:44 ` Guo Hongruan
@ 2010-01-31 5:56 ` Guo Hongruan
2010-01-31 6:14 ` Holger Hans Peter Freyther
2010-01-31 9:34 ` Petr Štetiar
0 siblings, 2 replies; 10+ messages in thread
From: Guo Hongruan @ 2010-01-31 5:56 UTC (permalink / raw)
To: Guo Hongruan, openembedded-devel
在 Sun, 31 Jan 2010 13:44:33 +0800,Guo Hongruan <camelguo@gmail.com> 写道:
> 在 Sun, 31 Jan 2010 13:22:16 +0800,Khem Raj <raj.khem@gmail.com> 写道:
>
>> in your build tree check where liblua5.1.a is installed and then
>> go from there.
>
> instead of liblue5.1.a, I found libua.a on my build tree. Maybe it is
> the cause of the error.
>
> ./armv5te-oe-linux-gnueabi/lib/liblua.a
>
I found it, it is caused by
1. lua5.1_5.1.4.bb install lib/liblua. to staging directory;
2. but piccoontrol_0.4.bb tries to link liblua5.1.a, which name is
liblua.a.
20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
changing piccontrol_0.4.bb may correct the error.
diff --git a/recipes/piccontrol/piccontrol_0.4.bb
b/recipes/piccontrol/piccontrol_0.4.bb
index cfdef98..854f156 100644
--- a/recipes/piccontrol/piccontrol_0.4.bb
+++ b/recipes/piccontrol/piccontrol_0.4.bb
@@ -17,7 +17,7 @@ inherit update-rc.d
INITSCRIPT_NAME = "piccontrol"
INITSCRIPT_PARAMS = "defaults"
-LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
+LDFLAGS += " ${STAGING_LIBDIR}/liblua.a -lpthread -lm -ldl "
CFLAGS += " -I${STAGING_INCDIR}/lua5.1 "
do_install() {
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 5:56 ` Guo Hongruan
@ 2010-01-31 6:14 ` Holger Hans Peter Freyther
2010-01-31 6:22 ` Guo Hongruan
2010-03-28 11:56 ` Stefan Schmidt
2010-01-31 9:34 ` Petr Štetiar
1 sibling, 2 replies; 10+ messages in thread
From: Holger Hans Peter Freyther @ 2010-01-31 6:14 UTC (permalink / raw)
To: openembedded-devel
On Sunday 31 January 2010 06:56:58 Guo Hongruan wrote:
> 在 Sun, 31 Jan 2010 13:44:33 +0800,Guo Hongruan <camelguo@gmail.com> 写道:
> 20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
Okay,
care to write a patch with a proper commit message and a Signed-off-by line?
PS: In the long run the lua recipe should install the .pc and we should link
with pkg-config --libs lua5.1
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 6:14 ` Holger Hans Peter Freyther
@ 2010-01-31 6:22 ` Guo Hongruan
2010-03-28 11:56 ` Stefan Schmidt
1 sibling, 0 replies; 10+ messages in thread
From: Guo Hongruan @ 2010-01-31 6:22 UTC (permalink / raw)
To: openembedded-devel
OK, no problem
在 Sun, 31 Jan 2010 14:14:09 +0800,Holger Hans Peter Freyther
<holger+oe@freyther.de> 写道:
> On Sunday 31 January 2010 06:56:58 Guo Hongruan wrote:
>> 在 Sun, 31 Jan 2010 13:44:33 +0800,Guo Hongruan <camelguo@gmail.com>
>> 写道:
>
>> 20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
>
> Okay,
> care to write a patch with a proper commit message and a Signed-off-by
> line?
>
> PS: In the long run the lua recipe should install the .pc and we should
> link
> with pkg-config --libs lua5.1
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 6:14 ` Holger Hans Peter Freyther
2010-01-31 6:22 ` Guo Hongruan
@ 2010-03-28 11:56 ` Stefan Schmidt
1 sibling, 0 replies; 10+ messages in thread
From: Stefan Schmidt @ 2010-03-28 11:56 UTC (permalink / raw)
To: openembedded-devel
Hello.
On Sun, 2010-01-31 at 07:14, Holger Hans Peter Freyther wrote:
> On Sunday 31 January 2010 06:56:58 Guo Hongruan wrote:
> > 在 Sun, 31 Jan 2010 13:44:33 +0800,Guo Hongruan <camelguo@gmail.com> 写道:
>
> > 20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
>
> Okay,
> care to write a patch with a proper commit message and a Signed-off-by line?
That never happened. As the subject line was not fitting, it did no longer apply
and a SOB was missing I redid the one-line change as a band-aid.
> PS: In the long run the lua recipe should install the .pc and we should link
> with pkg-config --libs lua5.1
Gua, are you interested in working this out?
regards
Stefan Schmidt
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 5:56 ` Guo Hongruan
2010-01-31 6:14 ` Holger Hans Peter Freyther
@ 2010-01-31 9:34 ` Petr Štetiar
2010-01-31 16:53 ` Tim Ellis
1 sibling, 1 reply; 10+ messages in thread
From: Petr Štetiar @ 2010-01-31 9:34 UTC (permalink / raw)
To: openembedded-devel
Guo Hongruan <camelguo@gmail.com> [2010-01-31 13:56:58]:
> 2. but piccoontrol_0.4.bb tries to link liblua5.1.a, which name is
> liblua.a.
> 20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
>
> changing piccontrol_0.4.bb may correct the error.
I think, that correct way of fixing it would be to fix Lua recipe to install
as liblua5.1.a. Maybe creating pkgconfig for Lua would help also.
-- ynezz
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: building piccontrol - 0.4 failed due to lack of liblua5.1.a
2010-01-31 9:34 ` Petr Štetiar
@ 2010-01-31 16:53 ` Tim Ellis
0 siblings, 0 replies; 10+ messages in thread
From: Tim Ellis @ 2010-01-31 16:53 UTC (permalink / raw)
To: openembedded-devel
From memory this needed a specific (or minimum) version of lua. Byron may also have an updated version we can test and commit. Sorry all my stuff is packed up at the mo and I can't test! (Sorry for the extra email Byron the other bounced!)
Tim
On 31 Jan 2010, at 09:34, Petr Štetiar wrote:
> Guo Hongruan <camelguo@gmail.com> [2010-01-31 13:56:58]:
>
>> 2. but piccoontrol_0.4.bb tries to link liblua5.1.a, which name is
>> liblua.a.
>> 20 LDFLAGS += " ${STAGING_LIBDIR}/liblua5.1.a -lpthread -lm -ldl "
>>
>> changing piccontrol_0.4.bb may correct the error.
>
> I think, that correct way of fixing it would be to fix Lua recipe to install
> as liblua5.1.a. Maybe creating pkgconfig for Lua would help also.
>
> -- ynezz
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-03-28 12:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-31 3:01 building piccontrol - 0.4 failed due to lack of liblua5.1.a Guo Hongruan
2010-01-31 5:22 ` Khem Raj
2010-01-31 5:43 ` Guo Hongruan
2010-01-31 5:44 ` Guo Hongruan
2010-01-31 5:56 ` Guo Hongruan
2010-01-31 6:14 ` Holger Hans Peter Freyther
2010-01-31 6:22 ` Guo Hongruan
2010-03-28 11:56 ` Stefan Schmidt
2010-01-31 9:34 ` Petr Štetiar
2010-01-31 16:53 ` Tim Ellis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.