From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: XF86VidModeQueryExtension has disappeared Date: Mon, 24 Nov 2008 12:11:37 +0100 Message-ID: <492A8BE9.1020605@hanzlici.cz> References: <20081121233222.d1146de4.theatre@sasktel.net> <4928A1E4.40702@hanzlici.cz> <20081124023448.7b6e37b6.theatre@sasktel.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081124023448.7b6e37b6.theatre@sasktel.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Frank Cox Cc: linux-msdos@vger.kernel.org Frank Cox wrote: > On Sun, 23 Nov 2008 01:20:52 +0100 > Frantisek Hanzlik wrote: > >> and dosemu run fine for me on 32bit i386 > > I have just downloaded your dosemu-1.4.0.1-5.svn1868.fc10.src.rpm and compiled > it on my F10 laptop without any apparent error. > > After installing the i386 rpm that was produced from your src.rpm, I get the > same error: > > /usr/bin/xdosemu: symbol lookup error: /usr/lib/dosemu/libplugin_X.so: > undefined symbol: XF86VidModeQueryExtension > > I appear to have the same libXxf86vm.so.1.0.0 that you do. > > I see this with "objdump -T libXxf86vm.so.1.0.0": > > 001027b0 g DF .text 00000034 Base XF86VidModeQueryExtension > > So it's present and accounted for, but dosemu's libplugin_X.so apparently can't > find it. > > I would think that since libXxf86vm.so.1.0.0 lives in /usr/lib, if there was > some sort of a pathing problem a lot more stuff would fail than just dosemu. > Hmm, xdosemu work fine for me and libplugin_X.so is obviously called, see part of my '$_debug = "2+a"' listing: grep '^X: ' ~/.dosemu/boot.log X: X_init X: visual class is TrueColor X: using true color visual X: pixel size is 32 bits/pixel X: MIT-SHM major opcode: 144 X: using MIT-SHM X: VidMode Extension version 2.2 X: X_keymap_init: X server vendor is "The X.Org Foundation" X: X_keymap_init: using DOSEMU's internal keycode translation X: X_init: parent window: 0x83 X: X_init: screen = 0, root = 0x83, mainwindow = 0x3600001 X: running xset +fp /usr/share/dosemu/Xfonts 2>/dev/null X: X_change_config: font "-misc-fixed-medium-r-normal--20-200-75-75-c-100-ibm-cp852" not found, using builtin X: NOT loading a font. Using EGA/VGA builtin/RAM fonts. X: EGA/VGA font size is 9 x 16 X: X_init: mouse grabbing enabled, use Ctrl+Mod1+Home to activate X: window mapped X: expose event X: X_redraw_text_screen: all X: focus in X: KeymapNotify event X: CapsLockMask = 0x2 X: CapsLockKeycode = 0x42 X: NumLockMask = 0x10 X: NumLockKeycode = 0x4d X: ScrollLockMask = 0x0 X: ScrollLockKeycode = 0x4e X: AltMask = 0x8 X: AltGrMask = 0x80 X: InsLockMask = 0x0 X: looking for LALT X: mapping LALT(40) -> 38 X: looking for RALT .... X: looking for EXEC X: looking for BRK X: looking for BREA X: X_setmode: video_mode 0x3 (TEXT), size 80 x 25 (720 x 400 pixel) X: X_setmode to text mode: Get remapper for Erics fonts X: resize_ximage 1280 x 1024 --> 1280 x 1024 X: expose event X: X_redraw_text_screen: all X: expose event X: expose event X: X_redraw_text_screen: all X: KeymapNotify event X: Mouse entering window event X: Mouse really entering window X: resize_ximage 1280 x 1024 --> 1274 x 988 X: X_setmode: re-init video_mode 0x3 (TEXT), size 80 x 25 (720 x 400 pixel) X: X_setmode to text mode: Get remapper for Erics fonts X: resize_ximage 1280 x 1024 --> 1280 x 1024 X: X_redraw_text_screen: all X: expose event X: X_redraw_text_screen: all X: expose event X: X_redraw_text_screen: all X: resize_ximage 1280 x 1024 --> 1274 x 988 X: X_redraw_text_screen: all X: expose event X: X_redraw_text_screen: all X: X_change_config: item = 7, buffer = 0x81d38c0 X: X_change_config: item = 1, buffer = (nil) .... and dosemu has using "/usr/lib/libXxf86vm.so.1.0.0": lsof -p $(pidof dosemu.bin) COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dosemu.bi 9932 hanzlik cwd DIR 8,3 4096 1238393 /home/hanzlik/.dosemu dosemu.bi 9932 hanzlik rtd DIR 8,3 4096 2 / dosemu.bi 9932 hanzlik txt REG 8,3 1623224 1777282 /usr/bin/dosemu.bin dosemu.bi 9932 hanzlik DEL REG 0,16 346502 /dev/shm/dosemu_9932 dosemu.bi 9932 hanzlik mem REG 8,3 219165 1811259 /usr/lib/dosemu/libplugin_X.so dosemu.bi 9932 hanzlik mem REG 8,3 1051120 2072945 /usr/lib/libX11.so.6.2.0 dosemu.bi 9932 hanzlik mem REG 8,3 38536 2073035 /usr/lib/libXcursor.so.1.0.2 dosemu.bi 9932 hanzlik mem REG 8,3 546576 1786893 /usr/lib/libvga.so.1.9.25 dosemu.bi 9932 hanzlik mem REG 8,3 156948 1124054 /lib/ld-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 1809640 1124108 /lib/libc-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 210292 1126385 /lib/libm-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 20460 1127271 /lib/libdl-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 135836 1129527 /lib/libpthread-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 48484 1131006 /lib/librt-2.9.so dosemu.bi 9932 hanzlik mem REG 8,3 114280 2072914 /usr/lib/libxcb.so.1.0.0 dosemu.bi 9932 hanzlik mem REG 8,3 6036 2072943 /usr/lib/libxcb-xlib.so.0.0.0 dosemu.bi 9932 hanzlik mem REG 8,3 20024 2072888 /usr/lib/libXdmcp.so.6.0.0 dosemu.bi 9932 hanzlik mem REG 8,3 9544 2072857 /usr/lib/libXau.so.6.0.0 dosemu.bi 9932 hanzlik mem REG 8,3 62812 2072980 /usr/lib/libXext.so.6.4.0 dosemu.bi 9932 hanzlik mem REG 8,3 18136 2073030 /usr/lib/libXfixes.so.3.1.0 dosemu.bi 9932 hanzlik mem REG 8,3 34472 2072952 /usr/lib/libXrender.so.1.3.0 dosemu.bi 9932 hanzlik mem REG 8,3 18884 1782263 /usr/lib/libXxf86vm.so.1.0.0 dosemu.bi 9932 hanzlik DEL REG 0,8 8749072 /SYSV00000000 dosemu.bi 9932 hanzlik mem REG 8,3 26048 1824902 /usr/lib/gconv/gconv-modules.cache dosemu.bi 9932 hanzlik mem REG 8,3 135493 1777178 /usr/share/locale/cs/LC_MESSAGES/libc.mo dosemu.bi 9932 hanzlik mem REG 8,3 80625664 2119258 /usr/lib/locale/locale-archive dosemu.bi 9932 hanzlik 0u CHR 136,17 0t0 19 /dev/pts/17 dosemu.bi 9932 hanzlik 1u CHR 136,17 0t0 19 /dev/pts/17 dosemu.bi 9932 hanzlik 2u CHR 136,17 0t0 19 /dev/pts/17 dosemu.bi 9932 hanzlik 3r REG 0,3 0 346487 /proc/9932/maps dosemu.bi 9932 hanzlik 4w REG 8,3 2806 1239307 /home/hanzlik/.dosemu/boot.log dosemu.bi 9932 hanzlik 5u REG 0,16 13697024 346502 /dev/shm/dosemu_9932 (deleted) dosemu.bi 9932 hanzlik 6u unix 0xe6a55880 0t0 346503 socket dosemu.bi 9932 hanzlik 7u CHR 1,3 0t0 420 /dev/null dosemu.bi 9932 hanzlik 8u CHR 1,3 0t0 420 /dev/null dosemu.bi 9932 hanzlik 9w REG 8,3 0 1238406 /home/hanzlik/.dosemu/run/dosemu-midi dosemu.bi 9932 hanzlik 10r FIFO 8,3 0t0 1239308 /home/hanzlik/.dosemu/run/dosemu.dbgin.9932 dosemu.bi 9932 hanzlik 11u FIFO 8,3 0t0 1239309 /home/hanzlik/.dosemu/run/dosemu.dbgout.9932 dosemu.bi 9932 hanzlik 13r BLK 11,1 0t0 6254 /dev/sr1 Did You tried some test aka: # strings ld.so.cache |grep Xxf86vm libXxf86vm.so.1 /usr/lib/libXxf86vm.so.1 libXxf86vm.so /usr/lib/libXxf86vm.so # rpm -V libXxf86vm-devel # rpm -V libXxf86vm Franta