Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] fails to build host-ncurses
@ 2012-06-26 22:06 Belisko Marek
  2012-06-27  7:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2012-06-26 22:06 UTC (permalink / raw)
  To: buildroot

My git HEAD is 01d7b429d9a0709ce96f7af892b14398b62d5b22.

I'm trying to build ncurses but it fails with:

ranlib ../lib/libncurses.a
ranlib ../lib/libncurses_g.a
make[2]: Leaving directory
`/home/open-nandra/projects/buildroot/output/build/host-ncurses-5.7/ncurses'
/usr/lib/ccache/gcc ../objects/tic.o ../objects/dump_entry.o
-L/home/open-nandra/projects/buildroot/output/host/lib
-L/home/open-nandra/projects/buildroot/output/host/usr/lib
-Wl,-rpath,/home/open-nandra/projects/buildroot/output/host/usr/lib
-I../progs -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64  -DNDEBUG
-I/home/open-nandra/projects/buildroot/output/host/usr/include/ncurses
-O2 -I/home/open-nandra/projects/buildroot/output/host/include
-I/home/open-nandra/projects/buildroot/output/host/usr/include
--param max-inline-insns-single=1200 -static -L../lib -lncurses
-L../lib -lncurses -dynamic   -o tic
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory
`/home/open-nandra/projects/buildroot/output/build/host-ncurses-5.7/progs'
make: *** [/home/open-nandra/projects/buildroot/output/build/host-ncurses-5.7/.stamp_built]
Error 2

Am I missing some host libs?

Regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 21060 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120627/56813796/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] fails to build host-ncurses
  2012-06-26 22:06 [Buildroot] fails to build host-ncurses Belisko Marek
@ 2012-06-27  7:20 ` Thomas Petazzoni
  2012-06-27  7:31   ` Belisko Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-06-27  7:20 UTC (permalink / raw)
  To: buildroot

Le Wed, 27 Jun 2012 00:06:41 +0200,
Belisko Marek <marek.belisko@gmail.com> a ?crit :

> Am I missing some host libs?

You're missing the static version of libc. Depending on your distro, it
might be installed through the libc6-dev package (Debian/Ubuntu), or
through the glibc-static package (or something similar on
Fedora/Redhat distros).

Basically, search for the package in your distro that will install the
libc.a file.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] fails to build host-ncurses
  2012-06-27  7:20 ` Thomas Petazzoni
@ 2012-06-27  7:31   ` Belisko Marek
  2012-06-27  7:33     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2012-06-27  7:31 UTC (permalink / raw)
  To: buildroot

On Wed, Jun 27, 2012 at 9:20 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Wed, 27 Jun 2012 00:06:41 +0200,
> Belisko Marek <marek.belisko@gmail.com> a ?crit :
>
>> Am I missing some host libs?
>
> You're missing the static version of libc. Depending on your distro, it
> might be installed through the libc6-dev package (Debian/Ubuntu), or
> through the glibc-static package (or something similar on
> Fedora/Redhat distros).
Thanks. I have Fedora 17. I was going through BR documentation but
cannot find something
about distro preinstalled packages. IMO this could be added to
documentation to avoid email like mine ;)
>
> Basically, search for the package in your distro that will install the
> libc.a file.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Cheers,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] fails to build host-ncurses
  2012-06-27  7:31   ` Belisko Marek
@ 2012-06-27  7:33     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-06-27  7:33 UTC (permalink / raw)
  To: buildroot

Le Wed, 27 Jun 2012 09:31:26 +0200,
Belisko Marek <marek.belisko@gmail.com> a ?crit :

> Thanks. I have Fedora 17. I was going through BR documentation but
> cannot find something
> about distro preinstalled packages. IMO this could be added to
> documentation to avoid email like mine ;)

Actually, it was part of the FAQ at
http://buildroot.org/downloads/buildroot.html#faq, in the old
documentation. But for some reason, this FAQ has not been added to the
new documentation. I guess I am the one to blame since I'm the one who
did the conversion of the documentation :-)

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-27  7:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26 22:06 [Buildroot] fails to build host-ncurses Belisko Marek
2012-06-27  7:20 ` Thomas Petazzoni
2012-06-27  7:31   ` Belisko Marek
2012-06-27  7:33     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox