Linker Error in Momentix 6.3

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

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:

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