OpenQNX :: The QNX Community Portal

Jul 05, 2008 - 12:11 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 50 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Snipe65
Post subject: Build Problem  PostPosted: Feb 02, 2008 - 07:45 AM
New Member


Joined: Feb 02, 2008
Posts: 1

Hello!

This is the first time I'm playing around with a RTOS, so Wink

First, I'm running WinXP sp2, and I've installed the QNX Momentics (4.0.1).

I set everything up according to the ObtainAndBuildQNXKernel.pdf guide (http://community.qnx.com/sf/sfmain/do/downloadAttachment/projects.core_os/wiki/BuildKernelWithIDE?id=atch1253), the only diff is that instead of using the QNX630 in the directories, I replaced it with QNX632.

Ok, so after building the lib, everything went well no errors.
When building the source, I get the following errors:

make[4]: Entering directory `C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oC:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr main.o name.o proxy.o -L. -L/QNX632/workspace/stage/x86/lib -L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib -lmig4nto
/cygdrive/c/QNX632/host/win32/x86/usr/bin/ntox86-ld: cannot find -lmig4nto
cc: C:/QNX632/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[4]: *** [C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr] Error 1
make[4]: Target `all' not remade because of errors.

make[3]: Entering directory `C:/QNX632/ide4-workspace/services/mqueue/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f C:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oC:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue io_closedup.o io_closeocb.o io_devctl.o io_func_tables.o io_notify.o io_open.o io_read.o io_unblock.o io_unlink.o io_write.o main.o memchunk.o options.o -L. -L/QNX632/workspace/stage/x86/lib -L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib
io_read.o: In function `io_read':
io_read.o(.text+0xfe): undefined reference to `resmgr_endian_context'
io_read.o(.text+0x153): undefined reference to `resmgr_msgreplyv'
io_write.o: In function `io_write':
io_write.o(.text+0x17a): undefined reference to `resmgr_endian_context'
io_write.o(.text+0x1e8): undefined reference to `resmgr_msgreplyv'
cc: C:/QNX632/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[3]: *** [C:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue] Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory `C:/QNX632/ide4-workspace/services/mqueue/x86/o'
make[2]: [all] Error 2 (ignored)

make[4]: Entering directory `C:/QNX632/ide4-workspace/services/system/proc/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -O2 -Wc,-fomit-frame-pointer -Wc,-Wpointer-arith -DSMP_MSGOPT -D_PADDR_BITS=64 -DNDEBUG -Wc,-fno-common -Wc,-fno-strict-aliasing -D_BASE_FILE_=C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto -I. -IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/x86/proc -IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/x86 -IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/. -IC:/QNX632/ide4-workspace/services/system -IC:/QNX632/ide4-workspace/services/system/public -I/QNX632/workspace/stage/usr/include -IC:/QNX632/target/qnx6/usr/include -DVARIANT_proc -g ../../timestamp.c
C:/QNX632/host/win32/x86/usr/bin/rm -f timestamp.h
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -r -nostartup -Wl,-u_start timestamp.o -M -oC:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto bootimage_init.o devmem.o devnull.o devtext.o devtty.o devzero.o externs.o imagefs.o link_assert.o link_noops.o loader_elf.o main.o message.o namedsem.o pathmgr_init.o pathmgr_link.o pathmgr_netmgr_pid.o pathmgr_node.o pathmgr_object.o pathmgr_open.o pathmgr_resolve.o proc_loader.o proc_read.o proc_termer.o procfs.o procmgr_coredump.o procmgr_daemon.o procmgr_event.o procmgr_fork.o procmgr_getsetid.o procmgr_guardian.o procmgr_init.o procmgr_misc.o procmgr_resource.o procmgr_session.o procmgr_setpgid.o procmgr_spawn.o procmgr_stack.o procmgr_termer.o procmgr_umask.o procmgr_wait.o rsrcdbmgr_cmd.o rsrcdbmgr_init.o rsrcdbmgr_list.o rsrcdbmgr_minor.o rsrcdbmgr_seed.o special_init.o support.o sysmgr_cmd.o sysmgr_conf.o sysmgr_init.o C:/QNX632/ide4-workspace/services/system/proc/x86/o/libmod_memmgr.a C:/QNX632/ide4-workspace/services/system/proc/x86/o/libmod_ker.a -L. -L/QNX632/workspace/stage/x86/lib -L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib -lc C:/QNX632/host/win32/x86/usr/lib/gcc-lib/ntox86/2.95.3/libgcc.a
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make13083.sh[1]: test: resmgr_msgreplyv: unexpected operator/operand
Unresolved symbols in C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto:
_waitfor
resmgr_msgreplyv
make[4]: *** [C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto] Error 1
make[4]: Target `all' not remade because of errors.
make[4]: Leaving directory `C:/QNX632/ide4-workspace/services/system/proc/x86/o'
make[3]: [all] Error 2 (ignored)

And all the rest refer to _waitfor resmgr_msgreplyv (as the last one, except in different directories)

Any ideas would be appreciated Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Robert Craig
Post subject: Re: Build Problem  PostPosted: Feb 04, 2008 - 05:23 PM
Guest





Hi:
I'd suggest posting this to the forum located here:

http://community.qnx.com/sf/discussion/do/listTopics/projects.core_os/discussion.buildbugs

Brief look at this suggests that it's not finding the libraries that it
wants... have you set up a staging area and done a "make install" with
the libs?

Robert.

Snipe65 wrote:
Quote:
Hello!

This is the first time I'm playing around with a RTOS, so ;)

First, I'm running WinXP sp2, and I've installed the QNX Momentics
(4.0.1).

I set everything up according to the ObtainAndBuildQNXKernel.pdf guide
(http://community.qnx.com/sf/sfmain/do/downloadAttachment/projects.core_os/wiki/BuildKernelWithIDE?id=atch1253),
the only diff is that instead of using the QNX630 in the directories,
I replaced it with QNX632.

Ok, so after building the lib, everything went well no errors.
When building the source, I get the following errors:

make[4]: Entering directory
`C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f
C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86
-oC:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr
main.o name.o proxy.o -L. -L/QNX632/workspace/stage/x86/lib
-L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib
-LC:/QNX632/target/qnx6/x86/usr/lib -lmig4nto
/cygdrive/c/QNX632/host/win32/x86/usr/bin/ntox86-ld: cannot find
-lmig4nto
cc: C:/QNX632/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[4]: ***
[C:/QNX632/ide4-workspace/services/mig4nto/mig4nto-procmgr/x86/o/mig4nto-procmgr]
Error 1
make[4]: Target `all' not remade because of errors.

make[3]: Entering directory
`C:/QNX632/ide4-workspace/services/mqueue/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f
C:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86
-oC:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue
io_closedup.o io_closeocb.o io_devctl.o io_func_tables.o
io_notify.o io_open.o io_read.o io_unblock.o io_unlink.o
io_write.o main.o memchunk.o options.o -L.
-L/QNX632/workspace/stage/x86/lib
-L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib
-LC:/QNX632/target/qnx6/x86/usr/lib
io_read.o: In function `io_read':
io_read.o(.text+0xfe): undefined reference to `resmgr_endian_context'
io_read.o(.text+0x153): undefined reference to `resmgr_msgreplyv'
io_write.o: In function `io_write':
io_write.o(.text+0x17a): undefined reference to
`resmgr_endian_context'
io_write.o(.text+0x1e8): undefined reference to `resmgr_msgreplyv'
cc: C:/QNX632/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[3]: *** [C:/QNX632/ide4-workspace/services/mqueue/x86/o/mqueue]
Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory
`C:/QNX632/ide4-workspace/services/mqueue/x86/o'
make[2]: [all] Error 2 (ignored)

make[4]: Entering directory
`C:/QNX632/ide4-workspace/services/system/proc/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f
C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -O2 -Wc,-fomit-frame-pointer
-Wc,-Wpointer-arith -DSMP_MSGOPT -D_PADDR_BITS=64 -DNDEBUG
-Wc,-fno-common -Wc,-fno-strict-aliasing
-D_BASE_FILE_=C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto
-I.
-IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/x86/proc
-IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/x86
-IC:/QNX632/ide4-workspace/services/system/bootimage_init.o/.
-IC:/QNX632/ide4-workspace/services/system
-IC:/QNX632/ide4-workspace/services/system/public
-I/QNX632/workspace/stage/usr/include
-IC:/QNX632/target/qnx6/usr/include -DVARIANT_proc -g
./../timestamp.c
C:/QNX632/host/win32/x86/usr/bin/rm -f timestamp.h
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -r -nostartup
-Wl,-u_start timestamp.o -M
-oC:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto
bootimage_init.o devmem.o devnull.o devtext.o devtty.o
devzero.o externs.o imagefs.o link_assert.o link_noops.o
loader_elf.o main.o message.o namedsem.o pathmgr_init.o
pathmgr_link.o pathmgr_netmgr_pid.o pathmgr_node.o
pathmgr_object.o pathmgr_open.o pathmgr_resolve.o
proc_loader.o proc_read.o proc_termer.o procfs.o
procmgr_coredump.o procmgr_daemon.o procmgr_event.o
procmgr_fork.o procmgr_getsetid.o procmgr_guardian.o
procmgr_init.o procmgr_misc.o procmgr_resource.o
procmgr_session.o procmgr_setpgid.o procmgr_spawn.o
procmgr_stack.o procmgr_termer.o procmgr_umask.o
procmgr_wait.o rsrcdbmgr_cmd.o rsrcdbmgr_init.o
rsrcdbmgr_list.o rsrcdbmgr_minor.o rsrcdbmgr_seed.o
special_init.o support.o sysmgr_cmd.o sysmgr_conf.o
sysmgr_init.o
C:/QNX632/ide4-workspace/services/system/proc/x86/o/libmod_memmgr.a
C:/QNX632/ide4-workspace/services/system/proc/x86/o/libmod_ker.a -L.
-L/QNX632/workspace/stage/x86/lib
-L/QNX632/workspace/stage/x86/usr/lib -LC:/QNX632/target/qnx6/x86/lib
-LC:/QNX632/target/qnx6/x86/usr/lib
-LC:/QNX632/target/qnx6/x86/lib -lc
C:/QNX632/host/win32/x86/usr/lib/gcc-lib/ntox86/2.95.3/libgcc.a
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make13083.sh[1]: test:
resmgr_msgreplyv: unexpected operator/operand
Unresolved symbols in
C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto:
_waitfor
resmgr_msgreplyv
make[4]: ***
[C:/QNX632/ide4-workspace/services/system/proc/x86/o/procnto] Error
1
make[4]: Target `all' not remade because of errors.
make[4]: Leaving directory
`C:/QNX632/ide4-workspace/services/system/proc/x86/o'
make[3]: [all] Error 2 (ignored)

And all the rest refer to _waitfor resmgr_msgreplyv (as the last one,
except in different directories)

Any ideas would be appreciated Smile
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.