qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Compiling static
@ 2012-06-14 10:03 Davide Ferraretto
  2012-06-14 10:07 ` Davide Ferraretto
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Davide Ferraretto @ 2012-06-14 10:03 UTC (permalink / raw)
  To: qemu-devel

I want compile qemu with --static:
./configure --static --target-list=i386-linux-user,arm-linux-user 
--python=/usr/bin/python2.7 --prefix=/install_qemu

Qemu returns:
/usr/bin/ld: cannot find -lssl3
/usr/bin/ld: cannot find -lsmime3
/usr/bin/ld: cannot find -lnss3
/usr/bin/ld: cannot find -lnssutil3
collect2: error: ld returned 1 exit status

How resolve??

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

* [Qemu-devel] Compiling static
  2012-06-14 10:03 [Qemu-devel] Compiling static Davide Ferraretto
@ 2012-06-14 10:07 ` Davide Ferraretto
  2012-06-14 10:36 ` Dunrong Huang
  2012-06-14 13:39 ` Andreas Färber
  2 siblings, 0 replies; 4+ messages in thread
From: Davide Ferraretto @ 2012-06-14 10:07 UTC (permalink / raw)
  To: qemu-devel

I want compile qemu with --static: ./configure --static 
--target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 
--prefix=/install_qemu


Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find 
-lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find 
-lnssutil3 collect2: error: ld returned 1 exit status


How resolve??

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

* Re: [Qemu-devel] Compiling static
  2012-06-14 10:03 [Qemu-devel] Compiling static Davide Ferraretto
  2012-06-14 10:07 ` Davide Ferraretto
@ 2012-06-14 10:36 ` Dunrong Huang
  2012-06-14 13:39 ` Andreas Färber
  2 siblings, 0 replies; 4+ messages in thread
From: Dunrong Huang @ 2012-06-14 10:36 UTC (permalink / raw)
  To: Davide Ferraretto; +Cc: qemu-devel

2012/6/14 Davide Ferraretto <femudevelopment@gmail.com>:
> I want compile qemu with --static:
> ./configure --static --target-list=i386-linux-user,arm-linux-user
> --python=/usr/bin/python2.7 --prefix=/install_qemu
>
> Qemu returns:
> /usr/bin/ld: cannot find -lssl3
> /usr/bin/ld: cannot find -lsmime3
> /usr/bin/ld: cannot find -lnss3
> /usr/bin/ld: cannot find -lnssutil3
> collect2: error: ld returned 1 exit status
Note those libraries(libssl3.so, libsmime3 ...) belong to nss, did you
install nss header files and libraries?
Moreover, because you want to compile qemu statically, you must
install static nss libraries.
> How resolve??
>



-- 
linuxer, emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750

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

* Re: [Qemu-devel] Compiling static
  2012-06-14 10:03 [Qemu-devel] Compiling static Davide Ferraretto
  2012-06-14 10:07 ` Davide Ferraretto
  2012-06-14 10:36 ` Dunrong Huang
@ 2012-06-14 13:39 ` Andreas Färber
  2 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2012-06-14 13:39 UTC (permalink / raw)
  To: Davide Ferraretto; +Cc: Riku Voipio, qemu-devel

Am 14.06.2012 12:03, schrieb Davide Ferraretto:
> I want compile qemu with --static:
> ./configure --static --target-list=i386-linux-user,arm-linux-user
> --python=/usr/bin/python2.7 --prefix=/install_qemu
> 
> Qemu returns:
> /usr/bin/ld: cannot find -lssl3
> /usr/bin/ld: cannot find -lsmime3
> /usr/bin/ld: cannot find -lnss3
> /usr/bin/ld: cannot find -lnssutil3
> collect2: error: ld returned 1 exit status
> 
> How resolve??

I reported that as part of our v1.1 packaging: Someone needs to provide
a patch to configure to only test the libraries actually used for
linux-user / bsd-user.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

end of thread, other threads:[~2012-06-14 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 10:03 [Qemu-devel] Compiling static Davide Ferraretto
2012-06-14 10:07 ` Davide Ferraretto
2012-06-14 10:36 ` Dunrong Huang
2012-06-14 13:39 ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).