try this: gcc xlistdev.c -o xlistdev -L/usr/X11R6/lib -lX11 -lXext
On 0, Filipe Xavier Costa Andrade <[EMAIL PROTECTED]> wrote: > I've got a little problem here. All in xmame compilation goes just right but > when I tried to compile xlistev.c I just couldn't do it. I get these lines: > > /tmp/cc6Pi68A.o: In function `main': > /tmp/cc6Pi68A.o(.text+0xf): undefined reference to `XOpenDisplay' > /tmp/cc6Pi68A.o(.text+0x60): undefined reference to `XFreeDeviceList' > /tmp/cc6Pi68A.o: In function `list_input_devices': > /tmp/cc6Pi68A.o(.text+0x7e): undefined reference to `XListInputDevices' > collect2: ld returned 1 exit status > > I've searched around the web and I realized that the file has been the same > since a long time ago. In my old linux system with kernel 2.2.x I remember > that I could compile that ( I'm not self assored, but I know I could use my > joystick normally). I tried to change the source code but still I get some > errors. Maybe it has something to do with my xmame version(0.56.1) ? I didn't > try yet with the latest version. Well, any help would be highly appreciated. > > Thank you for your attention. > > _______________________________________________ > Xmame mailing list > [EMAIL PROTECTED] > http://toybox.twisted.org.uk/mailman/listinfo/xmame -- -marc v1.2a r TW 0/0/ FD 1- 0 Animals 3 0 10.3% <19oct99> _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
