Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2010

    buildpackage fail when making .deb file

    Dear all:

    I'd like to package my program to .deb file.
    Don't know why my program has error when buildpackage with ' dpkg-buildpackage -rfakeroot -b'
    However, it works fine if I use 'make' under source folder of my program.
    The following is the message while building the package.

    Thanks for any idea or hint!

    glwidget.o: In function `GLWidget::GLWidget(QWidget*)':
    glwidget.cpp.text+0x1a48): undefined reference to `DecoderThread:ecoderThread()'
    glwidget.cpp.text+0x1b74): undefined reference to `DecoderThread::~DecoderThread()'
    collect2: ld returned 1 exit status
    make[2]: *** [mytest] Error 1
    make[2]: Leaving directory `/home/stone/mytest-2.5/builddir/mytest'
    make[1]: *** [sub-mytest-make_default] Error 2
    make[1]: Leaving directory `/home/stone/mytest-2.5/builddir'
    make: *** [build-stamp] Error 2

  2. #2
    Registered User
    Join Date
    Mar 2010

    Re: buildpackage fail when making .deb file

    I still have no luck of building .deb with source.
    Since I just want to release the execution file, I found there is one good guide which provide by TNiga.

    And it works for me.
    For your information.

  3. #3
    Super Contributor
    Join Date
    Oct 2009

    Re: buildpackage fail when making .deb file

    Your problem is unlikely related to a Debian package. Process fails at linking stage, probably some library flags are missing. What is full output of make?

Similar Threads

  1. Replies: 4
    Last Post: 2010-06-16, 12:23
  2. Replies: 1
    Last Post: 2010-05-13, 07:46
  3. why did i fail in exporting phonebook to a file?
    By snakeninny in forum Symbian
    Replies: 7
    Last Post: 2009-05-25, 10:08
  4. The simplest thing can fail: opening a file
    By comopasta in forum Symbian
    Replies: 11
    Last Post: 2008-01-22, 15:52
  5. fail to import the file HelloWorldBasic.mmp
    By coolleesx in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-02-28, 08:59

Posting Permissions

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