List Info

Thread: unable to compile server 11_1 , OpenSuSe 10.2 - 2.6.18.2-34




unable to compile server 11_1 , OpenSuSe 10.2 - 2.6.18.2-34
country flaguser name
Australia
2007-06-11 10:08:39
Hi:

Here is one of the errors that the build process encountered
on OpenSuSe 10.2 on Centrino M laptop
with 1GB RAM and 2.6.18.2-34 kernel.

saifispeed:~/home/src/helixcommunity/common/system>
make
g++ -pipe -Wall -Wreturn-type -Wno-non-virtual-dtor
-fno-exceptions --permissive -fno-rtti
-Wno-ctor-dtor-privacy -Winline -Wdisabled-optimization
-Wno-unused-parameter -Wno-reorder -fmessage-length=0 
-march=i686 -O0 -g -DDEBUG -D_DEBUG 
-I../../common/runtime/pub -I/usr/X11R6/include
-Ipub/platform/unix -I../include -I../container/pub
-I../dbgtool/pub -I../util/pub -I../fileio/pub
-I../runtime/pub -I./pub -I. -include
dbg/common_system_ribodefs.h -fPIC -DPIC -o
dbg/obj/platform/unix/pthreadthreads.o -c
platform/unix/pthreadthreads.cpp
pub/platform/unix/pthreadthreads.h:105: error: base type
‘sem_t’ fails to be a struct or class type
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadMutex::_Lock()’:
platform/unix/pthreadthreads.cpp:162: warning: unused
variable ‘nResult’
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadMutex::_Unlock()’:
platform/unix/pthreadthreads.cpp:215: warning: unused
variable ‘nResult’
platform/unix/pthreadthreads.cpp: In constructor
‘HXPthreadSemaphore::HXPthreadSemaphore(UINT32)’:
platform/unix/pthreadthreads.cpp:395: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_init(sem_t*, int, unsigned int)’
platform/unix/pthreadthreads.cpp: In destructor ‘virtual
HXPthreadSemaphore::~HXPthreadSemaphore()’:
platform/unix/pthreadthreads.cpp:405: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_destroy(sem_t*)’
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_Post()’:
platform/unix/pthreadthreads.cpp:413: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_post(sem_t*)’
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_Wait()’:
platform/unix/pthreadthreads.cpp:426: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_wait(sem_t*)’
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_TryWait()’:
platform/unix/pthreadthreads.cpp:435: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_trywait(sem_t*)’
platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_GetValue(int*)’:
platform/unix/pthreadthreads.cpp:492: error: cannot convert
‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_getvalue(sem_t*, int*)’
make: *** [dbg/obj/platform/unix/pthreadthreads.o] Error 1
saifispeed:~/home/src/helixcommunity/common/system> vim
pub/platform/unix/pthreadthreads.h +105
saifispeed:~/home/src/helixcommunity/common/system>

Are there any patches available to fix these compilation
issue ?

A common understanding is that tagged branch must have a
clean compilation. or am I missing something ?

There is some discussion in Greg's mail at
http://lists.helixcommunity.org
/pipermail/helix-server-dev/2007-March/004650.html
Would these patches make into the tree at some point in time
?

Thanks for your patience with a Helix DNA Server newbie.

thanks
Saifi.

TWINCLING Society
freedom of innovation
http://www.twincling.org/

_______________________________________________
Helix-server-dev mailing list
Helix-server-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev

Re: unable to compile server 11_1 , OpenSuSe 10.2 - 2.6.18.2-34
country flaguser name
United States
2007-06-11 11:02:57
Saifi wrote:
> Hi:
>
> Here is one of the errors that the build process
encountered on OpenSuSe 10.2 on Centrino M laptop
> with 1GB RAM and 2.6.18.2-34 kernel.
>
> saifispeed:~/home/src/helixcommunity/common/system>
make
> g++ -pipe -Wall -Wreturn-type -Wno-non-virtual-dtor
-fno-exceptions --permissive -fno-rtti
-Wno-ctor-dtor-privacy -Winline -Wdisabled-optimization
-Wno-unused-parameter -Wno-reorder -fmessage-length=0 
-march=i686 -O0 -g -DDEBUG -D_DEBUG 
-I../../common/runtime/pub -I/usr/X11R6/include
-Ipub/platform/unix -I../include -I../container/pub
-I../dbgtool/pub -I../util/pub -I../fileio/pub
-I../runtime/pub -I./pub -I. -include
dbg/common_system_ribodefs.h -fPIC -DPIC -o
dbg/obj/platform/unix/pthreadthreads.o -c
platform/unix/pthreadthreads.cpp
> pub/platform/unix/pthreadthreads.h:105: error: base
type ‘sem_t’ fails to be a struct or class type
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadMutex::_Lock()’:
> platform/unix/pthreadthreads.cpp:162: warning: unused
variable ‘nResult’
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadMutex::_Unlock()’:
> platform/unix/pthreadthreads.cpp:215: warning: unused
variable ‘nResult’
> platform/unix/pthreadthreads.cpp: In constructor
‘HXPthreadSemaphore::HXPthreadSemaphore(UINT32)’:
> platform/unix/pthreadthreads.cpp:395: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_init(sem_t*, int, unsigned int)’


