At first you should try to fix the missing dependencies.
Your output tells you what is missing.
Hi,
I am trying to build a driver source package with this code:
where ar5523 is the driver folder.Code:root@bt:/usr/src/ar5523# sudo dpkg-buildpackage -us -uc
But I keep getting this error:
What can I do to fix this?Code:dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package ar5523 dpkg-buildpackage: source version 0~sidux.11 dpkg-buildpackage: source changed by Stefan Lippers-Hollmann <s.l-h@gmx.de> dpkg-buildpackage: host architecture i386 dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.9.3) quilt dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: warning: (Use -d flag to override.)
At first you should try to fix the missing dependencies.
Your output tells you what is missing.
Tiocfaidh ár lá
Hi Dave,
Thanx for your help.
I did an upgrade of debhelper:
answer from backtrack:Code:sudo apt-get install debhelper -s
I am a newbie, can you be a bit more specific?Code:debhelper is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Thanks
Running areveals that the package is indeed intalled but in version 7.0.13 which is lower than the one required by the script.Code:dpkg -l debhelper
Did you try to run dpkg-buildpackage with the -d flag in addition?
Tiocfaidh ár lá
Hi,
and thanks again,
used the -d option now:
and I got this result:Code:sudo dpkg-buildpackage -us -uc -d
So, if I am right I must update my debhelper version with this: http://packages.debian.org/lenny-backports/debhelper ?Code:root@bt:/usr/src/ar5523# sudo dpkg-buildpackage -us -uc -d dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package ar5523 dpkg-buildpackage: source version 0~sidux.11 dpkg-buildpackage: source changed by Stefan Lippers-Hollmann <s.l-h@gmx.de> dpkg-buildpackage: host architecture i386 debian/rules clean QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir /usr/bin/make clean make[1]: Entering directory `/usr/src/ar5523' rm -rf *.ko *.mod.* *.o .*.o.d .*.cmd .tmp_versions Module.symvers \ *.order ar5523-snapshot.tar.gz make[1]: Leaving directory `/usr/src/ar5523' dh_clean dh_clean: Sorry, but 7 is the highest compatibility level supported by this debhelper. make: *** [clean] Error 1 dpkg-buildpackage: failure: debian/rules clean gave error exit status 2
Last edited by TheFlyingDutchMan; 01-13-2011 at 11:25 PM.
You could at least give it a try.
Tiocfaidh ár lá