[Clfs-dev] CBLFS -- arts

db m myheadblewoff at hotmail.com
Tue Apr 13 17:38:38 PDT 2010


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcoputils.cc
Type: application/octet-stream
Size: 14532 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20100414/49260624/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcoputils.h
Type: application/octet-stream
Size: 2778 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20100414/49260624/attachment-0003.obj>


More information about the Clfs-dev mailing list