[SCore-users-jp] Re: [SCore-users] doubt on Score rebuilding and compile a program

Mario Donato Marino mario @ regulus.pcs.usp.br
2004年 10月 1日 (金) 20:16:52 JST


On Fri, 1 Oct 2004 kameyama @ pccluster.org wrote:
Dear Sir,

	Even installing the kernel, the errors persist when I try to
compile for example laplace.c under scash:

[mario @ sol laplace.c]# Make
cd obj.i386-redhat8-linux2_4;VPATH=.. make all BUILD=/opt/score/lib/build host_nickname=i386-redhat8-linux2_4 DIST=
make[1]: Entering directory `/local/blast/opt/score5.8.0/example/scash/laplace.c/obj.i386-redhat8-linux2_4'
/opt/score/example/scash/laplace.c
/opt/score/bin/scorecc -Wall -Wno-implicit -scash -O   `case "gnu-c" in gnu-c|g++|mpc++) echo -static;; c|c++) echo -Bstatic;; esac` -o laplace_c.exe laplace_c.o -lm
/opt/score/lib/i386-redhat8-linux2_4/libscash.a(scash_etc.o): In function `scash_fatal':
scash_etc.o(.text+0x2d): `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/opt/score/lib/i386-redhat8-linux2_4/libpm.a(pm.o): In function `pmInitDebug':
/opt/score/score-src/SCore/pm2/common/obj.i386-redhat8-linux2_4/../pm.c:100: undefined reference to `composite_open_device'
/opt/score/score-src/SCore/pm2/common/obj.i386-redhat8-linux2_4/../pm.c:100: undefined reference to `composite_attach_context'
/opt/score/lib/i386-redhat8-linux2_4/libpm.a(pm.o): In function `pmDebug':
/opt/score/score-src/SCore/pm2/common/obj.i386-redhat8-linux2_4/../pm.c:120: undefined reference to `shmem_open_device'
/opt/score/score-src/SCore/pm2/common/obj.i386-redhat8-linux2_4/../pm.c:118: undefined reference to `shmem_attach_context'
collect2: ld returned 1 exit status
make[1]: *** [laplace_c.exe] Error 1
make[1]: Leaving directory `/local/blast/opt/score5.8.0/example/scash/laplace.c/obj.i386-redhat8-linux2_4'
make: *** [srcdir-all] Error 2


	Attached to this e-mail are the files scash.build and score.build.
Could you give me any hint on how to solve the linking problems above?

	Thanks in advance,

	Mario

> In article <Pine.LNX.4.58.0409301409450.19671 @ regulus.pcs.usp.br> Mario Donato Marino <mario @ regulus.pcs.usp.br> wrotes:
> > 	The archive score.build is attached to this e-mail. The
> > problems are about line 239. What should I modify to solve them?
>
> Please install kernel source rpm.
>
> PM program use kernel structure spinlock_t and more,
> This definitions are found under /usr/include/asm on Redhat 7.3 or before.
> But there are not found on redhat 8.0 or later.
> So PM use real kernel header file under /usr/src/linux2.4/include.
> But your host is not found kernel source.
>
>                        from Kameyama Toyohisa
>
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users



SCore-users-jp メーリングリストの案内