Linker Error in Momentix 6.3

bridged with qnx.development_tools
Post Reply
Robert Kindred

Linker Error in Momentix 6.3

Post by Robert Kindred » Fri Jul 09, 2004 10:44 pm

Has anyone seen this error? here is a cut-and-paste from the C-Build
window:

D:/QNX630/host/win32/x86/usr/bin/rm -f
D:/root/workspace/prism_mi/x86/o-g/prism_mi_g

D:/QNX630/host/win32/x86/usr/bin/qcc -V3.3.1,gcc_ntox86 -lang-c++ -lang-c++
-Y_cpp -oD:/root/workspace/prism_mi/x86/o-g/prism_mi_g 1 ASTMRound.o
MICell.o MICommUtil.o MICont.o MISeqCustom.o MISeqQueue.o MISeqTP.o
MISeqUtil.o MISequence.o MIStand.o MIState.o MITest.o MS_messages.o
RawData.o SerialComm.o StatusLogger.o pcidcc20p.o prism_mi.o scanner.o
statusblk.o statusline.o typenames.o
ueicards.o -L. -LD:/QNX630/target/qnx6/x86/lib/gcc/3.3.1 -LD:/QNX630/target/
qnx6/x86/lib -LD:/QNX630/target/qnx6/x86/usr/lib -g

/cygdrive/d/QNX630/host/win32/x86/usr/bin/i386-pc-nto-qnx6.3.0-ld: cannot
open 1: No such file or directory



I don't have any source named "1", so this looks like something in the IDE.

Robert Kindred

Miguel Simon

Re: Linker Error in Momentix 6.3

Post by Miguel Simon » Sat Jul 10, 2004 5:48 am

Hi Robert...

Yes, I have seen something similar. Did you import your development
from previous 6.2.1? This is what I did to get rid of the problem in 12
easy steps:

0. attempt to compile once, let it fail...
1. right click on the project, and select properties
2. select QNX C/C++ project
3. select 'Build Variants' tab
4. make sure that something is selected (i.e. x86 is selected)
5. select the 'compilers' tab
6. select 'extra include paths' from the 'category' pull-down menu
7. make sure that all the paths are what you expect
8. select the 'make builder' tab
9. make sure that you have selected a default or other type of 'build
command'
10. click on the 'update' button
11. click on the 'ok' button
12. recompile...

Basically, make sure that all things in the properties dialog make
sense. Then you will see the common.mk file update automatically (this
did not use to work too well before, but now it does).

Bests...

Miguel.



Robert Kindred wrote:
Has anyone seen this error? here is a cut-and-paste from the C-Build
window:

D:/QNX630/host/win32/x86/usr/bin/rm -f
D:/root/workspace/prism_mi/x86/o-g/prism_mi_g

D:/QNX630/host/win32/x86/usr/bin/qcc -V3.3.1,gcc_ntox86 -lang-c++ -lang-c++
-Y_cpp -oD:/root/workspace/prism_mi/x86/o-g/prism_mi_g 1 ASTMRound.o
MICell.o MICommUtil.o MICont.o MISeqCustom.o MISeqQueue.o MISeqTP.o
MISeqUtil.o MISequence.o MIStand.o MIState.o MITest.o MS_messages.o
RawData.o SerialComm.o StatusLogger.o pcidcc20p.o prism_mi.o scanner.o
statusblk.o statusline.o typenames.o
ueicards.o -L. -LD:/QNX630/target/qnx6/x86/lib/gcc/3.3.1 -LD:/QNX630/target/
qnx6/x86/lib -LD:/QNX630/target/qnx6/x86/usr/lib -g

/cygdrive/d/QNX630/host/win32/x86/usr/bin/i386-pc-nto-qnx6.3.0-ld: cannot
open 1: No such file or directory



I don't have any source named "1", so this looks like something in the IDE.

Robert Kindred

Post Reply

Return to “qnx.development_tools”