i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT CNestedDataFile.lo -MD -MP -MF .deps/CNestedDataFile.Tpo -c CNestedDataFile.cpp -o CNestedDataFile.o CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the filename, only the constructor and setFilename should do that CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order that things were parsed in the file anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)': anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)': anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) <stdout>: In function 'int yy_get_next_buffer()': <stdout>:1164: warning: comparison between signed and unsigned integer expressions make[3]: *** [cfg.tab.lo] Error 1
I get much the same error message (built in conjunction with the experimental x11-libs/fox-1.4.34 ebuild): [snip] x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT CNestedDataFile.lo -MD -MP -MF .deps/CNestedDataFile.Tpo -c CNestedDataFile.cpp -o CNestedDataFile.o CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the filename, only the constructor and setFilename should do that CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order that things were parsed in the file anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)': anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) make[3]: *** [CNestedDataFile.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src/misc/CNestedDataFile' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src/misc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/rezound-0.12.2_beta-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile rezound-0.12.2_beta-r1.ebuild, line 70: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 92748 [details, diff] Patch to rezound-0.12.2_beta fixing many gcc-4 / gcc-4.1 issues I believe this patch goes a long way to making rezound build using gcc-4.1.1. Unfortunately I get unresolved reference when finally linking things together, and after hours of investigation I still have no idea why. Maybe someone else knows or at least can reproduce this problem in a small test scenario.
*** Bug 146054 has been marked as a duplicate of this bug. ***
Created attachment 96606 [details] rezound-0.12.2_beta-r2 rezound-0.12.2_beta-r2 ebuild added the gcc patch by Martin von Gagern
Created attachment 96730 [details, diff] 64 bit patch 64 bit patch
Created attachment 96731 [details, diff] float patch rezpund float patch
Created attachment 96732 [details, diff] gcc41 patch gcc41 patch
Created attachment 96733 [details, diff] gcc41 hacky patch gcc41 hacky patch
Created attachment 96734 [details, diff] gcc-4.0 64 patch gcc-4.0 64 patch
Created attachment 96735 [details] rezound-0.12.2_beta-r2.ebuild rezound-0.12.2_beta-r2 ebuild with patches to fix gcc 4.x compilation. i found all the patches on: http://www.t2-project.org/packages/rezound.html
Maintainers! Put, please, rezound-0.12.2_beta-r2.ebuild and its patches to the official portage. I experienced the same bug. After placing rezound-0.12.2_beta-r2.ebuild and patches to my portage overlay, everything compiles and works perfectly. I use gcc-4.1.1 on athlon-xp.
Fixed in 0.12.2_beta-r2, thanks for your help there !
*** Bug 152822 has been marked as a duplicate of this bug. ***