LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 05-31-2009, 07:30 PM   #1
pimy
LQ Newbie
 
Registered: Oct 2006
Posts: 15
Thanked: 0
Trouble compiling qemu


[Log in to get rid of this advertisement]
Slack 11.0
kernel 2.6.17.13
gcc 3.4.6
ld 2.15.92.0.2 20040927
ldd 2.3.6



Hi,

I downloaded qemu 10.0 from here:

http://mirror.cinquix.com/pub/savannah/qemu/

I extracted the contents, then ran ./configure. Here is the ouput:

Code:
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/ronin/downloads/qemu-0.10.0
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS       -m32
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user
gprof enabled     no
sparse enabled    no
profiler          no
static build      no
-Werror enabled   no
SDL support       yes
SDL static link   no
curses support    yes
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16
Mixer emulation   no
VNC TLS support   no
kqemu support     yes
brlapi support    no
Documentation     no
NPTL support      no
vde support       no
AIO support       yes
Install blobs     yes
KVM support       no
fdt support       no
I then run make, and receive this error:

Code:
make[1]: Entering directory `/home/ronin/downloads/qemu-0.10.0/i386-softmmu'
  LINK  i386-softmmu/qemu
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make[1]: Leaving directory `/home/ronin/downloads/qemu-0.10.0/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
I have also tried qemu 10.5, and receive the same error.

Please help.

Thanks,
pimy
pimy is offline  
Tag This Post
Reply With Quote
Old 05-31-2009, 07:43 PM   #2
brianL
Senior Member
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 13.0 // Desktop: ; Slackware64 13.0; Debian "lenny"
Posts: 2,922
Blog Entries: 20
Thanked: 128
There's a SlackBuild for qemu on 11 here:
http://slackbuilds.org/result/?search=qemu&sv=11.0
brianL is offline     Reply With Quote
Old 05-31-2009, 07:56 PM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 2,258
Thanked: 38
I agree with brianL. I've got qemu installed on my slackware 12.2 system, I used the slack build script from slackbuilds.org. It works just fine.
That is the way to go, pimy.
hitest is offline     Reply With Quote
Old 06-02-2009, 02:05 AM   #4
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Slackware 12.2
Posts: 205
Blog Entries: 1
Thanked: 0
Used as a virtualizer, does Qemu have usb support ala VirtualBox PUEL version? tks
joutlancpa is offline     Reply With Quote
Old 06-02-2009, 03:16 AM   #5
poncez
Member
 
Registered: May 2009
Distribution: Slackware
Posts: 117
Thanked: 21
Quote:
Originally Posted by pimy View Post
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -lX11
it seems you need X11 package installed.
poncez is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble compiling scoutiilabs Programming 2 01-31-2009 09:19 AM
Got error in compiling kqemu with qemu depam Linux - Software 15 05-03-2006 06:47 PM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-05-2005 12:25 AM
trouble compiling fretbrner Slackware 1 01-31-2005 01:30 PM
Trouble compiling anything banZera Slackware 4 04-07-2004 11:19 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration