please help! cannot find -lcpp

I installed 5.0.3.0 with sp3, i also update the core 6.3.2a, when i
tried to compile the c++ program in ide, i get a linker error

“/usr/qnx630/host/qnx6/x86//usr/bin/ntox86-ld cannot find
-lcpp”

please help!

Is the project actually marked as a C++ projet?

Also what is 5.0.3.0?

Thanks,
Rodney


ranzhang wrote:

I installed 5.0.3.0 with sp3, i also update the core 6.3.2a, when i
tried to compile the c++ program in ide, i get a linker error

“/usr/qnx630/host/qnx6/x86//usr/bin/ntox86-ld cannot find
-lcpp”

please help!

sorry, i meant 6.0.3 with sp3, yes , the project was created as ‘qnx
c++ project’.

sorry, typo again, 6.3.0 with sp3.

Is this on Windows or Linux?

What order did you install things in?

Thanks,
Rodney


ranzhang wrote:

sorry, typo again, 6.3.0 with sp3.

this is qnx-self hosting. i also try to link -lm, -lsocket, they all
reported as can not find -lm, can not find -lsocket.



I also attempted to compile an photon application and using -lm,
-lsocket,
same problem, i checked all the environment variables, they are the
same as qnx6.3.0 with sp2, maybe some variables needs to be changed?

Can you please post your makefile and the output from trying to build
your projects.

Thanks,
Rodney


ranzhang wrote:

this is qnx-self hosting. i also try to link -lm, -lsocket, they all
reported as can not find -lm, can not find -lsocket.



I also attempted to compile an photon application and using -lm,
-lsocket,
same problem, i checked all the environment variables, they are the
same as qnx6.3.0 with sp2, maybe some variables needs to be changed?

Hello,
I’ve also got the same problem…

I’m on linux and I use :

QNX momentics
Version: 3.0.0
Build id: 200509222156

this is the “common.mk” contents :

<------------------ begin
-------------------------------------------------->

This is an automatically generated record.

The area between QNX Internal Start and QNX Internal End is

controlled by

the QNX IDE properties.



ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)

#===== USEFILE - the file containing the usage message for the
application.
USEFILE=



#===== EXTRA_INCVPATH - a space-separated list of directories to
search for include files.
EXTRA_INCVPATH+=/home/patrick/coding/RM/LibAlgoCore
/home/patrick/coding/RM/LibMethodes
/home/patrick/coding/RM/LibVecteurMatrice
#===== EXTRA_LIBVPATH - a space-separated list of directories to
search for library files.
EXTRA_LIBVPATH+=/home/patrick/coding/RM/LibVecteurMatrice
/home/patrick/coding/RM/LibMethodes
/home/patrick/coding/RM/LibAlgoCore
#===== LIBS - a space-separated list of library items to be included
in the link.
LIBS+=-Bstatic LibMethodes LibVecteurMatrice LibAlgoCore
-Bdynamic socket m s

include $(MKFILES_ROOT)/qmacros.mk
#QNX internal start
ifeq ($(filter g, $(VARIANT_LIST)),g)
DEBUG_SUFFIX=_g
LIB_SUFFIX=_g
else
DEBUG_SUFFIX=$(filter-out $(VARIANT_BUILD_TYPE) le
be,$(VARIANT_LIST))
ifeq ($(DEBUG_SUFFIX),)
DEBUG_SUFFIX=r
else
DEBUG_SUFFIX:=
$(DEBUG_SUFFIX)
endif
endif

EXPRESSION = $(firstword $(foreach a, $(1)$(CPUDIR)$(DEBUG_SUFFIX)
$(1)$(DEBUG_SUFFIX)
$(1)
$(CPUDIR) $(1), $(if $($(a)),$(a),)))
MERGE_EXPRESSION= $(foreach a, $(1)$(CPUDIR)$(DEBUG_SUFFIX)
$(1)$(DEBUG_SUFFIX)
$(1)
$(CPUDIR) $(1), $($(a)))

GCC_VERSION:=$($(firstword $(foreach a, GCC_VERSION_$(CPUDIR)
GCC_VERSION,
$(if $($(a)), $(a), ))))

EXTRA_LIBVPATH := $(call MERGE_EXPRESSION, EXTRA_LIBVPATH)
EXTRA_INCVPATH := $(call MERGE_EXPRESSION, EXTRA_INCVPATH)
EXTRA_SRCVPATH := $(call MERGE_EXPRESSION, EXTRA_SRCVPATH)
EXTRA_OBJS := $($(call EXPRESSION,EXTRA_OBJS))

CCFLAGS_D = $(CCFLAGS$(DEBUG_SUFFIX))
$(CCFLAGS_$(CPUDIR)$(DEBUG_SUFFIX))
$(CCFLAGS_@$(basename $@)$(DEBUG_SUFFIX))
$(CCFLAGS_$(CPUDIR)@$(basename $@)$(DEBUG_SUFFIX))
LDFLAGS_D = $(LDFLAGS$(DEBUG_SUFFIX))
$(LDFLAGS
$(CPUDIR)$(DEBUG_SUFFIX))

CCFLAGS += $(CCFLAGS_$(CPUDIR)) $(CCFLAGS_@$(basename $@))
$(CCFLAGS_$(CPUDIR)@$(basename $@)) $(CCFLAGS_D)
LDFLAGS += $(LDFLAGS
$(CPUDIR)) $(LDFLAGS_D)

LIBS:=$(foreach token, $($(call EXPRESSION,LIBS)),$(if $(findstring ^,
$(token)), $(subst ^,$(token))$(LIB_SUFFIX), $(token)))
libnames:= $(subst lib-Bdynamic.a, ,$(subst lib-Bstatic.a, ,
$(libnames)))
libopts := $(subst -l-B,-B, $(libopts))

BUILDNAME:=$($(call EXPRESSION,BUILDNAME))$(if $(suffix
$(BUILDNAME)),$(IMAGE_SUFF_$(BUILD_TYPE)))
BUILDNAME_SAR:= $(patsubst
%$(IMAGE_SUFF_$(BUILD_TYPE)),%S.a,$(BUILDNAME))

POST_BUILD:=$($(call EXPRESSION,POST_BUILD))
#QNX internal end
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS)))
OPTIMIZE_TYPE_g=none

<------------------ end
-------------------------------------------------->

And i also give you the output :

<------------------ begin
-------------------------------------------------->
cd ‘/home/patrick/coding/RM/TestAlgoQNX’ && make -k
make -j 1 -Cx86 -fMakefile
make[1]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86 »
make -j 1 -Co -fMakefile
make[2]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o »
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include
/home/patrick/coding/RM/TestAlgoQNX/AlgoRM.c
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include
/home/patrick/coding/RM/TestAlgoQNX/TestAlgo.c
/bin/rm -f /home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86
-o/home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX AlgoRM.o
TestAlgo.o -L. -L/home/patrick/coding/RM/LibVecteurMatrice
-L/home/patrick/coding/RM/LibMethodes
-L/home/patrick/coding/RM/LibAlgoCore
-L/opt/qnx630/target/qnx6/x86/lib
-L/opt/qnx630/target/qnx6/x86/usr/lib -Bstatic -lLibMethodes
-lLibVecteurMatrice -lLibAlgoCore -Bdynamic -lsocket -lm -ls
/opt/qnx630/host/linux/x86/usr/bin/ntox86-ld: cannot find
-lLibMethodes
cc: /opt/qnx630/host/linux/x86/usr/bin/ntox86-ld error 1
make[2]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o »
make[2]: *** [/home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX]
Erreur 1
make[2]: La cible « first » n’a pas pu être refabriquée à cause
d’erreurs.
make[1]: [all] Erreur 2 (ignorée)
make -j 1 -Co-g -fMakefile
make[2]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o-g »
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -I. -I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o-g
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include -g -DVARIANT_g
/home/patrick/coding/RM/TestAlgoQNX/AlgoRM.c
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -I. -I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o-g
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include -g -DVARIANT_g
/home/patrick/coding/RM/TestAlgoQNX/TestAlgo.c
/bin/rm -f /home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86
-o/home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g AlgoRM.o
TestAlgo.o -L. -L/home/patrick/coding/RM/LibVecteurMatrice
-L/home/patrick/coding/RM/LibMethodes
-L/home/patrick/coding/RM/LibAlgoCore
-L/opt/qnx630/target/qnx6/x86/lib
-L/opt/qnx630/target/qnx6/x86/usr/lib -Bstatic -lLibMethodes
-lLibVecteurMatrice -lLibAlgoCore -Bdynamic -lsocket -lm -ls -g
/opt/qnx630/host/linux/x86/usr/bin/ntox86-ld: cannot find
-lLibMethodes
cc: /opt/qnx630/host/linux/x86/usr/bin/ntox86-ld error 1
make[2]: ***
[/home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g] Erreur 1
make[2]: La cible « first » n’a pas pu être refabriquée à cause
d’erreurs.
make[2]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o-g »
make[1]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86 »
make[1]: [all] Erreur 2 (ignorée)
*** Success ***

