* [Buildroot] libglibg2 fails
@ 2009-01-16 7:36 Ulf Samuelsson
2009-01-16 8:49 ` Peter Korsgaard
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Ulf Samuelsson @ 2009-01-16 7:36 UTC (permalink / raw)
To: buildroot
When building libglib2 for both AVR32 and ARM I get the following:
...
gconvert.c:55:2: error:
#error GNU libiconv not in use but included iconv.h is from libiconv
make[5]: *** [gconvert.lo] Fel 1
...
make[1]: Leaving directory `<buildroot>/build_avr32/libglib2-2.19.4'
...
Is there anyone capable of building libglib2?
BR
Ulf Samuelsson
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] libglibg2 fails
2009-01-16 7:36 [Buildroot] libglibg2 fails Ulf Samuelsson
@ 2009-01-16 8:49 ` Peter Korsgaard
2009-01-16 9:42 ` Ulf Samuelsson
2009-01-16 9:27 ` Daniel James Laird
2009-01-16 9:28 ` Sven Neumann
2 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2009-01-16 8:49 UTC (permalink / raw)
To: buildroot
>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
Ulf> When building libglib2 for both AVR32 and ARM I get the following:
Ulf> ...
Ulf> gconvert.c:55:2: error:
Ulf> #error GNU libiconv not in use but included iconv.h is from libiconv
Ulf> make[5]: *** [gconvert.lo] Fel 1
Ulf> ...
Ulf> make[1]: Leaving directory `<buildroot>/build_avr32/libglib2-2.19.4'
Ulf> ...
Ulf> Is there anyone capable of building libglib2?
I've built it several times around christmas for arm (v4l)
Haven't tried since, so it sounds like recent breakage.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] libglibg2 fails
2009-01-16 8:49 ` Peter Korsgaard
@ 2009-01-16 9:42 ` Ulf Samuelsson
2009-01-16 11:07 ` Thomas Lundquist
0 siblings, 1 reply; 7+ messages in thread
From: Ulf Samuelsson @ 2009-01-16 9:42 UTC (permalink / raw)
To: buildroot
fre 2009-01-16 klockan 09:49 +0100 skrev Peter Korsgaard:
> >>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
>
> Ulf> When building libglib2 for both AVR32 and ARM I get the following:
> Ulf> ...
> Ulf> gconvert.c:55:2: error:
> Ulf> #error GNU libiconv not in use but included iconv.h is from libiconv
> Ulf> make[5]: *** [gconvert.lo] Fel 1
> Ulf> ...
> Ulf> make[1]: Leaving directory `<buildroot>/build_avr32/libglib2-2.19.4'
> Ulf> ...
>
> Ulf> Is there anyone capable of building libglib2?
>
> I've built it several times around christmas for arm (v4l)
>
> Haven't tried since, so it sounds like recent breakage.
>
I think it is a dependency that is missing.
Would appreciate it, if anyone with a working libglib2 for arm,
could post the .config to the list
--
Ulf Samuelsson
Atmel Nordic AB
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] libglibg2 fails
2009-01-16 9:42 ` Ulf Samuelsson
@ 2009-01-16 11:07 ` Thomas Lundquist
2009-01-16 20:46 ` Ulf Samuelsson
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Lundquist @ 2009-01-16 11:07 UTC (permalink / raw)
To: buildroot
On Fri, Jan 16, 2009 at 10:42:30AM +0100, Ulf Samuelsson wrote:
>
> I think it is a dependency that is missing.
> Would appreciate it, if anyone with a working libglib2 for arm,
> could post the .config to the list
I wouldn't be too surprised if this was my fault. I'll fix it
this week end.
Thomas.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] libglibg2 fails
2009-01-16 11:07 ` Thomas Lundquist
@ 2009-01-16 20:46 ` Ulf Samuelsson
0 siblings, 0 replies; 7+ messages in thread
From: Ulf Samuelsson @ 2009-01-16 20:46 UTC (permalink / raw)
To: buildroot
fre 2009-01-16 klockan 12:07 +0100 skrev Thomas Lundquist:
> On Fri, Jan 16, 2009 at 10:42:30AM +0100, Ulf Samuelsson wrote:
> >
> > I think it is a dependency that is missing.
> > Would appreciate it, if anyone with a working libglib2 for arm,
> > could post the .config to the list
>
> I wouldn't be too surprised if this was my fault. I'll fix it
> this week end.
Not neccessarily, since I am not doing a regular make.
I want to be able to test as many packages as possible,
and run the mkpkg script on each package, without
the package neccessarily beeing enabled in .config.
By running mkpkg on each package, I get an overview
of what builds and what does not, allowing easy fixes
but also this process is not stable yet.
BR
Ulf Samuelsson
>
>
> Thomas.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] libglibg2 fails
2009-01-16 7:36 [Buildroot] libglibg2 fails Ulf Samuelsson
2009-01-16 8:49 ` Peter Korsgaard
@ 2009-01-16 9:27 ` Daniel James Laird
2009-01-16 9:28 ` Sven Neumann
2 siblings, 0 replies; 7+ messages in thread
From: Daniel James Laird @ 2009-01-16 9:27 UTC (permalink / raw)
To: buildroot
The reason for this is that you have built libiconv and installed the headers.
However you have not passed the --with-libiconv=gnu to the configure of libglib2.
Are you using an external toolchain?
Are you setting BR2_ENABLE_LOCALE?
Because with an external toolchain you can't set BR2_ENABLE_LOCALE currently (I have hacked a local version for now). And if BR2_ENABLE_LOCALE is not set then libiconv gets built and your problem arises.
What you could do is update libglib2 to say, if BR2_ENABLE_LOCALE packages+=libiconv and
GLIB2_CONFIG_OPT+= --with-libiconv=gnu
And that should solve it
Hope this helps
Daniel Laird
-----Original Message-----
From: buildroot-bounces@busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Ulf Samuelsson
Sent: 2009 Jan 16 07:36
To: Buildroot
Subject: [Buildroot] libglibg2 fails
When building libglib2 for both AVR32 and ARM I get the following:
...
gconvert.c:55:2: error:
#error GNU libiconv not in use but included iconv.h is from libiconv
make[5]: *** [gconvert.lo] Fel 1
...
make[1]: Leaving directory `<buildroot>/build_avr32/libglib2-2.19.4'
...
Is there anyone capable of building libglib2?
BR
Ulf Samuelsson
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] libglibg2 fails
2009-01-16 7:36 [Buildroot] libglibg2 fails Ulf Samuelsson
2009-01-16 8:49 ` Peter Korsgaard
2009-01-16 9:27 ` Daniel James Laird
@ 2009-01-16 9:28 ` Sven Neumann
2 siblings, 0 replies; 7+ messages in thread
From: Sven Neumann @ 2009-01-16 9:28 UTC (permalink / raw)
To: buildroot
Hi,
On Fri, 2009-01-16 at 08:36 +0100, Ulf Samuelsson wrote:
> Is there anyone capable of building libglib2?
Builds fine for me with the buildroot snapshot from 20090113 and the
patch from https://bugs.busybox.net/show_bug.cgi?id=37
applied. But I guess it would also compile without that patch. Do you
have gettext and libiconv enabled in your build? My .config has
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_GETTEXT=y
# BR2_PACKAGE_GETTEXT_STATIC is not set
Sven
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-16 20:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 7:36 [Buildroot] libglibg2 fails Ulf Samuelsson
2009-01-16 8:49 ` Peter Korsgaard
2009-01-16 9:42 ` Ulf Samuelsson
2009-01-16 11:07 ` Thomas Lundquist
2009-01-16 20:46 ` Ulf Samuelsson
2009-01-16 9:27 ` Daniel James Laird
2009-01-16 9:28 ` Sven Neumann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox