[EMAIL PROTECTED] wrote: >Has anyone tried to compile accessx on the cygwin port of XFree86 4.1.0 >? > >I tried to compile it but it failed with: > >$ make >Compiling accessx... >g++ -O ax.C Access.o -o ax -L/usr/X11R6/lib -lXext -I/usr/X11R6/include >Access.o(.text+0x725):Access.C: undefined reference to `XkbOpenDisplay' >Access.o(.text+0x77c):Access.C: undefined reference to `XkbGetMap' >Access.o(.text+0x799):Access.C: undefined reference to `XkbGetControls' >Access.o(.text+0x7b0):Access.C: undefined reference to `XkbFreeKeyboard' >[snip ...] >Access.o(.text+0x9a3):Access.C: undefined reference to `XCloseDisplay' >Access.o(.text+0xa40):Access.C: undefined reference to `XkbSetControls' >Access.o(.text+0xa50):Access.C: undefined reference to `XkbFreeKeyboard' >Access.o(.text+0xa5c):Access.C: undefined reference to `XCloseDisplay' >collect2: ld returned 1 exit status >make: *** [ax] Error 1 > >At first it couldn't find Xlib.h so I added an include to the Makefile >which you can see in the compile line above. > >libXext.a is in /usr/X11R6/lib > >Can anyone shed any light on this for me ? > >TIA >-- >Wilson Fletcher >McLachlan Software Pty Ltd >p:+61 2 92516511 f: +61 2 92517343 >_______________________________________________ >Xpert mailing list >[EMAIL PROTECTED] >http://XFree86.Org/mailman/listinfo/xpert > You also need -lX11 and maybe some others (try grepping the other X libraries to see what symbols they contain).
Mike. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
