Sponsored Content
Top Forums Programming Need Help with g++ and/or codaLite Post 302384249 by henslewm on Monday 4th of January 2010 02:11:10 PM
Old 01-04-2010
Need Help with g++ and/or codaLite

I am running a linux-x86 machine with Ubuntu 9.10. Currently we are trying to re-build the data acquisition system in my lab, and to do this we must interface the linux machine with a VME crate via codaLite.

My question pertains to the compilation error I am receiving from g++. At the top of the file cMsgRoc.cc the header file exists as

#include <string>
etc etc

the string.h file exists in /usr/include and contains the corresponding function so that I'm assuming it is up to date.

I've hit a stand-still and would really appreciate any help! Thanks in advance!





g++ -I../libsrc++ -I. -I/usr/local/codaLite/coda/include -I/usr/local/codaLite/coda/include -I/usr/local/codaLite/coda/include -I/apps/expat/include -I/usr/local/codaLite/coda/include -Wall -fPIC -D_GNU_SOURCE -m32 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o .Linux-i686/objects/cMsgRoc.o cMsgRoc.cc
cMsgRoc.cc: In member function ‘void cMsgRoc::evThread()':
cMsgRoc.cc:233: warning: ‘i' may be used uninitialized in this function
g++ -L/usr/local/codaLite/coda/Linux-i686/lib -m32 .Linux-i686/objects/cMsgRoc.o -L/usr/local/codaLite/coda/Linux-i686/lib -lcmsgxx -lcmsg -lcmsgRegex -L/usr/local/codaLite/coda/Linux-i686/lib -levioxx -levio -L/apps/expat/lib -lexpat -L/usr/local/codaLite/coda/Linux-i686/lib -lcodaObject -lieee -lrt -lpthread -lz -lm -lnsl -lresolv -ldl -o .Linux-i686/bin/cMsgRoc
g++ -I../libsrc++ -I. -I/usr/local/codaLite/coda/include -I/usr/local/codaLite/coda/include -I/usr/local/codaLite/coda/include -I/apps/expat/include -I/usr/local/codaLite/coda/include -Wall -fPIC -D_GNU_SOURCE -m32 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o .Linux-i686/objects/cMsgRoc2.o cMsgRoc2.cc
cMsgRoc2.cc: In function ‘void decode_command_line(int, char**)':
cMsgRoc2.cc:376: error: ‘strncasecmp' was not declared in this scope
make[1]: *** [cMsgRoc2.o] Error 1
make[1]: Leaving directory `/usr/local/codaLite/codaObject/src/execsrc'
make: *** [install] Error 2
 
CONFIG.GUESS(1) 						   User Commands						   CONFIG.GUESS(1)

NAME
config.guess - guess the build system triplet SYNOPSIS
config.guess [OPTION] DESCRIPTION
The GNU build system distinguishes three types of machines, the `build' machine on which the compilers are run, the `host' machine on which the package being built will run, and, exclusively when you build a compiler, assembler etc., the `target' machine, for which the compiler being built will produce code. This script will guess the type of the `build' machine. Output the configuration name of the system `config.guess' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit ENVIRONMENT VARIABLES
config.guess might need to compile and run C code, hence it needs a compiler for the `build' machine: use the environment variable `CC_FOR_BUILD' to specify the compiler for the build machine. If `CC_FOR_BUILD' is not specified, `CC' will be used. Be sure to specify `CC_FOR_BUILD' is `CC' is a cross-compiler to the `host' machine. CC_FOR_BUILD a native C compiler, defaults to `cc' CC a native C compiler, the previous variable is preferred REPORTING BUGS
Report bugs and patches to <config-patches@gnu.org>. Originally written by Per Bothner. Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1). GNU Autoconf 2.69 August 2017 CONFIG.GUESS(1)
All times are GMT -4. The time now is 11:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy