* [Buildroot] Q: Problem building libgtk2 - libcups?
@ 2008-05-27 22:55 Michael.Forkey at elektrobit.com
2008-05-28 8:50 ` Daniel Laird
0 siblings, 1 reply; 2+ messages in thread
From: Michael.Forkey at elektrobit.com @ 2008-05-27 22:55 UTC (permalink / raw)
To: buildroot
buildroot-20080523 with the 5 patches Daniel Laird posted to this
mailing list on Friday 5/23/2008.
I am having a problem building libcups as part of libgtk2 for the ARM9.
I get the following:
Linking pdftops...
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
libxpdf.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [pdftops] Error 1
It looks to me like the correct toolchain is being used - everything
says "arm-..." (i.e. gcc, ar, etc.) What else should I check?
Is the cups library really needed for libgtk2? I haven't seen any
reference to it as a requirement in anything I've read about GTK+. I
don't need printing support. Can I disable building this library?
Thanks,
mf
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080527/048c6288/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Q: Problem building libgtk2 - libcups?
2008-05-27 22:55 [Buildroot] Q: Problem building libgtk2 - libcups? Michael.Forkey at elektrobit.com
@ 2008-05-28 8:50 ` Daniel Laird
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Laird @ 2008-05-28 8:50 UTC (permalink / raw)
To: buildroot
I removed cups from the dependencies list and added it the X dependencies.
So that people who build X get cups else none.
I agree that cups is a bit over the top for a gtk->directfb system where one
can presume size is important. For me building for a STB cups is not
useful.
You will also need to change Config.in to make sure CUPS is not enabled by
default.
Dan
Michael.Forkey wrote:
>
> buildroot-20080523 with the 5 patches Daniel Laird posted to this
> mailing list on Friday 5/23/2008.
>
> I am having a problem building libcups as part of libgtk2 for the ARM9.
> I get the following:
> Linking pdftops...
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> /usr/bin/ld: libxpdf.a(gmem.o): Relocations in generic ELF (EM: 40)
> libxpdf.a: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[2]: *** [pdftops] Error 1
>
> It looks to me like the correct toolchain is being used - everything
> says "arm-..." (i.e. gcc, ar, etc.) What else should I check?
>
> Is the cups library really needed for libgtk2? I haven't seen any
> reference to it as a requirement in anything I've read about GTK+. I
> don't need printing support. Can I disable building this library?
>
>
> Thanks,
> mf
>
>
>
> ----------------------------------------------------------------
> Please note: This e-mail may contain confidential information
> intended solely for the addressee. If you have received this
> e-mail in error, please do not disclose it to anyone, notify
> the sender promptly, and delete the message from your system.
> Thank you.
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
--
View this message in context: http://www.nabble.com/Q%3A-Problem-building-libgtk2---libcups--tp17501911p17507928.html
Sent from the BuildRoot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-28 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-27 22:55 [Buildroot] Q: Problem building libgtk2 - libcups? Michael.Forkey at elektrobit.com
2008-05-28 8:50 ` Daniel Laird
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox