[Clfs-dev] CBLFS -- arts

db m myheadblewoff at hotmail.com
Tue Apr 13 19:37:34 PDT 2010


...Hmmm....must be a gcc thang....arts-1.5.9 is pulling the same error with gcc-4.4.2

Both arts-1.5.9 and 1.5.10 build without this error using this older (1.0) clfs build with gcc-4.2.4

...fyi...

----------------------------------------
> From: myheadblewoff at hotmail.com
> To: clfs-dev at lists.cross-lfs.org
> Date: Wed, 14 Apr 2010 10:38:38 +1000
> Subject: [Clfs-dev] CBLFS -- arts
>
>
> Greets,
>
> The patch referred to by the link does not exist ;
>
> http://svn.cross-lfs.org/svn/repos/patches/arts/arts-1.5.10-fix_mmx-1.patch
>
> ..only arts-1.5.9-fix_mmx-1.patch  is seen in the repo.
>
>
> More importantly, arts-1.5.10 doesn't seem to want to compile...errors out with;
>
> /bin/sh ../libtool --silent --tag=CXX   --mode=compile g++ -m64 -DHAVE_CONFIG_H -I. -I.. -I../artsc -I../libltdl -I/usr/include -I/usr/share/qt/include -I/usr/X11R7/include  -I../libltdl -DEXTENSION_DIR='"/usr/lib64"' -DTRADER_DIR='"/usr/lib64/mcop"' -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o mcoputils.lo mcoputils.cc
> mcoputils.cc: In function 'char* locate_mcop_dir()':
> mcoputils.cc:74: error: 'PATH_MAX' was not declared in this scope
> mcoputils.cc:91: error: 'kde_tmp_dir' was not declared in this scope
> mcoputils.cc:100: error: 'user_tmp_dir' was not declared in this scope
> mcoputils.cc: In function 'int build_link(const char*, const char*)':
> mcoputils.cc:227: error: 'PATH_MAX' was not declared in this scope
> mcoputils.cc:236: error: 'kde_tmp_dir' was not declared in this scope
> mcoputils.cc:245: error: 'user_tmp_dir' was not declared in this scope
> mcoputils.cc:321: error: 'tmp_buf' was not declared in this scope
> mcoputils.cc: In static member function 'static std::string Arts::MCOPUtils::createFilePath(std::string)':
> mcoputils.cc:367: error: 'PATH_MAX' was not declared in this scope
> mcoputils.cc:368: error: 'tmp_prefix' was not declared in this scope
> make[3]: *** [mcoputils.lo] Error 1
>
>
> I get the same thing with a 32bit build. Attached mcoputils.cc & mcoputils.h for reference.
>
> Some handling changed in gcc-4.4.2 ??
>
> Anyone know a fix/work-around for this issue? I'm kinda stuck with this in arts on the way to kdelibs....
>
> Any advice/clues to this error?
>
> Cheers!
>
> Don
>
> _________________________________________________________________
> New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
> http://clk.atdmt.com/NMN/go/206222968/direct/01/
 		 	   		  
_________________________________________________________________
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/


More information about the Clfs-dev mailing list