Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
tofutim
Posts: 4
Registered: ‎07-06-2012
My Device: BB10 Alpha
My Carrier: T-mobile

looking for gcc_ntoarmv7le_cpp+debug+reloc+shared

[ Edited ]

My libtool has issue packing together a shared object. Here's what the command looks like:

 

/Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/usr/bin/qcc -V4.6.3,gcc_ntoarmv7le_cpp   -D__PLAYBOOK__ -D__QNXNTO__ -fno-short-wchar -fno-short-enums -fPIC -I/Volumes/Projects/sqlite/../icu/bb-arm/inst/include -I/Volumes/Projects/sqlite/../snowball/snowball_src/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_HAS_CODEC=1  -g -fPIC -DSQLITE_OS_UNIX=1 -I. -I/Volumes/Projects/sqlite/sqlite_src/src -I/Volumes/Projects/sqlite/sqlite_src/ext/rtree -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_ICU=1 -DSQLITE_ENABLE_SNOWBALL=1 -DSQLITE_ENABLE_CEROD=2   -L/Volumes/Projects/sqlite/../snowball/bb-arm -lstemmer -L/Volumes/Projects/sqlite/../icu/bb-arm/inst/lib -lsicui18n -lsicuuc -lsicudata  -lz -lstdc++ -lsupc++ -L/Developer/SDKs/bbndk-10.0.4-beta/target/qnx6/armv7-le/lib  -o libsqlite3.la sqlite3.o  -rpath "/Volumes/Projects/sqlite/bb-arm/inst/lib" -version-info "8:6:8"

 It ends up looking for gcc_ntoarmv7le_cpp+debug+reloc+shared with this error

 

cc: looking for gcc_ntoarmv7le_cpp+debug+reloc+shared in /Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/etc/qcc/gcc/4.6.3/gcc_ntoarmv7le_cpp++.conf
cc: looking for gcc_ntoarmv7le_cpp+debug+reloc+shared in /Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/etc/qcc/gcc/4.6.3/gcc_ntoarmv7le_cpp.conf
cc: unknown target 'gcc_ntoarmv7le_cpp+debug+reloc+shared'
cc: targets available in /Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/etc/qcc/gcc/4.6.3:
	gcc_ntoarmv7le	
	gcc_ntoarmv7le_cpp-ne	
	gcc_ntoarmv7le_cpp	
	gcc_ntoarmv7le_gpp	
	gcc_ntox86	(default)
	gcc_ntox86_cpp-ne	
	gcc_ntox86_cpp	
	gcc_ntox86_gpp	

Not sure why it is looking for +debug+reloc+shared and how that affects things. What can I do to make this work?

 

 Update. I was able remove the +debug by removing the -g flag. How can remove 'reloc'. I suppose 'shared' is unremovable'.  Actually, never mind, I think this is related to soe other silly thing I'm doing.

 

 

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: looking for gcc_ntoarmv7le_cpp+debug+reloc+shared

Hi there,

 

Have you made any progress?

Have you changed something in the configuration after installation?

 

Martin

Please use plain text.