This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: Compiling Errors - Xserver
- To: <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: Compiling Errors - Xserver
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Fri, 14 Jul 2000 16:10:18 -0400
Why are you __linking__ to /usr/X11R6.4/lib the XFree86 4.0.1 code?
X_SOURCE -DFUNCPROTO=15 -DNARROWPROTO xf86config.c
rm -f xf86cfg.exe
gcc -o
xf86cfg.exe -O2 -pedantic -fno-strength-reduce -fpcc-struct-return -fvtab
le-thunks -m486 -Wall -L../../../../../exports/lib accessx.o
cards.o
config.o card-cfg.o help.o interface.o keyboard-cfg.o
monitor-
cfg.o mouse-cfg.o options.o screen-cfg.o screen.o
startx.o
vidmode.o
xf86config.o -lxkbui -lxkbfile -lxf86config -lXxf86misc
-lXxf86vm -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -l
SM -
lICE -lXpm -lXext -lX11 -lm -L/usr/X11R6.4/lib -lipc
and why are you linking ti lipc? We discussed it a while ago on list
^^^^^^^^^^^^^^^^^^^
vidmode.o(.text+0x2154):vidmode.c: undefined reference to
`XF86VidModeSwitchToMo
de'
vidmode.o(.text+0x24f7):vidmode.c: undefined reference to
`XF86VidModeAddModeLin
e'
BTW xf86cf.exe is broken, I know that. It is needed only to compile
XFree86.exe X-server
which is broken too because os-support contains only stubs to support
cygwinArchitecture
for Xwin and XNest. What do u want to do with xf86cfg.exe, anyway?
Suhaib
> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of Mark A.
> Lawson
> Sent: Friday, July 14, 2000 3:43 PM
> To: 'cygwin-xfree@sourceware.cygnus.com'
> Subject: Compiling Errors - Xserver
>
>
> Xserver from CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
>
> Linking xf86cfg.exe fails due to undefined reference to
> `XF86VidModeSwitchToMode' and 'XF86VidModeAddModeLine'.
>
> They are defined in 'xc/lib/xxf86vm/XF86VMode.c' and the library
> libxxf86vm.a was linked by options -L../../../../../exports/lib -lXxf86vm
>
> xc/exports/lib/libXxf86vm.a -> ../../lib/Xxf86vm/libXxf86vm.a
>
> The included text file contents, attempts to briefly describe
> what software
> and procedure was used and the Error message. If additional
> information is
> required it will be gladly provided.
>
>
>
>
>
> Thanks in Advance,
>
> Mark A Lawson
> lawson@iwvisp.com
> voice/fax (760)384-1621
> 616 Yellow Astor Ave., Ridgecrest, CA
>