undefined reference to xalloc

Colin Guthrie xorg at
Sun Apr 9 16:32:54 PDT 2006

I'm seeing the following error when trying to compile Xgl against latest 
Xorg CVS libs:

/home/colin/xgl/prefix/lib/ undefined reference to `xfree'
/home/colin/xgl/prefix/lib/ undefined reference to `xalloc'
/home/colin/xgl/prefix/lib/ undefined reference to 
collect2: ld returned 1 exit status
make[6]: *** [xorgcfg] Error 1
make[6]: Leaving directory `/home/colin/xgl/xgl/hw/xfree86/utils/xorgcfg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/colin/xgl/xgl/hw/xfree86/utils/xorgcfg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/colin/xgl/xgl/hw/xfree86/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/colin/xgl/xgl/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/colin/xgl/xgl/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/colin/xgl/xgl/hw'
make: *** [all-recursive] Error 1

Can anyone help? It seems a little odd to me... I'm thinking the problem 
must be in Xorg rather than Xgl, as I would have thought that the 
xfree/xalloc wrappers should have been linked in/macro'ified at library 
compile time rather than be the responsiblity of any apps that want to 
use these libs.....



|     Colin Guthrie      |
| xorg(at) |
| |

More information about the xorg mailing list