hello ...
ia have problem with static compiling (linking) with my prog for X
... when i'm compiling it dynamicaly, it runs ok ...
here is the listing:
cc -static -O2 -Wall -D__RELEASE -DNO_SEAL -o bin/lxwin.so lxwin.o
-L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXdpms -lXi -lXp -lXss
-lXtst -lXxf86misc
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function `find_display':
XF86VMode.o(.text+0x11): undefined reference to `XextCreateExtension'
XF86VMode.o(.text+0x2a): undefined reference to `XextFindDisplay'
XF86VMode.o(.text+0x4c): undefined reference to `XextAddDisplay'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function `close_display':
XF86VMode.o(.text+0x6e): undefined reference to `XextRemoveDisplay'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function
`XF86VidModeQueryVersion':
XF86VMode.o(.text+0xe8): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function
`XF86VidModeGetModeLine':
XF86VMode.o(.text+0x1ec): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function
`XF86VidModeGetAllModeLines':
XF86VMode.o(.text+0x390): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function
`XF86VidModeAddModeLine':
XF86VMode.o(.text+0x629): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o): In function
`XF86VidModeDeleteModeLine':
XF86VMode.o(.text+0x819): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86vm.a(XF86VMode.o)(.text+0x969): more undefined
references to `XMissingExtension' follow
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function `find_display':
XF86DGA.o(.text+0x11): undefined reference to `XextCreateExtension'
XF86DGA.o(.text+0x2a): undefined reference to `XextFindDisplay'
XF86DGA.o(.text+0x4c): undefined reference to `XextAddDisplay'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function `close_display':
XF86DGA.o(.text+0x6e): undefined reference to `XextRemoveDisplay'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function
`XF86DGAQueryVersion':
XF86DGA.o(.text+0xe8): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function `XF86DGAGetVideoLL':
XF86DGA.o(.text+0x1e8): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function
`XF86DGADirectVideoLL':
XF86DGA.o(.text+0x2f5): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function
`XF86DGAGetViewPortSize':
XF86DGA.o(.text+0x3b8): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o): In function `XF86DGASetViewPort':
XF86DGA.o(.text+0x4b5): undefined reference to `XMissingExtension'
/usr/X11R6/lib/libXxf86dga.a(XF86DGA.o)(.text+0x588): more undefined
references to `XMissingExtension' follow
collect2: ld returned 1 exit status
make: *** [lxwin.so] Error 1

hmmmm ;(
                                        marek
LiNUX - Live free or die
______________________________________________________________________
                                                              Contact:
                                                       [EMAIL PROTECTED]
                                  pgp finger [EMAIL PROTECTED]
                                                 Tel. +421/95/602 2152


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to