* boinc client compile on TRU64
@ 2005-07-18 6:53 Lars Bausch
2005-07-20 12:51 ` nafc
0 siblings, 1 reply; 9+ messages in thread
From: Lars Bausch @ 2005-07-18 6:53 UTC (permalink / raw)
Hello !
I am trying to compile boinc on tru64 5.1 with gcc 3.3, but I have some
problems to compile app_control.C :
source='app_control.C' object='boinc_client-app_control.o' libtool=no
DEPDIR=.deps depmode=tru64 /bin/bash ../depcomp g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I ./win -I../lib -I../api -I../db -I../RSAEuro/source
-I../client -I../tools -I../sched -D_REENTRANT -pthread -include
../config.h -O3 -O3 -I../lib -I../api -I../db -I../RSAEuro/source
-I../client -I../tools -I../sched -D_REENTRANT -pthread -include
../config.h -g -D_REENTRANT -pthread -O3 -c -o
boinc_client-app_control.o `test -f 'app_control.C' || echo
'./'`app_control.C
app_control.C: In member function `bool ACTIVE_TASK::has_task_exited()':
app_control.C:152: error: cannot convert `int*' to `wait*' for argument
`2' to
`pid_t wait4(int, wait*, int, rusage*)'
app_control.C: In member function `bool
ACTIVE_TASK_SET::check_app_exited()':
app_control.C:410: error: cannot convert `int*' to `wait*' for argument
`2' to
`pid_t wait4(int, wait*, int, rusage*)'
*** Exit 1
Stop.
Any hints ?
Regards
Lars
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-18 6:53 boinc client compile on TRU64 Lars Bausch
@ 2005-07-20 12:51 ` nafc
2005-07-20 17:24 ` Lars Bausch
2005-07-24 19:45 ` Lars Bausch
0 siblings, 2 replies; 9+ messages in thread
From: nafc @ 2005-07-20 12:51 UTC (permalink / raw)
Lars Bausch wrote:
> Hello !
>
> I am trying to compile boinc on tru64 5.1 with gcc 3.3, but I have some
> problems to compile app_control.C :
>
> source='app_control.C' object='boinc_client-app_control.o' libtool=no
> DEPDIR=.deps depmode=tru64 /bin/bash ../depcomp g++ -DHAVE_CONFIG_H -I.
> -I. -I.. -I ./win -I../lib -I../api -I../db -I../RSAEuro/source
> -I../client -I../tools -I../sched -D_REENTRANT -pthread -include
> ../config.h -O3 -O3 -I../lib -I../api -I../db -I../RSAEuro/source
> -I../client -I../tools -I../sched -D_REENTRANT -pthread -include
> ../config.h -g -D_REENTRANT -pthread -O3 -c -o
> boinc_client-app_control.o `test -f 'app_control.C' || echo
> './'`app_control.C
> app_control.C: In member function `bool ACTIVE_TASK::has_task_exited()':
> app_control.C:152: error: cannot convert `int*' to `wait*' for argument
> `2' to
> `pid_t wait4(int, wait*, int, rusage*)'
> app_control.C: In member function `bool
> ACTIVE_TASK_SET::check_app_exited()':
> app_control.C:410: error: cannot convert `int*' to `wait*' for argument
> `2' to
> `pid_t wait4(int, wait*, int, rusage*)'
> *** Exit 1
> Stop.
>
> Any hints ?
>
>
>
> Regards
>
> Lars
Hi Lars,
I've tried to get boinc compiled on my Tru64 V5.1B PK4 system without
success either. I didn't even get as far as you. I wasn't able to get
gcc installed on Tru64. Since I have virtually no programming
experience on UNIX, if something doesn't install I'm out of luck.
You may want to consider posting your request on HP's ITRC forums.
I've found them to be very helpful. The URL is:
http://forums2.itrc.hp.com/service/forums/home.do
You have to register but it's free. Let us know if you get boinc going
on Tru64. Do you plan on trying to get SETI boinc compiled as well?
nafc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-20 12:51 ` nafc
@ 2005-07-20 17:24 ` Lars Bausch
2005-07-21 13:29 ` nafc
2005-07-22 7:51 ` Lars Bausch
2005-07-24 19:45 ` Lars Bausch
1 sibling, 2 replies; 9+ messages in thread
From: Lars Bausch @ 2005-07-20 17:24 UTC (permalink / raw)
Hello !
> You may want to consider posting your request on HP's ITRC forums.
> I've found them to be very helpful. The URL is:
>
> http://forums2.itrc.hp.com/service/forums/home.do
Good idea ! Thanks.
> You have to register but it's free. Let us know if you get boinc going
> on Tru64. Do you plan on trying to get SETI boinc compiled as well?
The seti app is compiled on tru64 and the science computes correctly.
But it hangs at the boinc client at the moment...
I have changed the variable declaration from union wait * to int * in
the headers on the same like on HPUX - I don't know if it is ok :
//HPUX
//extern pid_t wait4(pid_t,int *, int, struct rusage *);
//TRU64
//extern pid_t wait4 __((pid_t, union wait *, int, struct rusage *));
Now it compiles, but I have now some problem with the boinc_client.
Do you know where I can get a tool like tusc, truss, trace, strace for
tru64 ?
Lars
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-20 17:24 ` Lars Bausch
@ 2005-07-21 13:29 ` nafc
2005-07-22 7:51 ` Lars Bausch
1 sibling, 0 replies; 9+ messages in thread
From: nafc @ 2005-07-21 13:29 UTC (permalink / raw)
Lars Bausch wrote:
> Hello !
>
> > You may want to consider posting your request on HP's ITRC forums.
> > I've found them to be very helpful. The URL is:
> >
> > http://forums2.itrc.hp.com/service/forums/home.do
> Good idea ! Thanks.
>
> > You have to register but it's free. Let us know if you get boinc going
> > on Tru64. Do you plan on trying to get SETI boinc compiled as well?
> The seti app is compiled on tru64 and the science computes correctly.
> But it hangs at the boinc client at the moment...
>
> I have changed the variable declaration from union wait * to int * in
> the headers on the same like on HPUX - I don't know if it is ok :
> //HPUX
> //extern pid_t wait4(pid_t,int *, int, struct rusage *);
> //TRU64
> //extern pid_t wait4 __((pid_t, union wait *, int, struct rusage *));
>
> Now it compiles, but I have now some problem with the boinc_client.
>
> Do you know where I can get a tool like tusc, truss, trace, strace for
> tru64 ?
>
>
> Lars
This is why I like that forum. According to this thread:
http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=742456
Utilities like truss are found on the Associated Products CDs. It says
it's part of the 'Extended System V' package.
nafc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-20 17:24 ` Lars Bausch
2005-07-21 13:29 ` nafc
@ 2005-07-22 7:51 ` Lars Bausch
2005-07-22 15:10 ` Brian Haley
1 sibling, 1 reply; 9+ messages in thread
From: Lars Bausch @ 2005-07-22 7:51 UTC (permalink / raw)
Hello !
With the change in the wait.h I get a binary, which aborts now at the
bind systemcall :
2005-07-21 12:03:30 [---] GUI RPC bind failed: -1
2005-07-21 12:03:30 [---] GUI RPC bind failed: -1
gstate.init() failed: -180
The output from truss :
gethostname("xxx.xxxxxxx.", 256) = 0
open("/etc/nsswitch.conf", O_RDONLY, 0666) = 4
brk(0x000000014006B220) = 0
ioctl(4, 0x2000745E, 0x00000000) Err#25 Not a typewriter
fstat(4, 0x000000011FFFB7C0) = 0
ioctl(4, 0x2000745E, 0x00000000) Err#25 Not a typewriter
read(4, " # \n # * * * * * * *".., 8192) = 2255
read(4, 0x0000000140060808, 8192) = 0
read(4, 0x0000000140060808, 8192) = 0
ioctl(4, 0x2000745E, 0x00000000) Err#25 Not a typewriter
close(4) = 0
open("/etc/hosts", O_RDONLY, 0666) = 4
open("/etc/ipnodes", O_RDONLY, 0666) = 5
fstat(4, 0x000000011FFFB880) = 0
ioctl(4, 0x2000745E, 0x00000000) Err#25 Not a typewriter
read(4, " #\n # * * * * * * * *".., 8192) = 2251
lseek(4, 0xFFFFFFFF, SEEK_CUR) = 2016
close(4) = 0
close(5) = 0
gettimeofday(0x000000011FFFBC98, 0x00000000) = 0
uname(0x000000011FFFBDD8) = 0
gettimeofday(0x000000011FFFB890, 0x00000000) = 0
gettimeofday(0x000000011FFFBE70, 0x00000000) = 0
gettimeofday(0x000000011FFFBD98, 0x00000000) = 0
open("remote_hosts.cfg", O_RDONLY, 0666) Err#2 No such file or
directory
stat("gui_rpc_auth.cfg", 0x000000011FFFBDA0) Err#2 No such file or
directory
socket(AF_INET, SOCK_STREAM, PF_UNSPEC) = 4
setsockopt(4, 65535, SO_REUSEADDR, 0x000000011FFFBE70, 4) = 0
bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
requested address
bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
requested address
gettimeofday(0x000000011FFF9958, 0x00000000) = 0
2005-07-21 11:58:17 [---] GUI RPC bind failed: -1
write(2, " 2 0 0 5 - 0 7 - 2 1 1".., 50) = 50
2005-07-21 11:58:17 [---] GUI RPC bind failed: -1
write(1, " 2 0 0 5 - 0 7 - 2 1 1".., 50) = 50
close(4) = 0
gstate.init() failed: -180
write(2, " g s t a t e . i n i t (".., 27) = 27
sigprocmask(SIG_BLOCK, 0xFFFFF137, 0x00000000) = 0
_exit(76)
Any hints ???
Regards
Lars
Lars Bausch wrote:
> Hello !
>
>> You may want to consider posting your request on HP's ITRC forums.
>> I've found them to be very helpful. The URL is:
>>
>> http://forums2.itrc.hp.com/service/forums/home.do
>
> Good idea ! Thanks.
>
>> You have to register but it's free. Let us know if you get boinc going
>> on Tru64. Do you plan on trying to get SETI boinc compiled as well?
>
> The seti app is compiled on tru64 and the science computes correctly.
> But it hangs at the boinc client at the moment...
>
> I have changed the variable declaration from union wait * to int * in
> the headers on the same like on HPUX - I don't know if it is ok :
> //HPUX
> //extern pid_t wait4(pid_t,int *, int, struct rusage *);
> //TRU64
> //extern pid_t wait4 __((pid_t, union wait *, int, struct rusage *));
>
> Now it compiles, but I have now some problem with the boinc_client.
>
> Do you know where I can get a tool like tusc, truss, trace, strace for
> tru64 ?
>
>
> Lars
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-22 7:51 ` Lars Bausch
@ 2005-07-22 15:10 ` Brian Haley
2005-07-24 19:42 ` Lars Bausch
0 siblings, 1 reply; 9+ messages in thread
From: Brian Haley @ 2005-07-22 15:10 UTC (permalink / raw)
Lars Bausch wrote:
> With the change in the wait.h I get a binary, which aborts now at the
> bind systemcall :
Changing the Tru64 header file is not a good solution, you need to fix
the boinc code to make the call with the correct arguments or you'll
probably core dump. Shouldn't the configure script (if there is one)
have set the right compiler directives to get this right?
> open("remote_hosts.cfg", O_RDONLY, 0666) Err#2 No such file or
> directory
> stat("gui_rpc_auth.cfg", 0x000000011FFFBDA0) Err#2 No such file or
> directory
This looks broken, but doesn't seem to stop execution.
> socket(AF_INET, SOCK_STREAM, PF_UNSPEC) = 4
> setsockopt(4, 65535, SO_REUSEADDR, 0x000000011FFFBE70, 4) = 0
> bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
> requested address
> bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
> requested address
man bind
EADDRNOTAVAIL
THE specified address is not available from the local machine.
It either did not fill-in the sockaddr structure correctly, or the
address/hostname you passed it aren't configured.
-Brian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-22 15:10 ` Brian Haley
@ 2005-07-24 19:42 ` Lars Bausch
0 siblings, 0 replies; 9+ messages in thread
From: Lars Bausch @ 2005-07-24 19:42 UTC (permalink / raw)
Hi !
Brian Haley wrote:
> Changing the Tru64 header file is not a good solution, you need to fix
> the boinc code to make the call with the correct arguments or you'll
> probably core dump. Shouldn't the configure script (if there is one)
> have set the right compiler directives to get this right?
I know. But the changes are for testing only in this time.
>> open("remote_hosts.cfg", O_RDONLY, 0666) Err#2 No such file or
>> directory
>> stat("gui_rpc_auth.cfg", 0x000000011FFFBDA0) Err#2 No such file or
>> directory
It is OK. That are only some configuration files, which don't exists.
> This looks broken, but doesn't seem to stop execution.
>
>> socket(AF_INET, SOCK_STREAM, PF_UNSPEC) = 4
>> setsockopt(4, 65535, SO_REUSEADDR, 0x000000011FFFBE70, 4) = 0
>> bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
>> requested address
>> bind(4, 0x000000011FFFBE60, 16) Err#49 Can't assign
>> requested address
>
>
> man bind
>
> EADDRNOTAVAIL
> THE specified address is not available from the local machine.
>
> It either did not fill-in the sockaddr structure correctly, or the
> address/hostname you passed it aren't configured.
It looks like a problem in the source. I had also made a posting to
berkeley.
Lars
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-20 12:51 ` nafc
2005-07-20 17:24 ` Lars Bausch
@ 2005-07-24 19:45 ` Lars Bausch
2005-07-28 16:27 ` nafc
1 sibling, 1 reply; 9+ messages in thread
From: Lars Bausch @ 2005-07-24 19:45 UTC (permalink / raw)
Hi !
nafc@snet.net wrote:
> I've tried to get boinc compiled on my Tru64 V5.1B PK4 system without
> success either. I didn't even get as far as you. I wasn't able to get
> gcc installed on Tru64. Since I have virtually no programming
> experience on UNIX, if something doesn't install I'm out of luck.
If you wan't I can mail you the binaries (boinc and seti) for tests. I
had some problems to test if the boinc client works together with the
setiapp, the firewall blocks requests to outside...
But the seti app computes the reference workunit correctly.
Lars
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: boinc client compile on TRU64
2005-07-24 19:45 ` Lars Bausch
@ 2005-07-28 16:27 ` nafc
0 siblings, 0 replies; 9+ messages in thread
From: nafc @ 2005-07-28 16:27 UTC (permalink / raw)
Lars Bausch wrote:
> Hi !
>
> nafc@snet.net wrote:
> > I've tried to get boinc compiled on my Tru64 V5.1B PK4 system without
> > success either. I didn't even get as far as you. I wasn't able to get
> > gcc installed on Tru64. Since I have virtually no programming
> > experience on UNIX, if something doesn't install I'm out of luck.
> If you wan't I can mail you the binaries (boinc and seti) for tests. I
> had some problems to test if the boinc client works together with the
> setiapp, the firewall blocks requests to outside...
> But the seti app computes the reference workunit correctly.
>
> Lars
Lars,
Yes, please e-mail the binaries and I'll try them out.
nafc
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-07-28 16:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 6:53 boinc client compile on TRU64 Lars Bausch
2005-07-20 12:51 ` nafc
2005-07-20 17:24 ` Lars Bausch
2005-07-21 13:29 ` nafc
2005-07-22 7:51 ` Lars Bausch
2005-07-22 15:10 ` Brian Haley
2005-07-24 19:42 ` Lars Bausch
2005-07-24 19:45 ` Lars Bausch
2005-07-28 16:27 ` nafc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox