Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217722 - media-gfx/sfftobmp-3.0 fails w/ gcc-4.3.0; patch and bump
Summary: media-gfx/sfftobmp-3.0 fails w/ gcc-4.3.0; patch and bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-14 20:22 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-14 20:42 UTC (History)
0 users

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


Attachments
sfftobmp-3.1.1-gcc43.patch (sfftobmp-3.1.1-gcc43.patch,435 bytes, patch)
2008-04-14 20:23 UTC, Peter Alfredsen (RETIRED)
Details | Diff
diff for bumping sfftobmp to 3.1.1 (sffdiff,966 bytes, patch)
2008-04-14 20:26 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 20:22:35 UTC
[31/136] * cpp : ../src/kdissert/canvasview/DCanvasLink.cpp -> default/src/kdissert/canvasview/DCanvasLink.o
../src/kdissert/canvasview/DCanvasLink.cpp: In member function ‘void DCanvasLink::setPosThickWeb()’:
../src/kdissert/canvasview/DCanvasLink.cpp:308: error: ‘abs’ was not declared in this scope
Compilation failed


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 20:23:23 UTC
Created attachment 149747 [details, diff]
sfftobmp-3.1.1-gcc43.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 20:26:05 UTC
Created attachment 149748 [details, diff]
diff for bumping sfftobmp to 3.1.1
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 20:35:36 UTC
It was of course the wrong build failure I showed. This is the correct one:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.cpp
mv -f .deps/decoder.Tpo .deps/decoder.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.cpp
input.cpp: In member function ‘void CSffFile::ScanFile()’:
input.cpp:108: error: ‘::memcmp’ has not been declared
make[2]: *** [input.o] Error 1
make[2]: *** Waiting for unfinished jobs....
output.cpp: In member function ‘virtual void COutputFilter::BlankLine()’:
output.cpp:101: error: ‘::memset’ has not been declared
output.cpp: In member function ‘virtual void CPBMFilter::BeginPage(sff_dword, sff_dword, sff_dword, sff_word, sff_word)’:
output.cpp:162: error: ‘strlen’ was not declared in this scope
output.cpp: In member function ‘virtual void CJPEGFilter::BeginPage(sff_dword, sff_dword, sff_dword, sff_word, sff_word)’:
output.cpp:182: error: ‘memset’ was not declared in this scope
output.cpp: In member function ‘virtual void CJPEGFilter::BlankLine()’:
output.cpp:221: error: ‘::memset’ has not been declared
make[2]: *** [output.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/sfftobmp-3.0/work/sfftobmp_3_0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/sfftobmp-3.0/work/sfftobmp_3_0/src'
make: *** [all-recursive] Error 1
Comment 4 Samuli Suominen gentoo-dev 2008-04-14 20:42:49 UTC
Thanks. Again. :-)