Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219547

Summary: dev-embedded/srecord-1.29 fails w/ gcc-4.3.0; bump to 1.40
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Embedded Team (OBSOLETE) <dev-embedded+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: srecord-1.29--1.40.ebuild.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 23:16:51 UTC
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fno-rtti -Wall -I. -c prog/srec_cat/arglex3.cc
mv arglex3.o prog/srec_cat/arglex3.o
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fno-rtti -Wall -I. -c prog/srec_cat/main.cc
mv main.o prog/srec_cat/main.o
i686-pc-linux-gnu-g++  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fno-rtti -Wall -I. -c lib/arglex.cc
lib/arglex.cc: In member function ‘int arglex::token_next()’:
lib/arglex.cc:540: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::help(const char*) const’:
lib/arglex.cc:595: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::version() const’:
lib/arglex.cc:615: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::bad_argument() const’:
lib/arglex.cc:656: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘int arglex::token_first()’:
lib/arglex.cc:686: error: ‘exit’ was not declared in this scope
lib/arglex.cc: In member function ‘void arglex::usage() const’:
lib/arglex.cc:716: error: ‘exit’ was not declared in this scope
make: *** [lib/arglex.o] Error 1
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 23:19:16 UTC
Created attachment 151200 [details, diff]
srecord-1.29--1.40.ebuild.patch

License -> GPL-3
emake DESTDIR="${D}" install apparently works
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2008-04-28 12:50:50 UTC
Fixed, thanks a lot for your patch.

Denis.