Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Fwd: statically built libuuid?
       [not found] <CAK7rcp9og0N_merFniFx=ucrebUUONhkKZ3Ao919Ks46813vFg@mail.gmail.com>
@ 2016-03-30 13:53 ` Kenneth Adam Miller
  2016-03-30 13:59   ` Gustavo Zacarias
  0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Adam Miller @ 2016-03-30 13:53 UTC (permalink / raw)
  To: buildroot

I have a custom package that depends on BR2_PACKAGE_UTIL_LINUX_UUIDD, which
we have correct selected and built. I can see libuuid.so in my output
directory when I do a find, but when I go to compile, adding in any
directory that libuuid could possibly be in, the compiler says:

ld: cannot find -luuid

Which is irritating. I have the --static flag on to my compiler, so I
wonder if that might be the problem. I didn't see libuuid.a in my output
directory for my bzImage, so I think that that is the problem. If I take
away the --static flag, compilation succeeds just fine. But I have to
compile my targets statically, it won't work any other way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160330/7d38a343/attachment.html>

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

* [Buildroot] Fwd: statically built libuuid?
  2016-03-30 13:53 ` [Buildroot] Fwd: statically built libuuid? Kenneth Adam Miller
@ 2016-03-30 13:59   ` Gustavo Zacarias
  0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2016-03-30 13:59 UTC (permalink / raw)
  To: buildroot

On 30/03/16 10:53, Kenneth Adam Miller wrote:

> I have a custom package that depends on BR2_PACKAGE_UTIL_LINUX_UUIDD,
> which we have correct selected and built. I can see libuuid.so in my
> output directory when I do a find, but when I go to compile, adding in
> any directory that libuuid could possibly be in, the compiler says:
>
> ld: cannot find -luuid
>
> Which is irritating. I have the --static flag on to my compiler, so I
> wonder if that might be the problem. I didn't see libuuid.a in my output
> directory for my bzImage, so I think that that is the problem. If I take
> away the --static flag, compilation succeeds just fine. But I have to
> compile my targets statically, it won't work any other way.

Hi.
Did you enable static-only or static/shared library builds in build options?
Because the default is to build shared-only, hence not having a static 
libuuid.a is expected.
Regards.

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

end of thread, other threads:[~2016-03-30 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAK7rcp9og0N_merFniFx=ucrebUUONhkKZ3Ao919Ks46813vFg@mail.gmail.com>
2016-03-30 13:53 ` [Buildroot] Fwd: statically built libuuid? Kenneth Adam Miller
2016-03-30 13:59   ` Gustavo Zacarias

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