Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 80885 - adding parallel port support to qemu
Summary: adding parallel port support to qemu
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Luca Barbato
URL: http://lists.gnu.org/archive/html/qem...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 10:36 UTC by Andres Mujica
Modified: 2005-02-22 21:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Mujica 2005-02-05 10:36:19 UTC
there's this patch to add lpt support to qemu.

Reproducible: Always
Steps to Reproduce:
1.try to use lpt under qemu
2.
3.

Actual Results:  
there's no support, besides this patch


please try to use this patch in conjuction with patch from bug 74601
Comment 1 Andres Mujica 2005-02-05 17:16:34 UTC
in current cvs parallel port is already added

2005-02-05 

Changelog

version 0.6.2:

  - better BIOS translation and HDD geometry auto-detection
  - user mode networking bug fix
  - undocumented FPU ops support
  - Cirrus VGA: support for 1280x1024x[8,15,16] modes
  - 'pidfile' option
  - .dmg disk image format support (Johannes Schindelin)
  - keymaps support (initial patch by Johannes Schindelin)
  - big endian ARM support (Lennert Buytenhek)
  - added generic 64 bit target support
  - initial x86_64 target support
  - initial APIC support
  - MMX/SSE/SSE2/PNI support
  - PC parallel port support (Mark Jonckheere)
  - initial SPARC64 support (Blue Swirl)
  - armv5te user mode support (Paul Brook)

Comment 2 Andres Mujica 2005-02-05 18:06:17 UTC
sadly, after trying to compile cvs it failed with:

gcc  -static -Wl,-T,/home/docs/Soporte/Tecnico/linux/qemu/qemu/i386-vl.ld  -o qemu-fast vl.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o ossaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o mixeng.o apic.oparallel.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a  -lm -lz -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext -lggi -lgii -lgg -lvga -laa -L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses -lncurses -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang-lutil
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x6df): En la funci
Comment 3 Andres Mujica 2005-02-05 18:06:17 UTC
sadly, after trying to compile cvs it failed with:

gcc  -static -Wl,-T,/home/docs/Soporte/Tecnico/linux/qemu/qemu/i386-vl.ld  -o qemu-fast vl.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o ossaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o mixeng.o apic.oparallel.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a  -lm -lz -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext -lggi -lgii -lgg -lvga -laa -L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses -lncurses -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang-lutil
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x6df): En la función `Audio_CreateDevice':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: no se puede encontrar -laudio
collect2: ld devolvió el estado de salida 1
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/home/docs/Soporte/Tecnico/linux/qemu/qemu/i386'
make: *** [all] Error 1

Already reemerged libsdl to 1.2.8 but no go.
Comment 4 Andres Mujica 2005-02-05 18:12:10 UTC
some background info:


sdl-config --libs
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread

sdl-config --static-libs
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext -lggi -lgii -lgg -lvga -laa -L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses -lncurses

sdl-config --version
1.2.8

emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.10-gentoo-r2-piv i686)
=================================================================
System uname: 2.6.10-gentoo-r2-piv i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.5.2
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug  8 2004, 20:36:58)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.7-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="es_CO"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl afs alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dba directfb dlloader encode esd ethereal f77 fam flac font-server foomaticdb fortran freetds gd gd-external gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 hardened hardenedphp hyperwave-api imagemagick imap imlib ipv6 jabber jack java jpeg junit kde kerberos krb4 ldap libg++ libwww mad mikmod mmxmotif mpeg mysql nas ncurses nls nptl odbc oggvorbis opengl oss pam pdflib perl php pic png postgres python qt quicktime readline samba sasl scanner sdl session slang snmp speex spell ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vhosts xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 5 SpanKY gentoo-dev 2005-02-22 21:18:16 UTC
i say wait for the next release of qemu to get this