This code is not used in server builds but I notice you are
posting
to a server list. What target, branch and profile are you
trying to
build? This sem_t fix has been in place in HEAD and 150Cay
for some
time (which are the 2 main client dev branches right now).

You can find your build configuration information at the top
of
your build.out file. Just paste that part in here, It
should
look something like this:



Build System (V2.4.6)
time: Mon Jun 04 15:12:50 2007
outfile: build.out
branch: hxclient_1_5_0_cayenne_internal
platform: win32-i386-vc7
distribution/archive from: win32-i386-vc7
build Type: debug
build options: debug
profile:
d:cygwinhomegwrightribosomebuildumakepfhelix-dtdr-all
-defines
cvs revision: hxclient_1_5_0_cayenne
copy target: debug
target(s): datatype-restricted_h264_codec_encoder
$Id: umake.py,v 1.59 2006/08/22 00:23:57 ping Exp $
Using compiler: cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights
reserved.

--greg.



> platform/unix/pthreadthreads.cpp: In destructor
‘virtual HXPthreadSemaphore::~HXPthreadSemaphore()’:
> platform/unix/pthreadthreads.cpp:405: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_destroy(sem_t*)’
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_Post()’:
> platform/unix/pthreadthreads.cpp:413: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_post(sem_t*)’
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_Wait()’:
> platform/unix/pthreadthreads.cpp:426: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_wait(sem_t*)’
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_TryWait()’:
> platform/unix/pthreadthreads.cpp:435: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_trywait(sem_t*)’
> platform/unix/pthreadthreads.cpp: In member function
‘virtual HX_RESULT HXPthreadSemaphore::_GetValue(int*)’:
> platform/unix/pthreadthreads.cpp:492: error: cannot
convert ‘HXsem_t*’ to ‘sem_t*’ for argument ‘1’ to ‘int
sem_getvalue(sem_t*, int*)’
> make: *** [dbg/obj/platform/unix/pthreadthreads.o]
Error 1
> saifispeed:~/home/src/helixcommunity/common/system> vim
pub/platform/unix/pthreadthreads.h +105
> saifispeed:~/home/src/helixcommunity/common/system>
>
> Are there any patches available to fix these
compilation issue ?
>
> A common understanding is that tagged branch must have
a clean compilation. or am I missing something ?
>
> There is some discussion in Greg's mail at
> http://lists.helixcommunity.org
/pipermail/helix-server-dev/2007-March/004650.html
> Would these patches make into the tree at some point in
time ?
>
> Thanks for your patience with a Helix DNA Server
newbie.
>
> thanks
> Saifi.
>
> TWINCLING Society
> freedom of innovation
> http://www.twincling.org/
>
> _______________________________________________
> Helix-server-dev mailing list
> Helix-server-devhelixcommunity.org
> http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev


_______________________________________________
Helix-server-dev mailing list
Helix-server-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev

Re: unable to compile server 11_1 , OpenSuSe 10.2 - 2.6.18.2-34
country flaguser name
Hong Kong
2007-06-11 11:38:31
On Mon, 11 Jun 2007, Greg Wright wrote:

> Date: Mon, 11 Jun 2007 09:02:57 -0700
> From: Greg Wright <gwrightreal.com>
> To: Saifi <saifitwincling.org>
> Cc:  <helix-server-devhelixcommunity.org>
> Subject: Re: [Helix-server-dev] unable to compile
server 11_1 ,
>     OpenSuSe 10.2 - 2.6.18.2-34
> 
> Saifi wrote:
> > Hi:
> > 
> > Here is one of the errors that the build process
encountered on OpenSuSe
> > 10.2 on Centrino M laptop
> > with 1GB RAM and 2.6.18.2-34 kernel.
> > 
> 
> This code is not used in server builds but I notice you
are posting
> to a server list. What target, branch and profile are
you trying to
> build? This sem_t fix has been in place in HEAD and
150Cay for some
> time (which are the 2 main client dev branches right
now).
> 
> You can find your build configuration information at
the top of
> your build.out file. Just paste that part in here, It
should
> look something like this:
> 
> 
> 
> Build System (V2.4.6)
> time: Mon Jun 04 15:12:50 2007
> outfile: build.out
> branch: hxclient_1_5_0_cayenne_internal
> platform: win32-i386-vc7
> distribution/archive from: win32-i386-vc7
> build Type: debug
> build options: debug
> profile:
d:cygwinhomegwrightribosomebuildumakepfhelix-dtdr-all
-defines
> cvs revision: hxclient_1_5_0_cayenne
> copy target: debug
> target(s): datatype-restricted_h264_codec_encoder
> $Id: umake.py,v 1.59 2006/08/22 00:23:57 ping Exp $
> Using compiler: cl
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
13.10.3077 for 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All
rights reserved.
> 
> --greg.
> 

