Well, I just got it to build on my Sarge system. But, I must admit, it
wasn't the easiest thing in the world.
/usr/src/xfree86
$ apt-get source xfree86-common
/usr/src/xfree86
$ cd xfree86-4.3.0.dfsg.1
/usr/src/xfree86/xfree86-4.3.0.dfsg.1
$ debuild
( This unpacks the source, applies all debian patches, and starts the
build process. I didn't even let it run to completion, but I let it run
long enough to hopefully get all the config stuff figured out.)
Then, in another window, I did this:
/usr/src/ivtv/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv
$ xmkmf /usr/src/xfree86/xfree86-4.3.0.dfsg.1/build-tree/xc
(notice, this is a directory under the xfree86 source tree, created by
debuild. Since you are using xorg, you may need to check and see where
the xc directory is under the xorg source directory).
xmkmf completed successfully, and then I could run
/usr/src/ivtv/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv
$ make
/usr/src/ivtv/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv
$ ltr
total 796
-rw-r--r-- 1 mgpaulus src 2711 2005-05-15 13:39 ivtvhw.h
-rw-r--r-- 1 mgpaulus src 499 2005-05-15 13:40 ivtvdev.h
-rw-r--r-- 1 mgpaulus src 493 2005-05-15 13:40 TODO
-rw-r--r-- 1 mgpaulus src 22011 2005-06-12 15:03 ivtvhw.c
-rw-r--r-- 1 mgpaulus src 1562 2005-08-25 13:39 Imakefile
-rw-r--r-- 1 mgpaulus src 20614 2005-08-30 14:24 ivtv_xv.c
-rw-r--r-- 1 mgpaulus src 14705 2005-08-30 14:27 ivtvdev.c
drwxr-sr-x 3 mgpaulus src 4096 2005-08-31 01:25 ../
-rw-r--r-- 1 mgpaulus src 95 2006-08-03 16:10 Makefile.bak
-rw-r--r-- 1 mgpaulus src 31839 2006-08-03 16:10 Makefile
-rw-r--r-- 1 mgpaulus src 128952 2006-08-03 16:10 ivtvdev.o
-rw-r--r-- 1 mgpaulus src 107032 2006-08-03 16:10 ivtv_xv.o
-rw-r--r-- 1 mgpaulus src 97348 2006-08-03 16:10 ivtvhw.o
-rw-r--r-- 1 mgpaulus src 329363 2006-08-03 16:10 ivtvdev_drv.o
drwxr-sr-x 2 mgpaulus src 4096 2006-08-03 16:10 ./
Jan Johansson wrote:
Do you have package 'xutils' installed? That's where Imake.tmpl seems to
live, according to my system:
[EMAIL PROTECTED]:/etc/default$ dpkg -l | grep xutils
ii xutils 7.1.ds-1 X Window
System utility programs
ii xutils-dev 1.0.2-3 X Window
System utility programs for develop
[EMAIL PROTECTED]:/etc/default$
This is wierd. Admittedly I am running Debian/Sarge, so maybe things have
changed between Sarge and Etch. How >did you get xmkmf on your system? Did
you install it via package xutils, or from source?
I have not done it with source, so it must be via package.
I guess I should have shown the complete error
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv# xmkmf /usr/src/xorg-server-1.0.2/
mv -f Makefile Makefile.bak
imake -I/usr/src/xorg-server-1.0.2//config/cf
-DTOPDIR=/usr/src/xorg-server-1.0.2/ -DCURDIR=.
Imakefile.c:39: error: Imake.tmpl: No such file or directory
imake: Exit code 1.
Stop.
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv#
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv# xmkmf /usr/src/xorg-7.0.22/
mv -f Makefile Makefile.bak
imake -I/usr/src/xorg-7.0.22//config/cf -DTOPDIR=/usr/src/xorg-7.0.22/
-DCURDIR=.
Imakefile.c:39: error: Imake.tmpl: No such file or directory
imake: Exit code 1.
Stop.
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv#
Then someone suggested this:
You should be able to trick it into working:
cd
/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/
ivtv
mkdir programs
cd programs
ln -s /usr/src/xorg-server-1.0.2 Xserver
cd ..
make
Alternativelyyou could try moving ivtv to
/usr/src/xorg-server-1.0.2/hw/xfree86/drivers/ivtv then do xmkmf ../../../..
but I think the symlink should do it
Which lead to:
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv# mkdir programs
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv# cd programs/
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv/programs# ln -s /usr/src/xorg-server-1.0.2 Xserver
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv/programs# cd ..
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv# make
make: *** No targets. Stop.
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv# xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv# make
rm -f ivtvdev.o
gcc -m32 -g -O2 -fno-strict-aliasing -fPIC -I.
-I./programs/Xserver/hw/xfree86/common
-I./programs/Xserver/hw/xfree86/os-support
-I./programs/Xserver/mfb -I./programs/Xserver/mi
-I./programs/Xserver/fb -I./programs/Xserver/hw/xfree86/xaa
-I./programs/Xserver/hw/xfree86/fbdevhw
-I./programs/Xserver/hw/xfree86/ramdac
-I./programs/Xserver/hw/xfree86/ddc -I./programs/Xserver/hw/xfree86/i2c
-I./programs/Xserver/hw/xfree86/rac -I./programs/Xserver/Xext
-I./programs/Xserver/hw/xfree86/xf24_32bpp -I./include/fonts
-I./programs/Xserver/include -I./exports/include/X11
-I./programs/Xserver/miext/shadow -I./include/extensions
-I./programs/Xserver/render -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSHAPE -DXINPUT
-DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT
-DDPMSExtension -DXPRINT -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR
-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT
-DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server
-DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * 1000) +
0)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module
-DUSE_AFB -DX_USE_REGION_NULL -c ivtvdev.c
In file included from ivtvhw.h:5,
from ivtvdev.c:8:
./programs/Xserver/hw/xfree86/common/xf86str.h:45:21: error: xf86Pci.h: No
such file or directory
In file included from ivtvhw.h:5,
from ivtvdev.c:8:
./programs/Xserver/hw/xfree86/common/xf86str.h:932: error: syntax error
before âIOADDRESSâ
./programs/Xserver/hw/xfree86/common/xf86str.h:932: warning: no semicolon at
end of struct or union
./programs/Xserver/hw/xfree86/common/xf86str.h:1000: error: syntax error
before â}â token
./programs/Xserver/hw/xfree86/common/xf86str.h:1000: warning: data
definition has no type or storage class
In file included from ivtvdev.c:11:
./programs/Xserver/hw/xfree86/common/xf86.h:109: error: syntax error before
â*â token
./programs/Xserver/hw/xfree86/common/xf86.h:109: warning: data definition
has no type or storage class
./programs/Xserver/hw/xfree86/common/xf86.h:277: error: syntax error before
âIOADDRESSâ
ivtvdev.c: In function âFBshadowUpdatePackedâ:
ivtvdev.c:172: error: dereferencing pointer to incomplete type
ivtvdev.c:173: error: dereferencing pointer to incomplete type
ivtvdev.c:175: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevGetRecâ:
ivtvdev.c:194: error: dereferencing pointer to incomplete type
ivtvdev.c:197: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevFreeRecâ:
ivtvdev.c:203: error: dereferencing pointer to incomplete type
ivtvdev.c:205: error: dereferencing pointer to incomplete type
ivtvdev.c:206: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevProbeâ:
ivtvdev.c:272: error: dereferencing pointer to incomplete type
ivtvdev.c:273: error: dereferencing pointer to incomplete type
ivtvdev.c:278: error: dereferencing pointer to incomplete type
ivtvdev.c:279: error: dereferencing pointer to incomplete type
ivtvdev.c:280: error: dereferencing pointer to incomplete type
ivtvdev.c:281: error: dereferencing pointer to incomplete type
ivtvdev.c:282: error: dereferencing pointer to incomplete type
ivtvdev.c:283: error: dereferencing pointer to incomplete type
ivtvdev.c:284: error: dereferencing pointer to incomplete type
ivtvdev.c:285: error: dereferencing pointer to incomplete type
ivtvdev.c:286: error: dereferencing pointer to incomplete type
ivtvdev.c:287: error: dereferencing pointer to incomplete type
ivtvdev.c:288: error: dereferencing pointer to incomplete type
ivtvdev.c:290: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevPreInitâ:
ivtvdev.c:316: error: dereferencing pointer to incomplete type
ivtvdev.c:319: error: dereferencing pointer to incomplete type
ivtvdev.c:319: error: dereferencing pointer to incomplete type
ivtvdev.c:322: error: dereferencing pointer to incomplete type
ivtvdev.c:324: error: dereferencing pointer to incomplete type
ivtvdev.c:326: error: dereferencing pointer to incomplete type
ivtvdev.c:328: error: dereferencing pointer to incomplete type
ivtvdev.c:332: error: dereferencing pointer to incomplete type
ivtvdev.c:348: error: dereferencing pointer to incomplete type
ivtvdev.c:352: error: dereferencing pointer to incomplete type
ivtvdev.c:363: error: dereferencing pointer to incomplete type
ivtvdev.c:363: error: dereferencing pointer to incomplete type
ivtvdev.c:364: error: dereferencing pointer to incomplete type
ivtvdev.c:366: error: dereferencing pointer to incomplete type
ivtvdev.c:367: error: dereferencing pointer to incomplete type
ivtvdev.c:379: error: dereferencing pointer to incomplete type
ivtvdev.c:380: error: dereferencing pointer to incomplete type
ivtvdev.c:381: error: dereferencing pointer to incomplete type
ivtvdev.c:382: error: dereferencing pointer to incomplete type
ivtvdev.c:384: error: dereferencing pointer to incomplete type
ivtvdev.c:385: error: dereferencing pointer to incomplete type
ivtvdev.c:392: error: dereferencing pointer to incomplete type
ivtvdev.c:397: error: dereferencing pointer to incomplete type
ivtvdev.c:401: error: dereferencing pointer to incomplete type
ivtvdev.c:404: error: dereferencing pointer to incomplete type
ivtvdev.c:410: error: dereferencing pointer to incomplete type
ivtvdev.c:417: error: dereferencing pointer to incomplete type
ivtvdev.c:419: error: dereferencing pointer to incomplete type
ivtvdev.c:419: error: dereferencing pointer to incomplete type
ivtvdev.c:421: error: dereferencing pointer to incomplete type
ivtvdev.c:421: error: dereferencing pointer to incomplete type
ivtvdev.c:441: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevScreenInitâ:
ivtvdev.c:459: error: dereferencing pointer to incomplete type
ivtvdev.c:468: error: dereferencing pointer to incomplete type
ivtvdev.c:469: error: dereferencing pointer to incomplete type
ivtvdev.c:470: error: dereferencing pointer to incomplete type
ivtvdev.c:471: error: dereferencing pointer to incomplete type
ivtvdev.c:471: error: dereferencing pointer to incomplete type
ivtvdev.c:471: error: dereferencing pointer to incomplete type
ivtvdev.c:472: error: dereferencing pointer to incomplete type
ivtvdev.c:472: error: dereferencing pointer to incomplete type
ivtvdev.c:472: error: dereferencing pointer to incomplete type
ivtvdev.c:476: error: dereferencing pointer to incomplete type
ivtvdev.c:485: error: dereferencing pointer to incomplete type
ivtvdev.c:487: error: dereferencing pointer to incomplete type
ivtvdev.c:487: error: dereferencing pointer to incomplete type
ivtvdev.c:493: error: dereferencing pointer to incomplete type
ivtvdev.c:494: error: dereferencing pointer to incomplete type
ivtvdev.c:495: error: dereferencing pointer to incomplete type
ivtvdev.c:495: error: dereferencing pointer to incomplete type
ivtvdev.c:506: error: dereferencing pointer to incomplete type
ivtvdev.c:507: error: dereferencing pointer to incomplete type
ivtvdev.c:511: error: dereferencing pointer to incomplete type
ivtvdev.c:518: error: dereferencing pointer to incomplete type
ivtvdev.c:518: error: dereferencing pointer to incomplete type
ivtvdev.c:518: error: dereferencing pointer to incomplete type
ivtvdev.c:519: error: dereferencing pointer to incomplete type
ivtvdev.c:525: error: dereferencing pointer to incomplete type
ivtvdev.c:530: error: dereferencing pointer to incomplete type
ivtvdev.c:531: error: dereferencing pointer to incomplete type
ivtvdev.c:532: error: dereferencing pointer to incomplete type
ivtvdev.c:533: error: dereferencing pointer to incomplete type
ivtvdev.c:534: error: dereferencing pointer to incomplete type
ivtvdev.c:535: error: dereferencing pointer to incomplete type
ivtvdev.c:542: error: dereferencing pointer to incomplete type
ivtvdev.c:556: error: dereferencing pointer to incomplete type
ivtvdev.c: In function âIVTVDevCloseScreenâ:
ivtvdev.c:597: error: dereferencing pointer to incomplete type
ivtvdev.c:601: error: dereferencing pointer to incomplete type
make: *** [ivtvdev.o] Error 1
mythbox:/usr/src/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/xfree86/
drivers/ivtv#
--
Mark Paulus
2424 Garden of the Gods Rd | Phone: v622-5578 / 719-535-5578
0419/117 - LEC Access ; D5-1010 | FAX: 719-535-1665
Colo Springs, CO 80919 | 1800PageMCI / 1406052
AIM : mgpaulus1 / sametime : mark.paulus
begin:vcard
fn:Mark Paulus
n:Paulus;Mark
org:MCI;Lec Interfaces / 40419
adr;dom:;;2424 Garden of the Gods Rd;Colorado Springs;CO;80919
email;internet:[EMAIL PROTECTED]
title:Mark Paulus
tel;work:719-535-5578
tel;pager:800-pagemci / 1406052
tel;home:v622-5578
version:2.1
end:vcard
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users