I have built the DirectFB HEAD and installed it and it seems to be
working great with my G400.

I have also built mplayer and it seems to work too (i.e. builds and
runs, but I have not seen the output yet :-)

I now want to build XDirectFB.  I want to try to stay with the tree that
the distro ships which is 4.3.0 so that I don't have to completely gut
everything X on the system.  The date in the XFree86 RELNOTES file says:
26 February 2003

I seem to be running into some issues.  I had to massage the xc patch a
bit, no problem.  But in linking the XDirectFB, I am getting the
following unresolved symbols:

dix/libdix.a(dispatch.o)(.text+0x2c): In function `UpdateCurrentTime':
: undefined reference to `GetTimeInMillis'
dix/libdix.a(dispatch.o)(.text+0xa2): In function `UpdateCurrentTimeIf':
: undefined reference to `GetTimeInMillis'
dix/libdix.a(events.o)(.text+0x6eee): In function `InitEvents':
: undefined reference to `GetTimeInMillis'
os/libos.a(WaitFor.o)(.text+0xa3d): In function `WaitForSomething':
: undefined reference to `GetTimeInMillis'
os/libos.a(WaitFor.o)(.text+0xd66): In function `WaitForSomething':
: undefined reference to `GetTimeInMillis'
os/libos.a(WaitFor.o)(.text+0x1230): more undefined references to `GetTimeInMill
is' follow
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x31b): In function `Rootless
ComputeClips':
: undefined reference to `REGION_NULL'
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x331): In function `Rootless
ComputeClips':
: undefined reference to `REGION_NULL'
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x597): In function `Rootless
ComputeClips':
: undefined reference to `REGION_NULL'
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x5aa): In function `Rootless
ComputeClips':
: undefined reference to `REGION_NULL'
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x95a): In function `Rootless
ComputeClips':
: undefined reference to `REGION_NULL'
hw/directfb/libdirectfb.a(rootlessValTree.o)(.text+0x997): more undefined refere
nces to `REGION_NULL' follow
hw/directfb/libdirectfb.a(directfbDGA.o)(.text+0xaad): In function `XDirectFBDGA
DispatchMotion':
: undefined reference to `GetTimeInMillis'
hw/directfb/libdirectfb.a(directfbDGA.o)(.text+0xc6f): In function `XDirectFBDGA
DispatchButton':
: undefined reference to `GetTimeInMillis'
hw/directfb/libdirectfb.a(directfbDGA.o)(.text+0xe89): In function 
`XDirectFBDGADispatchKey':
: undefined reference to `GetTimeInMillis'
hw/directfb/libdirectfb.a(directfbPasteboard.o)(.text+0x2ce): In function 
`XDirectFBClipboardLostFocus':
: undefined reference to `GetTimeInMillis'
hw/directfb/libdirectfb.a(rootlessCommon.o)(.text+0x2e4): In function 
`RootlessReallySetShape':
: undefined reference to `REGION_NULL'
xkb/libxkb.a(xkbEvents.o)(.text+0x1e): In function `XkbSendNewKeyboardNotify':
: undefined reference to `GetTimeInMillis'
xkb/libxkb.a(xkbEvents.o)(.text+0x242): In function `XkbSendStateNotify':
: undefined reference to `GetTimeInMillis'
xkb/libxkb.a(xkbEvents.o)(.text+0x4c5): In function `XkbSendMapNotify':
: undefined reference to `GetTimeInMillis'
xkb/libxkb.a(xkbEvents.o)(.text+0x86d): In function `XkbSendControlsNotify':
: undefined reference to `GetTimeInMillis'
xkb/libxkb.a(xkbEvents.o)(.text+0x9db): In function `XkbSendIndicatorNotify':
: undefined reference to `GetTimeInMillis'
xkb/libxkb.a(xkbEvents.o)(.text+0xc89): more undefined references to `GetTimeInMillis' 
follow

In my investigation of just one of these (to get a feeling for the
nature of the problem) I used "GetTimeInMillis".  It seems that the
XFree source expect that the hardware layer provides this.  In looking
in past versions of the "hw" stuff for XDirectFB, it seems that
"GetTimeInMillis(void)" was defined in hw/directfb/directfbX.c, but is
no longer.  It does not seem to be part of hw/directfb at all any more
(disappeared in 1.38).

Is this just indicative of the problems I am going to run into with such
disparate time frames of the pieces I am trying to put together?

If I were to checkout an older copy of XDirectFB that better matches my
XFree source, would I have more luck?  I am wondering about the
compatibility of current (HEAD) directfb vs. older XDirectFB (that
better matches my XFree tree).

Thots?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to