Hi Greg:

Here is the excerpt from build.out file.


Build System (V2.4.6)
time: Mon Jun 11 20:03:29 2007
outfile: build.out
branch: SERVER_11_1
platform: linux-2.6-glibc23-i686
distribution/archive from: linux-2.6-glibc23-i686
build Type: debug
build options: debug
profile:
/home/saifi/home/src/helixcommunity/build/umakepf/helix-serv
er-nodist
cvs revision: SERVER_11_1
copy target: debug
clean mode
update mode
non-interactive mode
target(s): servinst
$Id: umake.py,v 1.59 2006/08/22 00:23:57 ping Exp $
C Compiler: gcc
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix
--prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
--disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=generic
--host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)

C++ Compiler: g++
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix
--prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
--disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=generic
--host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)


Thanks in advance.

thanks
Saifi.



_______________________________________________
Helix-server-dev mailing list
Helix-server-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev

Re: unable to compile server 11_1 , OpenSuSe 10.2 - 2.6.18.2-34
country flaguser name
United States
2007-06-11 11:41:29
Saifi Khan wrote:
> On Mon, 11 Jun 2007, Greg Wright wrote:
> 
>> Date: Mon, 11 Jun 2007 09:02:57 -0700
>> From: Greg Wright <gwrightreal.com>
>> To: Saifi <saifitwincling.org>
>> Cc:  <helix-server-devhelixcommunity.org>
>> Subject: Re: [Helix-server-dev] unable to compile
server 11_1 ,
>>     OpenSuSe 10.2 - 2.6.18.2-34
>>
>> Saifi wrote:
>>> Hi:
>>>
>>> Here is one of the errors that the build
process encountered on OpenSuSe
>>> 10.2 on Centrino M laptop
>>> with 1GB RAM and 2.6.18.2-34 kernel.
>>>
>> This code is not used in server builds but I notice
you are posting
>> to a server list. What target, branch and profile
are you trying to
>> build? This sem_t fix has been in place in HEAD and
150Cay for some
>> time (which are the 2 main client dev branches
right now).
>>
>> You can find your build configuration information
at the top of
>> your build.out file. Just paste that part in here,
It should
>> look something like this:
>>
>>
>>
>> Build System (V2.4.6)
>> time: Mon Jun 04 15:12:50 2007
>> outfile: build.out
>> branch: hxclient_1_5_0_cayenne_internal
>> platform: win32-i386-vc7
>> distribution/archive from: win32-i386-vc7
>> build Type: debug
>> build options: debug
>> profile:
d:cygwinhomegwrightribosomebuildumakepfhelix-dtdr-all
-defines
>> cvs revision: hxclient_1_5_0_cayenne
>> copy target: debug
>> target(s): datatype-restricted_h264_codec_encoder
>> $Id: umake.py,v 1.59 2006/08/22 00:23:57 ping Exp
$
>> Using compiler: cl
>> Microsoft (R) 32-bit C/C++ Optimizing Compiler
Version 13.10.3077 for 80x86
>> Copyright (C) Microsoft Corporation 1984-2002. All
rights reserved.
>>
>> --greg.
>>
> 
> Hi Greg:
> 
> Here is the excerpt from build.out file.
> 
> 
> Build System (V2.4.6)
> time: Mon Jun 11 20:03:29 2007
> outfile: build.out
> branch: SERVER_11_1
> platform: linux-2.6-glibc23-i686
> distribution/archive from: linux-2.6-glibc23-i686
> build Type: debug
> build options: debug
> profile:
/home/saifi/home/src/helixcommunity/build/umakepf/helix-serv
er-nodist
> cvs revision: SERVER_11_1
> copy target: debug
> clean mode
> update mode
> non-interactive mode
> target(s): servinst

Hmm. This all looks good to me, but I don't build the
server.
I was guessing you accidentally built a client target
instead
of a server target. I really don't think the server uses
that
pthread code that the client does. However, that diffs for
that fix should work just fine for you until a server dev
can
answer your question.

--greg.



> $Id: umake.py,v 1.59 2006/08/22 00:23:57 ping Exp $
> C Compiler: gcc
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --enable-threads=posix
--prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
--disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=generic
--host=i586-suse-linux
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
> 
> C++ Compiler: g++
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --enable-threads=posix
--prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
--disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=generic
--host=i586-suse-linux
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
> 
> 
> Thanks in advance.
> 
> thanks
> Saifi.
> 
> 


_______________________________________________
Helix-server-dev mailing list
Helix-server-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )