* Problems creating a bitbake package
@ 2006-11-04 17:31 Alan Carvalho de Assis
2006-11-05 13:18 ` Holger Freyther
0 siblings, 1 reply; 8+ messages in thread
From: Alan Carvalho de Assis @ 2006-11-04 17:31 UTC (permalink / raw)
To: openembedded-devel
Hi all,
I am new to bitbake package creation.
I am porting the Keith Packard's iPatience to GPE, to it I create this
ipatience.bb:
DESCRIPTION = "Patience game"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
MAINTAINER = "Alan Carvalho de Assis <acassis@gmail.com>"
DEPENDS = "virtual/libx11 libxpm fltk"
PR = "r2"
SRC_URI = "http://augusta.ece.ufrgs.br/ipatience-0.1.tar.gz"
inherit gpe
My first problem:
"bitbake ipatience" command don't obey my SRC_URI tag, this tried
download ipatience-0.1.tar.gz from openembedded server and fault.
To "solve" this first problem I copied ipatience.tar.gz to my
oeworkspace/sources and create the md5 to it, then bitbake used it
correctly. Why bitbake don't obey the SRC_URI?
The original ipatience was using Imakefile, because it need xmkmf I
created a automake Makefile.am e configure.in. After a lot errors I
get it compiling.
But the libfltk from openembedded FLTK package has a problem:
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `XUnsetICFocus'
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `XGetIMValues'
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `XSetICValues'
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `Xutf8LookupString'
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `XSetICFocus'
/ipaq/openembedded/bitbake/tmp/staging/arm-linux/lib/libfltk.so:
undefined reference to `XVaCreateNestedList'
| collect2: ld returned 1 exit status
| make: ** [ipatience] Erro 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/ipaq/openembedded/bitbake/tmp/work/arm-linux/ipatience-0.1-r2/temp/log.do_compile.16138
NOTE: package ipatience-0.1-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package ipatience-0.1: failed
ERROR: Build of ipatience failed
The libX11 don't has this functions which libfltk use.
Please, can someone help me?
I spend a long time searching about so many problems which I got doing
it, for all problems I found one solution or work-around, but don't
found nothing to this last one.
Best regards,
Alan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problems creating a bitbake package
2006-11-04 17:31 Problems creating a bitbake package Alan Carvalho de Assis
@ 2006-11-05 13:18 ` Holger Freyther
2006-11-06 10:52 ` Alan Carvalho de Assis
0 siblings, 1 reply; 8+ messages in thread
From: Holger Freyther @ 2006-11-05 13:18 UTC (permalink / raw)
To: openembedded-devel
Am 04.11.2006 um 18:31 schrieb Alan Carvalho de Assis:
> SRC_URI = "http://augusta.ece.ufrgs.br/ipatience-0.1.tar.gz"
>
> inherit gpe
>
> My first problem:
> "bitbake ipatience" command don't obey my SRC_URI tag, this tried
> download ipatience-0.1.tar.gz from openembedded server and fault.
>
> To "solve" this first problem I copied ipatience.tar.gz to my
> oeworkspace/sources and create the md5 to it, then bitbake used it
> correctly. Why bitbake don't obey the SRC_URI?
because you inherit gpe.bbclass after setting the SRC_URI and the
SRC_URI will be overwritten. Take a look at the gpe.bbclass
h.
--
Holger 'zecke' Freyther
geek, QA monkey, OpenEmbedded Engineer
Me http://www.openembedded.org/~zecke
Blog http://zecke.blogspot.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problems creating a bitbake package
2006-11-05 13:18 ` Holger Freyther
@ 2006-11-06 10:52 ` Alan Carvalho de Assis
2006-11-06 12:20 ` Joaquim Duran
0 siblings, 1 reply; 8+ messages in thread
From: Alan Carvalho de Assis @ 2006-11-06 10:52 UTC (permalink / raw)
To: openembedded-devel
Hi Holger,
On 11/5/06, Holger Freyther <freyther@gmx.net> wrote:
>
> because you inherit gpe.bbclass after setting the SRC_URI and the
> SRC_URI will be overwritten. Take a look at the gpe.bbclass
>
Sure, it solve the first one problem.
Do you have some idea to solve these undefined references in libfltk.so:
undefined reference to `XUnsetICFocus'
undefined reference to `XGetIMValues'
undefined reference to `XSetICValues'
undefined reference to `Xutf8LookupString'
undefined reference to `XSetICFocus'
undefined reference to `XVaCreateNestedList'
>
> h.
>
Cheers,
> --
> Holger 'zecke' Freyther
> geek, QA monkey, OpenEmbedded Engineer
>
Alan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problems creating a bitbake package
2006-11-06 10:52 ` Alan Carvalho de Assis
@ 2006-11-06 12:20 ` Joaquim Duran
2006-11-07 10:19 ` Alan Carvalho de Assis
0 siblings, 1 reply; 8+ messages in thread
From: Joaquim Duran @ 2006-11-06 12:20 UTC (permalink / raw)
To: openembedded-devel
Alan,
I think that the library Xext is not installed. The dependency line of
the file should be similar to:
DEPENDS = "zlib jpeg libpng libxext"
Well, I'm trying to build FLTK with support for anti aliased fonts. ASAP
the build image is created successfully, I'll submit the patch.
Thanks and Best Regards,
Joaquim Duran
En/na Alan Carvalho de Assis ha escrit:
> Hi Holger,
>
> On 11/5/06, Holger Freyther <freyther@gmx.net> wrote:
>> because you inherit gpe.bbclass after setting the SRC_URI and the
>> SRC_URI will be overwritten. Take a look at the gpe.bbclass
>>
>
> Sure, it solve the first one problem.
>
> Do you have some idea to solve these undefined references in libfltk.so:
> undefined reference to `XUnsetICFocus'
> undefined reference to `XGetIMValues'
> undefined reference to `XSetICValues'
> undefined reference to `Xutf8LookupString'
> undefined reference to `XSetICFocus'
> undefined reference to `XVaCreateNestedList'
>
>> h.
>>
>
> Cheers,
>
>> --
>> Holger 'zecke' Freyther
>> geek, QA monkey, OpenEmbedded Engineer
>>
>
> Alan
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problems creating a bitbake package
2006-11-06 12:20 ` Joaquim Duran
@ 2006-11-07 10:19 ` Alan Carvalho de Assis
2006-11-07 13:06 ` Joaquim Duran
0 siblings, 1 reply; 8+ messages in thread
From: Alan Carvalho de Assis @ 2006-11-07 10:19 UTC (permalink / raw)
To: openembedded-devel
Hi Joaquim,
On 11/6/06, Joaquim Duran <joaquinduran@adtelecom.es> wrote:
> Alan,
>
> I think that the library Xext is not installed. The dependency line of
> the file should be similar to:
>
> DEPENDS = "zlib jpeg libpng libxext"
>
Thank you very much.
> Well, I'm trying to build FLTK with support for anti aliased fonts. ASAP
> the build image is created successfully, I'll submit the patch.
>
Sure, good work. Anyway after I will port ipatience to use GTK because
everything in gpe use it and FLTK is not so much used.
Joaquim, do you are a FLTK programmer?
> Thanks and Best Regards,
Cheers,
> Joaquim Duran
>
Alan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problems creating a bitbake package
2006-11-07 10:19 ` Alan Carvalho de Assis
@ 2006-11-07 13:06 ` Joaquim Duran
2006-11-07 12:17 ` Koen Kooi
0 siblings, 1 reply; 8+ messages in thread
From: Joaquim Duran @ 2006-11-07 13:06 UTC (permalink / raw)
To: openembedded-devel
Alan,
Yesterday, I submitted the patch, but it has not been integrated with
the repository (http://bugs.openembedded.org/show_bug.cgi?id=1555).
No, I'm not an FLTK programmer. I would like to use FLTK because in the
company that I'm working, it's interested in develop a portable
oscilloscope. I needed a plot widget to represent the data acquired, and
FLTK had one. I've write a prototype but seen the philosophy of the
FTLK, I'll not use if I can.
Some days ago I compiled qwt4.2 rc1 with qte 2.3.10 and qpe1. I'm
thinking to switch this environment. Next steps:
- Port QWT 4.2.0 to qte2
- Make a step over and use QTopia 4.2 (that someone else ported) and
port qwt 5 to qtopia 4.2 (released today, I think).
Joaquim Duran
En/na Alan Carvalho de Assis ha escrit:
> Hi Joaquim,
>
> On 11/6/06, Joaquim Duran <joaquinduran@adtelecom.es> wrote:
>> Alan,
>>
>> I think that the library Xext is not installed. The dependency line of
>> the file should be similar to:
>>
>> DEPENDS = "zlib jpeg libpng libxext"
>>
>
> Thank you very much.
>
>> Well, I'm trying to build FLTK with support for anti aliased fonts. ASAP
>> the build image is created successfully, I'll submit the patch.
>>
>
> Sure, good work. Anyway after I will port ipatience to use GTK because
> everything in gpe use it and FLTK is not so much used.
>
> Joaquim, do you are a FLTK programmer?
>
>> Thanks and Best Regards,
>
> Cheers,
>
>> Joaquim Duran
>>
>
> Alan
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-11-07 12:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-04 17:31 Problems creating a bitbake package Alan Carvalho de Assis
2006-11-05 13:18 ` Holger Freyther
2006-11-06 10:52 ` Alan Carvalho de Assis
2006-11-06 12:20 ` Joaquim Duran
2006-11-07 10:19 ` Alan Carvalho de Assis
2006-11-07 13:06 ` Joaquim Duran
2006-11-07 12:17 ` Koen Kooi
2006-11-07 13:53 ` Joaquim Duran
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.