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
 
PMINST(1p)						User Contributed Perl Documentation						PMINST(1p)

NAME
pminst - find modules whose names match this pattern SYNOPSIS
pminst [-s] [-l] [pattern] DESCRIPTION
Without argumnets, show the names of all installed modules. Given a pattern, show all module names that match it. The -l flag will show the full pathname. The -s flag will separate the base directory from @INC from the module portion itself. EXAMPLES
$ pminst (lists all installed modules) $ pminst Carp CGI::Carp Carp $ pminst ^IO:: IO::Socket::INET IO::Socket::UNIX IO::Select IO::Socket IO::Poll IO::Handle IO::Pipe IO::Seekable IO::Dir IO::File $ pminst '(?i)io' IO::Socket::INET IO::Socket::UNIX IO::Select IO::Socket IO::Poll IO::Handle IO::Pipe IO::Seekable IO::Dir IO::File IO Pod::Functions The -s flag provides output with the directory separated by a space: $ pminst -s | sort +1 (lists all modules, sorted by name, but with where they came from) $ oldperl -S pminst -s IO /usr/lib/perl5/i386-linux/5.00404 IO::File /usr/lib/perl5/i386-linux/5.00404 IO::Handle /usr/lib/perl5/i386-linux/5.00404 IO::Pipe /usr/lib/perl5/i386-linux/5.00404 IO::Seekable /usr/lib/perl5/i386-linux/5.00404 IO::Select /usr/lib/perl5/i386-linux/5.00404 IO::Socket /usr/lib/perl5/i386-linux/5.00404 IO /usr/lib/perl5/site_perl LWP::IO /usr/lib/perl5/site_perl LWP::TkIO /usr/lib/perl5/site_perl Tk::HTML::IO /usr/lib/perl5/site_perl Tk::IO /usr/lib/perl5/site_perl IO::Stringy /usr/lib/perl5/site_perl IO::Wrap /usr/lib/perl5/site_perl IO::ScalarArray /usr/lib/perl5/site_perl IO::Scalar /usr/lib/perl5/site_perl IO::Lines /usr/lib/perl5/site_perl IO::WrapTie /usr/lib/perl5/site_perl IO::AtomicFile The -l flag gives full paths: $ filsperl -S pminst -l Thread /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Queue.pm /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Semaphore.pm /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Signal.pm /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Specific.pm /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread.pm AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 PMINST(1p)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy