[Interest] undefined reference to xxx error

Vincent Cai wcai at cypress.com
Wed Jan 18 11:24:14 CET 2012


Thanks for the reply.
The issue has been solved after delete the generated makefiles manually and re-generate them again.

From: interest-bounces+wcai=cypress.com at qt-project.org [mailto:interest-bounces+wcai=cypress.com at qt-project.org] On Behalf Of Pritam
Sent: 2012年1月18日 17:11
To: interest at qt-project.org
Subject: Re: [Interest] undefined reference to xxx error

have a look at the generated Makefile. I often turn to that when I dont find anything wrong with my .pro files.

On Wednesday 18 January 2012 02:24 PM, Vincent Cai wrote:
Dear all,

         My project report errors during link stage.

         Issue Description, please also refer to attached pro file.
#####################################################################
#Error on this line
#(1) if comment below line, error occurs
#(2) if assign TARGET with AppGui, error occurs
#(3) if assign TARGET with name not equal to AppGui, error disappear
TARGET = AppGui

         Error Info:
./debug\mainwindow.o: In function `MainWindow':
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:11: undefined reference to `QSerialUI::QSerialUI(QWidget*)'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:12: undefined reference to `QSerialUI::Initialization()'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:11: undefined reference to `QSerialUI::QSerialUI(QWidget*)'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:12: undefined reference to `QSerialUI::Initialization()'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [build\debug\exe\AppGui.exe] Error 1
mingw32-make[1]: *** [debug] Error 2
mingw32-make: *** [sub-AppGui-make_default] Error 2

Thanks,
Vincent.

________________________________
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.




--

Regards,

Pritam

**************** CAUTION - Disclaimer *****************

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient, please

notify the sender by e-mail and delete the original message. Further, you are not

to copy, disclose, or distribute this e-mail or its contents to any other person and

any such actions are unlawful. This e-mail may contain viruses. Infosys has taken

every reasonable precaution to minimize this risk, but is not liable for any damage

you may sustain as a result of any virus in this e-mail. You should carry out your

own virus checks before opening the e-mail or attachment. Infosys reserves the

right to monitor and review the content of all messages sent to or from this e-mail

address. Messages sent to or from this e-mail address may be stored on the

Infosys e-mail system.

***INFOSYS******** End of Disclaimer ********INFOSYS***



________________________________
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120118/e9a396c5/attachment.html>


More information about the Interest mailing list