>On Wed, 23 Jun 2010 12:50:41 +0100 >lI <[email protected]> wrote: > > Greetings, > > Although not on the blfs/cblfs list Csound is useful for programs > such as Gnash useful for programs such as konqueror. I had a go at > compiling Csound5.12.1 a while ago and gave up. I returned recently > on a box with the following features:- > -----(Linux{CBLFS}(64bit amd64 CPU kernel2.6.34 gcc4.4.2)/ > -----I used the scons recipe shipped with the Csound5.12.1 tarball. > > > I obtained the following output (with minor variations if > 'DoublePrecision' is enabled or disabled in the scons recipe) on a > number of occasions:- > > ######################################### > [snip] > ########################################## > > I tried changing <cmath> to <math.h> in InOut/widglobals.h with the > same result except for the reference > to /usr/lib/gcc/x86_64-unknown-linux- > gnu/4.4.2/../../../../...etc in the compiler output. > > Advice/help would be appreciated > > sincerely > lux-integ
Hello, >From what I can see in here, the breakage is somewhere in coordinating the headers. I will now assume that your cmath header in /usr/include/c++/4.4.2 is normally working (this ofcourse may not necessarily be the case, but if you successfully built BLFS, then it by itself probably works). I have just double-checked on my system (CBLFS with GCC-4.4.3), and what may (or may not) be the likely source of trouble is the math.h header. The one you need is /usr/include/math.h . With all those -I flags up there, could it be that another math.h (or a different cmath for that matter?) is being preloaded?? `gcc -M' should help you pinpoint all the headers that are being included (do not forget to remove the -o what/ever.o flag). -AKuktin -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
