Bug 82208 - arts make check failure in Solaris 7
Summary: arts make check failure in Solaris 7
Status: RESOLVED FIXED
Alias: None
Product: arts
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
: 109676 121226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-25 23:32 UTC by Eduardo Unda-Sanzana
Modified: 2006-08-01 13:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Unda-Sanzana 2004-05-25 23:32:44 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.0 
OS:                Solaris

Hi,

I am compiling KDE 3.2.2 from source in a SPARC workstation running Solaris 7. arts compiles without errors, but when I do 'make check' it fails:

Making check in libltdl
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/libltdl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/libltdl'
Making check in mcop
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcop'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcop'
Making check in mcopidl
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcopidl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcopidl'
Making check in flow
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow'
Making check in mcopclass
make[2]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/mcopclass'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/mcopclass'
Making check in gsl
make[2]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/gsl'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/gsl'
Making check in gslpp
make[2]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/gslpp'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow/gslpp'
make[2]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow'
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/flow'
Making check in mcop_mt
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcop_mt'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/mcop_mt'
Making check in soundserver
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/soundserver'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/soundserver'
Making check in artsc
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/artsc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/artsc'
Making check in examples
make[1]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/examples'
make  helloserver helloclient referenceinfo irdemo x11commtest
streamsound hellomain flow artsctest artscrec artsccat artscmt
dcasttest hellodynamic hellodynamic2 testasubsys testaggregation
playtofile testthreads testnothreads catfile testdhandle
make[2]: Entering directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/examples'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../flow -I../flow
-I../soundserver -I../soundserver -I../artsc -I/usr/local/kde/include
-I/usr/local/qt/include -I/usr/openwin/include  -I../libltdl 
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS -DSVR4 -threads -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2
-fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -MT
helloserver.o -MD -MP -MF ".deps/helloserver.Tpo" -c -o helloserver.o
helloserver.cc; \
then mv -f ".deps/helloserver.Tpo" ".deps/helloserver.Po"; else rm -f
".deps/helloserver.Tpo"; exit 1; fi
In file included from ../mcop/core.h:6,
                 from helloserver.cc:26:
../mcop/common.h: In function `void Arts::writeObject(Arts::Buffer&,
T*)':
../mcop/common.h:87: error: invalid use of undefined type `struct
Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct
Arts::ObjectReference'
../mcop/common.h:93: error: invalid use of undefined type `struct
Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct
Arts::ObjectReference'
../mcop/common.h:94: error: invalid use of undefined type `struct
Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct
Arts::ObjectReference'
../mcop/common.h:95: error: invalid use of undefined type `struct
Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct
Arts::ObjectReference'
../mcop/common.h: In function `void Arts::readObject(Arts::Buffer&,
T*&)':
../mcop/common.h:103: error: invalid use of undefined type `struct
Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct
Arts::ObjectReference'
make[2]: *** [helloserver.o] Error 1
make[2]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/examples'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/export/home1/sim/eus/sources/kde_stuff/arts-1.2.2/examples'
make: *** [check-recursive] Error 1

The result from 'gcc -v' is:

Reading specs from
/export/home1/local/bin/../lib/gcc/sparc-sun-solaris2.7/3.4.0/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.0

Cheers,

Eduardo
Comment 1 Nicolas Goutte 2005-07-27 00:12:52 UTC
*** Bug 109676 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas Goutte 2005-07-27 00:14:12 UTC
Bug 109676 was on Linux on arts 1.4.1.
Comment 3 Andreas Kling 2006-08-01 11:47:01 UTC
*** Bug 121226 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Kling 2006-08-01 13:05:03 UTC
SVN commit 568488 by kling:

Unbreak the test suite (header dependency problems.)

BUG: 82208


 M  +1 -1      examples/helloserver.cc  
 M  +1 -1      examples/referenceinfo.cc  
 M  +1 -1      examples/x11commtest.cc  
 M  +1 -2      tests/testanyref.cc  
 M  +1 -1      tests/testifacerepo.cc  


--- branches/arts/1.5/arts/examples/helloserver.cc #568487:568488
@@ -23,7 +23,7 @@
 
     */
 
-#include "core.h"
+#include "common.h"
 #include "hello_impl.h"
 
 #include <stdio.h>
--- branches/arts/1.5/arts/examples/referenceinfo.cc #568487:568488
@@ -23,7 +23,7 @@
 
     */
 
-#include "core.h"
+#include "common.h"
 #include <stdio.h>
 
 using namespace Arts;
--- branches/arts/1.5/arts/examples/x11commtest.cc #568487:568488
@@ -25,7 +25,7 @@
     */
 
 #include <iostream>
-#include "core.h"
+#include "common.h"
 
 using namespace std;
 using namespace Arts;
--- branches/arts/1.5/arts/tests/testanyref.cc #568487:568488
@@ -20,8 +20,7 @@
 
     */
 
-#include "anyref.h"
-#include "core.h"
+#include "common.h"
 #include "test.h"
 
 using namespace Arts;
--- branches/arts/1.5/arts/tests/testifacerepo.cc #568487:568488
@@ -21,7 +21,7 @@
     */
 
 #include <algorithm>
-#include "core.h"
+#include "common.h"
 #include "test.h"
 
 using namespace Arts;