All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

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.