freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pooma-dev] problem..


From: Jeffrey Oldham
Subject: Re: [pooma-dev] problem..
Date: Mon, 19 Nov 2001 08:57:53 -0800
User-agent: Mutt/1.2.5i

        The Pooma WWW site has moved to pooma.codesourcery.com.
http://www.acl.lanl.gov/pooma/ is no longer updated.

        We also had trouble compiling Smarts.  Suvas, is there a
version of Smarts similar to 1.2.0 that compiles and is known correct?
The version we have is available at
http://www.codesourcery.com/pooma/pooma_download.

Thanks,
Jeffrey D. Oldham
address@hidden

On Thu, Nov 15, 2001 at 09:29:47AM +0100, Thierry Dumont wrote:
> 
> Sir,
> 
> I have a problem compiling smarts-1.2.0.
> 
> Before sending this mail, I have tried all the e-mail adresses of the
> pooma & smarts projects that can be found on your web: none is working!
> 
> So, I' m not sure that I send this e-mail to the good address, but I need
> to solve my problem!
> 
> Machine & software:
> ==================
> Linux RedHat 7.1 on intel. gcc version 2.96 20000731
> smarts version is 1.2.0.
> 
> Description of the problem:
> ==========================
> 
> a) with : configure --with-CXX=g++
> I get:
> 
> 
> g++ -DLINUX  -O2 -D_REENTRANT -D_THREAD_SAFE
> -I/users/mobylette_1/tdumont/smarts-1.2.0/include
> -I/users/mobylette_1/tdumont/smarts-1.2.0/include/IterateSchedulers
> -I/users/mobylette_1/tdumont/smarts-1.2.0/machine-specific/i386-linux  -c
> /users/mobylette_1/tdumont/smarts-1.2.0/src/AffinityScheduler.C
> In file included from
> /users/mobylette_1/tdumont/smarts-1.2.0/machine-specific/i386-linux/pthread.h:25,
>                  from /usr/include/g++-3/stl_alloc.h:71,
>                  from /usr/include/g++-3/alloc.h:21,
>                  from /usr/include/g++-3/vector.h:31,
>                  from
> /users/mobylette_1/tdumont/smarts-1.2.0/machine-specific/i386-linux/Helpers.h:33,
>                  from
> /users/mobylette_1/tdumont/smarts-1.2.0/include/Smarts.h:76,
>                  from
> /users/mobylette_1/tdumont/smarts-1.2.0/src/AffinityScheduler.C:25:
> /users/mobylette_1/tdumont/smarts-1.2.0/include/Pthread.h:50: conflicting
> types for `typedef void
> *pthread_mutex_t'
> /usr/include/bits/pthreadtypes.h:83: previous declaration as `typedef
> struct pthread_mutex_t pthread_mutex_t'
> /users/mobylette_1/tdumont/smarts-1.2.0/include/Pthread.h:51: conflicting
> types for `typedef char
> pthread_mutexattr_t'
> /usr/include/bits/pthreadtypes.h:90: previous declaration as `typedef
> ....
> usr/include/bits/pthreadtypes.h:60: previous declaration as `typedef
> struct pthread_cond_t pthread_cond_t'
> /users/mobylette_1/tdumont/smarts-1.2.0/include/Pthread.h:61: conflicting
> types for `typedef void
> *pthread_t'
> /usr/include/bits/pthreadtypes.h:140: previous declaration as `typedef
> long unsigned int pthread_t'
> 
> 
> b)with:
> configure --with-thread=pthreads --with-CXX=g++
> make
> 
> I get:
> g++ -DKERNEL_PTHREADS -DLINUX  -O2 -D_REENTRANT -D_THREAD_SAFE
> -I/users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include
> -I/users/mobylette_1/tdumont/smarts-1.2.0/include
> -I/users/mobylette_1/tdumont/smarts-1.2.0/include/IterateSchedulers
> -I/users/mobylette_1/tdumont/smarts-1.2.0/machine-specific/i386-linux  -c
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C
> In file included from
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Smarts.h:30,
>                  from
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:43:
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Context.h:158:
> syntax error before `;'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Context.h:159:
> syntax error before `;'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Context.h:161:
> syntax error before `;'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Context.h:162:
> syntax error before `;'
> In file included from
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Context.h:220,
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:
> In function `void
> Smarts::Context::addIterate (Smarts::Runnable *)':
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:41:
> `class Smarts::Context'
> has no member named `affinityIterateQueue'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:46:
> `class Smarts::Context'
> has no member named `iterateQueue'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:49:
> `class Smarts::Context'
> has no member named `iterateQueue'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:
> In function `void
> Smarts::Context::addIterateToCpu (Smarts::Runnable *, int)':
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:56:
> `class Smarts::Context'
> has no member named `affinityIterateQueue'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/IterateContext.h:59:
> `class Smarts::Context'
> has no member named `iterateQueue'
> In file included from
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:43:
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Smarts.h: At top
> level:
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Smarts.h:32:
> redefinition of `Smarts'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/Mutex.h:34:
> `Smarts' previously defined here
> In file included from
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:46:
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/include/AcquireByUpcall.h:37:
> namespace alias `Smarts'
> not allowed here, assuming `Smarts'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:50:
> namespace alias `Smarts' not allowed
> here, assuming `Smarts'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C: In
> function `int Smarts::parastart
> (void *)':
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:92:
> return-statement with no value, in
> function declared with a non-void return type
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C: In
> function `void
> Smarts::Context::mustRunOn ()':
> /users/mobylette_1/tdumont/smarts-1.2.0/machine-specific/i386-linux/Helpers.h:79:
> too many arguments to
> function `void Smarts::Bind ()'
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C:98: at this
> point in file
> /users/mobylette_1/tdumont/smarts-1.2.0/pthreads/src/Context.C: In
> function `void
> Smarts::Context::mustRunOff ()':
> ....
> 
> 
> Version 1.1.1 of smarts is ok, but doesn't seems to work with pooma-2.3.0.
> 
> Can you help me?
> 
> Very sincerely yours,
> 
> t. dumont.
> 
> --
> Thierry Dumont. MAPLY (Maths Appliques de Lyon-UMR 5585 CNRS).
> Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France.
> address@hidden  web: http://maply.univ-lyon1.fr/~tdumont

reply via email to

[Prev in Thread] Current Thread [Next in Thread]