Linux-hosted IDE troubles..

Hi!
I have Slackware 11.0 with kernel 2.4.33 x86 and Linux Host of QNX Momentics 6.3.0 SP2. Momentics I’d installed with j2r1.4.2_13 (as said in QSSL release docs) .
When I start IDE and try to create and compile any project …it’s fail and messages are (for example):

  1. *** No rule to make target `/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’. wolf_mix

and…

  1. /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: No such file or directory[/opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk] wolf_mix line 34

So, I suppose that IDE doesn’t set CPU value in file pattern, but how to fix it, i don’t know. In QSSL realease docs for SP2 and for SP3 too, not mentioned about this kind of bug. Has anybody something like that?

PS. ‘wolf_mix’ is the project name.
PPS. Thanks for any help!

osDrummer,

Do you have a build variant set for the project?

If this is a “QNX C/C++” project, then right click on the project name in the C/C++ navigator, then select properties, then select “QNX C/C++ project”, then select the tab “Build Variants”.

btw: you wouldn’t happen to be a drummer would you ?

Rennie

Hi, Rennie!

Yes, of course. I’d tried to set one, two, three, all variants, but is’n not give me needed results - compile not work…in IDE.
Sorry, I fogot to say in first topic about project, that I generate in IDE well compile in command line by ‘make’ as for 1 platform, as for 2 or all…
And this project succefully compiles in QNX IDE-host and Windows IDE-host…
Linux is fail :frowning:. I can coded in midnight commander of caurse, but IDE is very powerfull tool and brings me all that I need.
On Monday (i.e. yesterday) I saw presentation of IDE 4.0 (based on Eclipse 4)…so Analyzine Tool are very good there…I’d like circle diagrams of events and sync vs windows with kenel events in texts strings and graphic…so it’s offtopic now… :slight_smile:

So, I’m studing yet :slight_smile:…playing all of this paradidles, accents, triples…and so on…if you now what i mean :slight_smile:. This is my hobbie…after work in qnx os.

I think this wil be helpfull…
osdrummer@undermix:~$ set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]=“3” [1]=“1” [2]=“17” [3]=“2” [4]=“release” [5]=“i486-slackware-linux-gnu”)
BASH_VERSION=‘3.1.17(2)-release’
COLORTERM=
COLUMNS=113
CPLUS_INCLUDE_PATH=/usr/lib/qt/include:/usr/lib/qt/include
DESKTOP_SESSION=default
DIRSTACK=()
DISPLAY=:0.0
DM_CONTROL=/var/run/xdmctl
EUID=500
GDK_USE_XFT=1
GROUPS=()
GS_LIB=/home/osdrummer/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/osdrummer/.gtkrc-2.0:/home/osdrummer/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/osdrummer/.gtkrc:/home/osdrummer/.kde/share/config/gtkrc
HISTFILE=/home/osdrummer/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/osdrummer
HOSTNAME=undermix
HOSTTYPE=i486
IFS=$’ \t\n’
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/lib/java
KDEDIR=/opt/kde
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KONSOLE_DCOP=‘DCOPRef(konsole-3666,konsole)’
KONSOLE_DCOP_SESSION=‘DCOPRef(konsole-3666,session-5)’
LANG=en_US
LC_COLLATE=C
LESS=-M
LESSOPEN=’|lesspipe.sh %s’
LINES=39
LOGNAME=osdrummer
LS_COLORS=‘no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:.bat=01;32:.BAT=01;32:.btm=01;32:.BTM=01;32:.cmd=01;32:.CMD=01;32:.com=01;32:.COM=01;32:.dll=01;32:.DLL=01;32:.exe=01;32:.EXE=01;32:.arj=01;31:.bz2=01;31:.deb=01;31:.gz=01;31:.lzh=01;31:.rar=01;31:.RAR=01;31:.rpm=01;31:.tar=01;31:.taz=01;31:.tb2=01;31:.tbz2=01;31:.tbz=01;31:.tgz=01;31:.tz2=01;31:.z=01;31:.Z=01;31:.zip=01;31:.ZIP=01;31:.zoo=01;31:.asf=01;35:.ASF=01;35:.avi=01;35:.AVI=01;35:.bmp=01;35:.BMP=01;35:.flac=01;35:.FLAC=01;35:.gif=01;35:.GIF=01;35:.jpg=01;35:.JPG=01;35:.jpeg=01;35:.JPEG=01;35:.m2a=01;35:.M2A=01;35:.m2v=01;35:.M2V=01;35:.m4a=01;35:.M4A=01;35:.m4p=01;35:.M4P=01;35:.m4v=01;35:.M4V=01;35:.mov=01;35:.MOV=01;35:.mp3=01;35:.MP3=01;35:.mpc=01;35:.MPC=01;35:.mpeg=01;35:.MPEG=01;35:.mpg=01;35:.MPG=01;35:.ogg=01;35:.OGG=01;35:.pbm=01;35:.pgm=01;35:.png=01;35:.PNG=01;35:.ppm=01;35:.rm=01;35:.RM=01;35:.tga=01;35:.TGA=01;35:.tif=01;35:.TIF=01;35:.tiff=01;35:.TIFF=01;35:.wav=01;35:.WAV=01;35:.wma=01;35:.WMA=01;35:.wmv=01;35:.WMV=01;35:.xbm=01;35:.xcf=01;35:.xpm=01;35:.xwd=01;35:.XWD=01;35:’
LS_OPTIONS=’ -F -b -T 0 --color=auto ’
MACHTYPE=i486-slackware-linux-gnu
MAILCHECK=60
MAKEFLAGS=-I/opt/qnx630/target/qnx6/usr/include
MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man:/opt/kde/man:/usr/lib/qt/doc/man:/usr/share/texmf/man
MINICOM=’-c on’
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.:/opt/qnx630/host/linux/x86/usr/bin:/etc/qnx/bin
PIPESTATUS=([0]=“0”)
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/kde/lib/pkgconfig:/usr/local/lib/pkgconfig:/opt/kde/lib/pkgconfig
PPID=3666
PS1=’\u@\h:\w$ ’
PS2=’> ’
PS4=’+ ’
PWD=/home/osdrummer
QNX_CONFIGURATION=/etc/qnx
QNX_HOST=/opt/qnx630/host/linux/x86
QNX_JAVAHOME=/opt/qnx630/_jvm
QNX_TARGET=/opt/qnx630/target/qnx6
QTDIR=/usr/lib/qt
SESSION_MANAGER=local/undermix:/tmp/.ICE-unix/3433
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=2
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
TERM=xterm
UID=500
USER=osdrummer
WINDOWID=44040197
XCURSOR_THEME=default
XDG_CONFIG_DIRS=/opt/kde/etc/xdg
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
_=QNX_JAVAHOME

Hmmm, I am not sure what the problem could be. I saw your posting with your ENV and nothing jumps out as being a problem.

Perhaps a different make is being picked up in the path, did you try explicitly setting the path to make in the project properties?

If all else fails, check out bashdb.sourceforge.net/remake. It is a GNU make with a debugger, very handy for figuring out problems like this (you can set breakpoints, read and set make variables etc.).

Hope this helps…

Hey, it’s all good.

I’ve been drumming for 20 years, it never gets old (for me at least, the neighbours might disagree :slight_smile:

I see this error message if the x86 component of the makefile directory (ie myproject/x86/o) is spelled incorrectly.

BTW - are you really running on a 486?

i just wanted to add that i had the same problem on my ubuntu machine.

as proposed above manually pointing to the qnx make at /opt/qnx630/host/linux/x86/usr/bin/make in the project properties solved the problem.

thx

Just fixed my problem.

Take spaces out of your project path on your hard drive. Your make file is not putting the entire path in the build and starts to look for nto_x86 or power pc. etc.
The space in the drive path name errors out and it simiply looks for nto_.mk which is not valid.

Enjoy