<------------------ end
-------------------------------------------------->

I’ve been trying with “.a” at the end of the libraries name
but it 's also the same problem…

Have you got an idea ?

In fact under Linux, it’s impossible to compile any file. the target
seems to "disappears’, this is a sample :

<------------------ begin
-------------------------------------------------->
make -k SRCS=AlgoCore.c clean AlgoCore.o CLEAN=AlgoCore.o
–file=/home/patrick/coding/RM/LibAlgoCore/QMakefile36244.tmp
make -j 1 -Clatex -fMakefile clean
make[1]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/latex' rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf make[1]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/latex’
make -j 1 -Cx86 -fMakefile clean
make[1]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86' make -j 1 -Ca -fMakefile clean make[2]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86/a’
/opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34:
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou
répertoire de ce type
make[2]: *** No rule to make target
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. make[2]: Failed to remake makefile /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
/bin/rm -f rm -f *.pinfo AlgoCore.o
make[2]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/x86/a' make -j 1 -Ca-g -fMakefile clean make[2]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86/a-g’
/opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34:
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou
répertoire de ce type
make[2]: *** No rule to make target
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. make[2]: Failed to remake makefile /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
/bin/rm -f rm -f *.pinfo AlgoCore.o
make[2]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/x86/a-g' make[1]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86’
make -j 1 -Clatex -fMakefile AlgoCore.o
make[1]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/latex' make[1]: *** No rule to make target AlgoCore.o’.
make[1]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/latex' make: [AlgoCore.o] Erreur 2 (ignorée) make -j 1 -Cx86 -fMakefile AlgoCore.o make[1]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86’
make -j 1 -Ca -fMakefile AlgoCore.o
make[2]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/x86/a' /opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34: /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou répertoire de ce type make[2]: *** No rule to make target /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
make[2]: Failed to remake makefile
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. DNDEBUG -I. -I/home/patrick/coding/RM/LibAlgoCore -I/home/patrick/coding/RM -I/home/patrick/coding -I/home/patrick -I/home -Irm -I-f -Irm -I-f -I/home/patrick/coding/RM/LibVecteurMatrice -I/opt/qnx630/target/qnx6/usr/include -DVARIANT_LibAlgoCore -DVARIANT_RM -DVARIANT_coding -DVARIANT_patrick -DVARIANT_home /home/patrick/coding/RM/LibAlgoCore/AlgoCore.c make[2]: DNDEBUG: Command not found make[2]: [AlgoCore.o] Error 127 (ignored) make[2]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86/a’
make -j 1 -Ca-g -fMakefile AlgoCore.o
make[2]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/x86/a-g' /opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34: /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou répertoire de ce type make[2]: *** No rule to make target /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
make[2]: Failed to remake makefile
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. DNDEBUG -I. -I/home/patrick/coding/RM/LibAlgoCore -I/home/patrick/coding/RM -I/home/patrick/coding -I/home/patrick -I/home -Irm -I-f -Irm -I-f -I/home/patrick/coding/RM/LibVecteurMatrice -I/opt/qnx630/target/qnx6/usr/include -DVARIANT_LibAlgoCore -DVARIANT_RM -DVARIANT_coding -DVARIANT_patrick -DVARIANT_home /home/patrick/coding/RM/LibAlgoCore/AlgoCore.c make[2]: DNDEBUG: Command not found make[2]: [AlgoCore.o] Error 127 (ignored) make[2]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86/a-g’
make[1]: Leaving directory `/home/patrick/coding/RM/LibAlgoCore/x86’
<------------------ end
-------------------------------------------------->

So I have to compile my application under Kdevelop and everithing is
ok (except on linking problem)

Thanks a lot.

Hello

I think you have a bit of a different error. The original reported
problem was that the system libraries couldn’t be found, yours is more
directed towards libraries that you have created. Semantics I suppose.

Anyways, just taking a look through your common.mk file, you have the
following:

EXTRA_LIBVPATH+=/home/patrick/coding/RM/LibVecteurMatrice
/home/patrick/coding/RM/LibMethodes
/home/patrick/coding/RM/LibAlgoCore

This tells the compiler to search the
/home/patrick/coding/RM/LibVecteurMatrice,
/home/patrick/coding/RM/LibMethodes, and /home/patrick/coding/RM/LibAlgoCore

directories for for libraries that may be specified with a -l option.
Then looking at you included libraries you have the following:

-Bstatic LibMethodes LibVecteurMatrice LibAlgoCore

Do you actually have a file called libLibMethodes.a in a
/home/patrick/coding/RM/LibMethodes directory?

If not then that is your problem. If you do have a static library
called libLibMethodes.a in a directory call
/home/patrick/coding/RM/LibMethodes then let me know as the problem is
somewhere else.

Thanks,
Rodney


filscauj wrote:

Hello,
I’ve also got the same problem…

I’m on linux and I use :

QNX momentics
Version: 3.0.0
Build id: 200509222156

this is the “common.mk” contents :

------------------ begin

This is an automatically generated record.

The area between QNX Internal Start and QNX Internal End is

controlled by

the QNX IDE properties.



ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)

#===== USEFILE - the file containing the usage message for the
application.
USEFILE=



#===== EXTRA_INCVPATH - a space-separated list of directories to
search for include files.
EXTRA_INCVPATH+=/home/patrick/coding/RM/LibAlgoCore
/home/patrick/coding/RM/LibMethodes
/home/patrick/coding/RM/LibVecteurMatrice
#===== EXTRA_LIBVPATH - a space-separated list of directories to
search for library files.
EXTRA_LIBVPATH+=/home/patrick/coding/RM/LibVecteurMatrice
/home/patrick/coding/RM/LibMethodes
/home/patrick/coding/RM/LibAlgoCore
#===== LIBS - a space-separated list of library items to be included
in the link.
LIBS+=-Bstatic LibMethodes LibVecteurMatrice LibAlgoCore
-Bdynamic socket m s

include $(MKFILES_ROOT)/qmacros.mk
#QNX internal start
ifeq ($(filter g, $(VARIANT_LIST)),g)
DEBUG_SUFFIX=_g
LIB_SUFFIX=_g
else
DEBUG_SUFFIX=$(filter-out $(VARIANT_BUILD_TYPE) le
be,$(VARIANT_LIST))
ifeq ($(DEBUG_SUFFIX),)
DEBUG_SUFFIX=r
else
DEBUG_SUFFIX:=
$(DEBUG_SUFFIX)
endif
endif

EXPRESSION = $(firstword $(foreach a, $(1)$(CPUDIR)$(DEBUG_SUFFIX)
$(1)$(DEBUG_SUFFIX)
$(1)
$(CPUDIR) $(1), $(if $($(a)),$(a),)))
MERGE_EXPRESSION= $(foreach a, $(1)$(CPUDIR)$(DEBUG_SUFFIX)
$(1)$(DEBUG_SUFFIX)
$(1)
$(CPUDIR) $(1), $($(a)))

GCC_VERSION:=$($(firstword $(foreach a, GCC_VERSION_$(CPUDIR)
GCC_VERSION,
$(if $($(a)), $(a), ))))

EXTRA_LIBVPATH := $(call MERGE_EXPRESSION, EXTRA_LIBVPATH)
EXTRA_INCVPATH := $(call MERGE_EXPRESSION, EXTRA_INCVPATH)
EXTRA_SRCVPATH := $(call MERGE_EXPRESSION, EXTRA_SRCVPATH)
EXTRA_OBJS := $($(call EXPRESSION,EXTRA_OBJS))

CCFLAGS_D = $(CCFLAGS$(DEBUG_SUFFIX))
$(CCFLAGS_$(CPUDIR)$(DEBUG_SUFFIX))
$(CCFLAGS_@$(basename $@)$(DEBUG_SUFFIX))
$(CCFLAGS_$(CPUDIR)@$(basename $@)$(DEBUG_SUFFIX))
LDFLAGS_D = $(LDFLAGS$(DEBUG_SUFFIX))
$(LDFLAGS
$(CPUDIR)$(DEBUG_SUFFIX))

CCFLAGS += $(CCFLAGS_$(CPUDIR)) $(CCFLAGS_@$(basename $@))
$(CCFLAGS_$(CPUDIR)@$(basename $@)) $(CCFLAGS_D)
LDFLAGS += $(LDFLAGS
$(CPUDIR)) $(LDFLAGS_D)

LIBS:=$(foreach token, $($(call EXPRESSION,LIBS)),$(if $(findstring ^,
$(token)), $(subst ^,$(token))$(LIB_SUFFIX), $(token)))
libnames:= $(subst lib-Bdynamic.a, ,$(subst lib-Bstatic.a, ,
$(libnames)))
libopts := $(subst -l-B,-B, $(libopts))

BUILDNAME:=$($(call EXPRESSION,BUILDNAME))$(if $(suffix
$(BUILDNAME)),$(IMAGE_SUFF_$(BUILD_TYPE)))
BUILDNAME_SAR:= $(patsubst
%$(IMAGE_SUFF_$(BUILD_TYPE)),%S.a,$(BUILDNAME))

POST_BUILD:=$($(call EXPRESSION,POST_BUILD))
#QNX internal end
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS)))
OPTIMIZE_TYPE_g=none

------------------ end

And i also give you the output :

------------------ begin

cd ‘/home/patrick/coding/RM/TestAlgoQNX’ && make -k
make -j 1 -Cx86 -fMakefile
make[1]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86 »
make -j 1 -Co -fMakefile
make[2]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o »
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include
/home/patrick/coding/RM/TestAlgoQNX/AlgoRM.c
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include
/home/patrick/coding/RM/TestAlgoQNX/TestAlgo.c
/bin/rm -f /home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86
-o/home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX AlgoRM.o
TestAlgo.o -L. -L/home/patrick/coding/RM/LibVecteurMatrice
-L/home/patrick/coding/RM/LibMethodes
-L/home/patrick/coding/RM/LibAlgoCore
-L/opt/qnx630/target/qnx6/x86/lib
-L/opt/qnx630/target/qnx6/x86/usr/lib -Bstatic -lLibMethodes
-lLibVecteurMatrice -lLibAlgoCore -Bdynamic -lsocket -lm -ls
/opt/qnx630/host/linux/x86/usr/bin/ntox86-ld: cannot find
-lLibMethodes
cc: /opt/qnx630/host/linux/x86/usr/bin/ntox86-ld error 1
make[2]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o »
make[2]: *** [/home/patrick/coding/RM/TestAlgoQNX/x86/o/TestAlgoQNX]
Erreur 1
make[2]: La cible « first » n’a pas pu être refabriquée à cause
d’erreurs.
make[1]: [all] Erreur 2 (ignorée)
make -j 1 -Co-g -fMakefile
make[2]: entrant dans le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o-g »
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -I. -I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o-g
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include -g -DVARIANT_g
/home/patrick/coding/RM/TestAlgoQNX/AlgoRM.c
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -I. -I/home/patrick/coding/RM/TestAlgoQNX/x86/o
-I/home/patrick/coding/RM/TestAlgoQNX/x86/o-g
-I/home/patrick/coding/RM/TestAlgoQNX/x86
-I/home/patrick/coding/RM/TestAlgoQNX
-I/home/patrick/coding/RM/LibAlgoCore
-I/home/patrick/coding/RM/LibMethodes
-I/home/patrick/coding/RM/LibVecteurMatrice
-I/opt/qnx630/target/qnx6/usr/include -g -DVARIANT_g
/home/patrick/coding/RM/TestAlgoQNX/TestAlgo.c
/bin/rm -f /home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g
/opt/qnx630/host/linux/x86/usr/bin/qcc -Vgcc_ntox86
-o/home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g AlgoRM.o
TestAlgo.o -L. -L/home/patrick/coding/RM/LibVecteurMatrice
-L/home/patrick/coding/RM/LibMethodes
-L/home/patrick/coding/RM/LibAlgoCore
-L/opt/qnx630/target/qnx6/x86/lib
-L/opt/qnx630/target/qnx6/x86/usr/lib -Bstatic -lLibMethodes
-lLibVecteurMatrice -lLibAlgoCore -Bdynamic -lsocket -lm -ls -g
/opt/qnx630/host/linux/x86/usr/bin/ntox86-ld: cannot find
-lLibMethodes
cc: /opt/qnx630/host/linux/x86/usr/bin/ntox86-ld error 1
make[2]: ***
[/home/patrick/coding/RM/TestAlgoQNX/x86/o-g/TestAlgoQNX_g] Erreur 1
make[2]: La cible « first » n’a pas pu être refabriquée à cause
d’erreurs.
make[2]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86/o-g »
make[1]: quittant le répertoire «
/home/patrick/coding/RM/TestAlgoQNX/x86 »
make[1]: [all] Erreur 2 (ignorée)
*** Success ***

------------------ end

I’ve been trying with “.a” at the end of the libraries name
but it 's also the same problem…

Have you got an idea ?

In fact under Linux, it’s impossible to compile any file. the target
seems to "disappears’, this is a sample :

------------------ begin

make -k SRCS=AlgoCore.c clean AlgoCore.o CLEAN=AlgoCore.o
–file=/home/patrick/coding/RM/LibAlgoCore/QMakefile36244.tmp
make -j 1 -Clatex -fMakefile clean
make[1]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/latex' rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf make[1]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/latex’
make -j 1 -Cx86 -fMakefile clean
make[1]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86' make -j 1 -Ca -fMakefile clean make[2]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86/a’
/opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34:
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou
répertoire de ce type
make[2]: *** No rule to make target
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. make[2]: Failed to remake makefile /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
/bin/rm -f rm -f *.pinfo AlgoCore.o
make[2]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/x86/a' make -j 1 -Ca-g -fMakefile clean make[2]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86/a-g’
/opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34:
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou
répertoire de ce type
make[2]: *** No rule to make target
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. make[2]: Failed to remake makefile /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
/bin/rm -f rm -f *.pinfo AlgoCore.o
make[2]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/x86/a-g' make[1]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86’
make -j 1 -Clatex -fMakefile AlgoCore.o
make[1]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/latex' make[1]: *** No rule to make target AlgoCore.o’.
make[1]: Leaving directory
/home/patrick/coding/RM/LibAlgoCore/latex' make: [AlgoCore.o] Erreur 2 (ignorée) make -j 1 -Cx86 -fMakefile AlgoCore.o make[1]: Entering directory /home/patrick/coding/RM/LibAlgoCore/x86’
make -j 1 -Ca -fMakefile AlgoCore.o
make[2]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/x86/a' /opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34: /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou répertoire de ce type make[2]: *** No rule to make target /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
make[2]: Failed to remake makefile
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. DNDEBUG -I. -I/home/patrick/coding/RM/LibAlgoCore -I/home/patrick/coding/RM -I/home/patrick/coding -I/home/patrick -I/home -Irm -I-f -Irm -I-f -I/home/patrick/coding/RM/LibVecteurMatrice -I/opt/qnx630/target/qnx6/usr/include -DVARIANT_LibAlgoCore -DVARIANT_RM -DVARIANT_coding -DVARIANT_patrick -DVARIANT_home /home/patrick/coding/RM/LibAlgoCore/AlgoCore.c make[2]: DNDEBUG: Command not found make[2]: [AlgoCore.o] Error 127 (ignored) make[2]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86/a’
make -j 1 -Ca-g -fMakefile AlgoCore.o
make[2]: Entering directory
/home/patrick/coding/RM/LibAlgoCore/x86/a-g' /opt/qnx630/target/qnx6/usr/include/mk/os_nto.mk:34: /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk: Aucun fichier ou répertoire de ce type make[2]: *** No rule to make target /opt/qnx630/target/qnx6/usr/include/mk/nto_.mk’.
make[2]: Failed to remake makefile
/opt/qnx630/target/qnx6/usr/include/mk/nto_.mk'. DNDEBUG -I. -I/home/patrick/coding/RM/LibAlgoCore -I/home/patrick/coding/RM -I/home/patrick/coding -I/home/patrick -I/home -Irm -I-f -Irm -I-f -I/home/patrick/coding/RM/LibVecteurMatrice -I/opt/qnx630/target/qnx6/usr/include -DVARIANT_LibAlgoCore -DVARIANT_RM -DVARIANT_coding -DVARIANT_patrick -DVARIANT_home /home/patrick/coding/RM/LibAlgoCore/AlgoCore.c make[2]: DNDEBUG: Command not found make[2]: [AlgoCore.o] Error 127 (ignored) make[2]: Leaving directory /home/patrick/coding/RM/LibAlgoCore/x86/a-g’
make[1]: Leaving directory `/home/patrick/coding/RM/LibAlgoCore/x86’
------------------ end

So I have to compile my application under Kdevelop and everithing is
ok (except on linking problem)

Thanks a lot.