[help] Create deb package for "xorg-server-1.4"
Hi there,
I'm working on patch for X server at the university. I'm working on Debian 5 (Lenny) on Qemu.
Now, I should create the deb package of the "xorg-server-1.4".
W.r.t do this I download and decompress the "xorg-server-1.4.tar.gz". I installed several packages such that the "./configure" inside the "xorg-server-1.4" directory didn't return an error.
Now I run these two commands:
dh_make -n -c gpl -f ../xorg-server-1.4.tar.gz
dpkg-buildpackage -us -uc
The problem is in the second commands, because it stops given this error:
gcc -shared .libs/bt829.o .libs/bt829_module.o -lm -lrt -Wl,-z -Wl,defs -Wl,-soname -Wl,bt829_drv.so -o .libs/bt829_drv.so
.libs/bt829.o: In function `btwrite':/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:85: undefined reference to `LoaderSymbol'
.libs/bt829.o: In function `bt829_Detect':/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:464: undefined reference to `Xcalloc'
/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:476: undefined reference to `LoaderSymbol'.libs/bt829.o: In function `btread':
/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:74: undefined reference to `LoaderSymbol'.libs/bt829.o: In function `bt829_Detect':
/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:485: undefined reference to `Xcalloc'/root/xorg-server-1.4/hw/xfree86/i2c/bt829.c:508: undefined reference to `LoaderSymbol'
collect2: ld returned 1 exit statusmake[5]: *** [bt829_drv.la] Error 1
make[5]: Leaving directory `/root/xorg-server-1.4/hw/xfree86/i2c'make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/xorg-server-1.4/hw/xfree86'make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/xorg-server-1.4/hw/xfree86'make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xorg-server-1.4/hw'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xorg-server-1.4'make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
There are anyone that can help me!
Thanks in advance for your time,
Francesco
P.S.
I'm apologize for my bad english!!!
Reply to: