Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265382 - sci-mathematics/octave-2.1.73 fails to compile: data-conv.cc:280: error: 'atoi' was not declared in this scope
Summary: sci-mathematics/octave-2.1.73 fails to compile: data-conv.cc:280: error: 'ato...
Status: RESOLVED DUPLICATE of bug 218176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 21:41 UTC by skelter
Modified: 2009-04-07 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skelter 2009-04-07 21:41:54 UTC
making FEGrid.d from FEGrid.cc
making DASSL.d from DASSL.cc
making DASRT.d from DASRT.cc
making DASPK.d from DASPK.cc
making CollocWt.d from CollocWt.cc
making Bounds.d from Bounds.cc
touch stamp-prereq
make[2]: Leaving directory `/home/portagetmp/portage/sci-mathematics/octave-2.1.73/work/octave-2.1.73/liboctave'
make[2]: Entering directory `/home/portagetmp/portage/sci-mathematics/octave-2.1.73/work/octave-2.1.73/liboctave'
making DASPK-opts.h from DASPK-opts.in
making DASSL-opts.h from DASSL-opts.in
gawk -f ./mk-ops.awk prefix=mx make_inclusive_header=mx-ops.h ./mx-ops > mx-ops.h-t
../move-if-change mx-ops.h-t mx-ops.h
DASPK-opts.h is unchanged
DASSL-opts.h is unchanged
mx-ops.h is unchanged
mkdir pic
touch stmp-pic
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe Bounds.cc -o pic/Bounds.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe CollocWt.cc -o pic/CollocWt.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe DASPK.cc -o pic/DASPK.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe DASRT.cc -o pic/DASRT.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe DASSL.cc -o pic/DASSL.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe FEGrid.cc -o pic/FEGrid.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe LinConst.cc -o pic/LinConst.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe LPsolve.cc -o pic/LPsolve.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe LSODE.cc -o pic/LSODE.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe NLEqn.cc -o pic/NLEqn.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe ODES.cc -o pic/ODES.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe Quad.cc -o pic/Quad.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe Range.cc -o pic/Range.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe data-conv.cc -o pic/data-conv.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 -march=i686 -pipe dir-ops.cc -o pic/dir-ops.o
data-conv.cc: In static member function 'static void oct_data_conv::string_to_data_type(const std::string&, int&, oct_data_conv::data_type&, oct_data_conv::data_type&)':
data-conv.cc:280: error: 'atoi' was not declared in this scope
data-conv.cc: In static member function 'static void oct_data_conv::string_to_data_type(const std::string&, int&, oct_data_conv::data_type&)':
data-conv.cc:344: error: 'atoi' was not declared in this scope
make[2]: *** [pic/data-conv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/portagetmp/portage/sci-mathematics/octave-2.1.73/work/octave-2.1.73/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/home/portagetmp/portage/sci-mathematics/octave-2.1.73/work/octave-2.1.73'
make: *** [all] Error 2
 * 
 * ERROR: sci-mathematics/octave-2.1.73 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3136:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/portagetmp/portage/sci-mathematics/octave-2.1.73/temp/build.log'.
 * The ebuild environment file is located at '/home/portagetmp/portage/sci-mathematics/octave-2.1.73/temp/environment'.
 * 

>>> Failed to emerge sci-mathematics/octave-2.1.73, Log file:

>>>  '/home/portagetmp/portage/sci-mathematics/octave-2.1.73/temp/build.log'
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 21:44:04 UTC
Please post your "emerge --info".
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-07 22:00:58 UTC
gcc-4.3 error. Keyword 2.1.73-r2:
echo "=sci-mathematics/octave-2.1.73-r2 **" >> /etc/portage/package.keywords
Or use octave-3.0.3

*** This bug has been marked as a duplicate of bug 218176 ***