Results 1 to 6 of 6

Thread: problem building driver source package

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2010
    Location
    Holland
    Posts
    110

    Default problem building driver source package

    Hi,

    I am trying to build a driver source package with this code:

    Code:
    root@bt:/usr/src/ar5523# sudo dpkg-buildpackage -us -uc
    where ar5523 is the driver folder.
    But I keep getting this error:
    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.)
    What can I do to fix this?

  2. #2
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default Re: problem building driver source package

    At first you should try to fix the missing dependencies.

    Your output tells you what is missing.
    Tiocfaidh ár lá

  3. #3
    Member
    Join Date
    Jul 2010
    Location
    Holland
    Posts
    110

    Default Re: problem building driver source package

    Hi Dave,

    Thanx for your help.
    I did an upgrade of debhelper:
    Code:
     sudo apt-get install debhelper -s
    answer from backtrack:
    Code:
    debhelper is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    I am a newbie, can you be a bit more specific?
    Thanks

  4. #4
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default Re: problem building driver source package

    Running a
    Code:
    dpkg -l debhelper
    reveals that the package is indeed intalled but in version 7.0.13 which is lower than the one required by the script.

    Did you try to run dpkg-buildpackage with the -d flag in addition?
    Tiocfaidh ár lá

  5. #5
    Member
    Join Date
    Jul 2010
    Location
    Holland
    Posts
    110

    Default Re: problem building driver source package

    Hi,
    and thanks again,

    used the -d option now:
    Code:
    sudo dpkg-buildpackage -us -uc -d
    and I got this result:
    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
    So, if I am right I must update my debhelper version with this: http://packages.debian.org/lenny-backports/debhelper ?
    Last edited by TheFlyingDutchMan; 01-13-2011 at 11:25 PM.

  6. #6
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default Re: problem building driver source package

    You could at least give it a try.
    Tiocfaidh ár lá

Similar Threads

  1. Source code of r8187 driver
    By pinkeen in forum Beginners Forum
    Replies: 2
    Last Post: 09-18-2010, 03:49 PM
  2. Replies: 0
    Last Post: 01-18-2010, 08:58 AM
  3. Source of your Madwifi driver?
    By freakyng in forum OLD Newbie Area
    Replies: 4
    Last Post: 07-17-2008, 02:51 AM
  4. Replies: 7
    Last Post: 06-27-2008, 06:04 AM
  5. Nvidia driver fails to find the kernel source tree
    By MonkeyPoo in forum OLD BT3beta Software related issues
    Replies: 7
    Last Post: 01-16-2008, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •