#2 Linking of executable from CVS sources fails

closed
nobody
5
2005-09-22
2005-08-27
Anonymous
No

Hello,

I'm asking you for assistance because linking the
executable fails and I have no idea why it happens,
even though it seems that all the needed object files
are indicated:

cd moto_ui && make -f Makefile
make[1]: Entering directory `/home/fabry/moto4lin/moto_ui'
g++ -o moto4lin obj/main.o obj/unzip.o obj/qzip.o
obj/form1.o obj/phoneman.o obj/p2kproc.o obj/custmsg.o
obj/frmfilemanager.o obj/frmseemeditor.o
obj/filelistview.o obj/frmconfig.o obj/appconfig.o
obj/fmpixmap.o obj/frmjava.o obj/javalistviewitem.o
obj/midlet.o obj/javamanifest.o obj/form1_base.o
obj/frmfilemanager_base.o obj/frmseemeditor_base.o
obj/frmconfig_base.o obj/frmjava_base.o
obj/qmake_image_collection.o obj/moc_phoneman.o
obj/moc_form1.o obj/moc_frmfilemanager.o
obj/moc_frmseemeditor.o obj/moc_frmconfig.o
obj/moc_appconfig.o obj/moc_fmpixmap.o
obj/moc_frmjava.o obj/moc_form1_base.o
obj/moc_frmfilemanager_base.o
obj/moc_frmseemeditor_base.o obj/moc_frmconfig_base.o
obj/moc_frmjava_base.o -L/usr/lib/qt3//lib
-L/usr/X11R6/lib -lusb -lqt-mt -lXext -lX11 -lm -lpthread
obj/form1.o(.text+0x538): In function
`Form1::Form1(QWidget*, char const*)':
/home/fabry/moto4lin/moto_ui/form1.cpp:80: undefined
reference to `frmJava::frmJava(QWidget*, PhoneMan*,
appConfig*, char const*)'
obj/form1.o(.text+0xf32): In function
`Form1::Form1(QWidget*, char const*)':
/home/fabry/moto4lin/moto_ui/form1.cpp:80: undefined
reference to `frmJava::frmJava(QWidget*, PhoneMan*,
appConfig*, char const*)'
obj/moc_frmjava.o(.text+0x352): In function
`frmJava::qt_invoke(int, QUObject*)':
moc/moc_frmjava.cpp:107: undefined reference to
`frmJava::onComplete(int, QString const&)'
obj/moc_frmjava.o(.text+0x391):moc/moc_frmjava.cpp:108:
undefined reference to `frmJava::onFileList(P2kFile*, int)'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x20):
undefined reference to `frmJava::~frmJava()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x24):
undefined reference to `frmJava::~frmJava()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1c0):
undefined reference to `frmJava::onUpdateList()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1c4):
undefined reference to `frmJava::onAdd()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1c8):
undefined reference to `frmJava::onRemove()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1cc):
undefined reference to `frmJava::onSetPat()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1d0):
undefined reference to `frmJava::onSave()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1e0):
undefined reference to `non-virtual thunk to
frmJava::~frmJava()'
obj/moc_frmjava.o(.gnu.linkonce.r._ZTV7frmJava+0x1e4):
undefined reference to `non-virtual thunk to
frmJava::~frmJava()'
collect2: ld returned 1 exit status

Many thanks in advance,
Fabrizio Ammollo (fabrizioammollo AT fastwebnet.it)

Discussion

  • Dmitry Nezhevenko

    Logged In: YES
    user_id=1225384

    Checkout CVS again..

     
  • Dmitry Nezhevenko

    • status: open --> closed
     
  • Nobody/Anonymous

    Logged In: NO

    Yes, now it works.. thanks !

    Fabrizio

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks