Discussion:
[Sisuite-devel] systemimager 4.02 with raidtools-1.00.3
Thierry Iceta
2007-12-19 13:12:22 UTC
Permalink
Hi

when I want to rebuild raidtools-1.00.3.tar.gz using Rhel5 environnment
from http://download.systemimager.org/pub/ used by systemimager 4.02
I got this error

Could you help me and tell me if raidtools-1.00.3.tar.gz is the right one
has to be used or if patch must be applied

Thnaks for your answer

thierry

gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o version.o version.c
raidstart.c: In function â:
raidstart.c:76: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:86: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:91: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:116: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:144: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:165: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:175: warning: pointer targets in passing argument 1 of â differ in signedness
raidstart.c:207: warning: pointer targets in passing argument 1 of â differ in signedness
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raid_io.o raid_io.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o scsi.o scsi.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o reconfiguration.o reconfiguration.c
scsi.c: In function â:
scsi.c:434: warning: pointer targets in passing argument 2 of â differ in signedness
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_common.o rrc_common.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid0.o rrc_raid0.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid5.o rrc_raid5.c
raid_io.c:96: error: expected declaration specifiers or â before â
raid_io.c:96: error: expected declaration specifiers or â before â
raid_io.c:96: error: expected declaration specifiers or â before â
raid_io.c:97: error: expected declaration specifiers or â before â
raid_io.c:97: error: expected declaration specifiers or â before â
raid_io.c:98: error: expected declaration specifiers or â before â
raid_io.c:101: warning: return type defaults to â
raid_io.c: In function â:
raid_io.c:102: error: expected â, â, â, â or â before â token
raid_io.c:119: error: expected â, â, â, â or â before â token
raid_io.c:214: error: expected â, â, â, â or â before â token
raid_io.c:267: error: expected â, â, â, â or â before â token
raid_io.c:361: error: expected â, â, â, â or â before â token
raid_io.c:519: error: expected â, â, â, â or â before â token
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:98: error: parameter name omitted
raid_io.c:539: error: expected â at end of input
--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&D

Email :***@bull.net
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 http://www.bull.com
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
Andrea Righi
2007-12-19 13:38:25 UTC
Permalink
Post by Thierry Iceta
Hi
when I want to rebuild raidtools-1.00.3.tar.gz using Rhel5 environnment
from http://download.systemimager.org/pub/ used by systemimager 4.02
I got this error
Could you help me and tell me if raidtools-1.00.3.tar.gz is the right one
has to be used or if patch must be applied
raidtools are no more needed by SystemImager from 3.7.3. The raidtool
tarball is there only to build old releases of SystemImager... so I
suppose you didn't get this error building SystemImager 4.0.2... so why
are you trying to build it?

-Andrea
Thierry Iceta
2007-12-20 08:57:57 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
OK with your answer, raidtools is no necessary with systemimager 4.02<br>
But due to problem using RHel5 and systemimager 4.02<br>
I had seen in /systemimager-4.0.2/patches<br>
<br>
-rw-r--r-- 1 1000 1000&nbsp;&nbsp;&nbsp;&nbsp; 451 Mar 28&nbsp; 2003 raidtools.10chkactive.patch<br>
-rw-r--r-- 1 1000 1000&nbsp;&nbsp;&nbsp; 3077 Jul&nbsp; 1&nbsp; 2003 raidtools.20gcc3_3fix.patch<br>
<br>
I suppose that those patchs will not be used anymore because as you
have indicated<br>
raidtool is replaced by mdadm (mdadm-2.2.tgz)<br>
May be it's possible to clean raitools patch files<br>
<br>
In any case thanks for yours fast answer<br>
<br>
Thierry<br>
<br>
<br>
<br>
Andrea Righi wrote:
<blockquote cite="***@cineca.it" type="cite">
<pre wrap="">Thierry Iceta wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi

when I want to rebuild raidtools-1.00.3.tar.gz using Rhel5 environnment
from <a class="moz-txt-link-freetext" href="http://download.systemimager.org/pub/">http://download.systemimager.org/pub/</a> used by systemimager 4.02
I got this error

Could you help me and tell me if raidtools-1.00.3.tar.gz is the right one
has to be used or if patch must be applied
</pre>
</blockquote>
<pre wrap=""><!---->
raidtools are no more needed by SystemImager from 3.7.3. The raidtool
tarball is there only to build old releases of SystemImager... so I
suppose you didn't get this error building SystemImager 4.0.2... so why
are you trying to build it?

-Andrea

</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&amp;D

Email :***@bull.net
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 <a class="moz-txt-link-freetext" href="http://www.bull.com">http://www.bull.com</a>
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
</pre>
</body>
</html>
Andrea Righi
2007-12-20 09:27:12 UTC
Permalink
Post by Thierry Iceta
Hi
OK with your answer, raidtools is no necessary with systemimager 4.02
But due to problem using RHel5 and systemimager 4.02
Which kind of problem? (bugs reporting is always welcome)
Post by Thierry Iceta
I had seen in /systemimager-4.0.2/patches
-rw-r--r-- 1 1000 1000 451 Mar 28 2003 raidtools.10chkactive.patch
-rw-r--r-- 1 1000 1000 3077 Jul 1 2003 raidtools.20gcc3_3fix.patch
I suppose that those patchs will not be used anymore because as you have
indicated
raidtool is replaced by mdadm (mdadm-2.2.tgz)
May be it's possible to clean raitools patch files
Yes, those patches can be removed.

Thanks,
-Andrea
Thierry Iceta
2007-12-20 09:50:44 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I am working with <br>
Red Hat Enterprise Linux Server release 5.1 (Tikanga)<br>
Linux version 2.6.18-53.el5<br>
Hw&nbsp; arch&nbsp; arch=x86_64<br>
using systemimager.spec<br>
%define ver 4.0.2<br>
%define rel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>
%define packager Bernard Li <a class="moz-txt-link-rfc2396E" href="mailto:***@vanhpc.org">&lt;***@vanhpc.org&gt;</a><br>
<br>
And I got this error<br>
may be due to something wrond with architecture (<tt>-c
kexec/arch/i386/kexec-nbi.c)<br>
why i386 something to be added in rule file<br>
</tt>help will be appreciated Thanks <br>
Thierry<br>
<br>
<br>
<tt>gcc -g -O2 -Wall -g -fno-strict-aliasing&nbsp; -I./include
-I./util_lib/include -DVERSION='"20061214"' -DRELEASE_<br>
DATE='"14th December 2006"' -DPACKAGE='"kexec-tools-testing"'
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DP<br>
ACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH<br>
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=<br>
1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1 -Wall -g
-fno-strict-aliasing&nbsp;&nbsp; -Ikexec/arch/x86_64/in<br>
clude -o
/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i386/ke<br>
xec-nbi.o -c kexec/arch/i386/kexec-nbi.c<br>
kexec/arch/i386/kexec-beoboot-x86.c: In function 'beoboot_load':<br>
kexec/arch/i386/kexec-beoboot-x86.c:125: warning: pointer targets in
assignment differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 2 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 4 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 6 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-multiboot-x86.c: In function 'multiboot_x86_load':<br>
kexec/arch/i386/kexec-multiboot-x86.c:217: warning: pointer targets in
passing argument 3 of 'elf_rel_build_<br>
load' differ in signedness<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: 'PAGE_SIZE'
undeclared (first use in this function)<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: (Each undeclared
identifier is reported only once<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: for each function it
appears in.)<br>
make[1]: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i3<br>
86/kexec-multiboot-x86.o] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
make[1]: Leaving directory
`/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214'<br>
make: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/build/sbin/kexec<br>
] Error 2</tt><br>
<br>
<br>
Andrea Righi wrote:
<blockquote cite="***@cineca.it" type="cite">
<pre wrap="">Thierry Iceta wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi

OK with your answer, raidtools is no necessary with systemimager 4.02
But due to problem using RHel5 and systemimager 4.02
</pre>
</blockquote>
<pre wrap=""><!---->
Which kind of problem? (bugs reporting is always welcome)

</pre>
<blockquote type="cite">
<pre wrap="">I had seen in /systemimager-4.0.2/patches

-rw-r--r-- 1 1000 1000 451 Mar 28 2003 raidtools.10chkactive.patch
-rw-r--r-- 1 1000 1000 3077 Jul 1 2003 raidtools.20gcc3_3fix.patch

I suppose that those patchs will not be used anymore because as you have
indicated
raidtool is replaced by mdadm (mdadm-2.2.tgz)
May be it's possible to clean raitools patch files
</pre>
</blockquote>
<pre wrap=""><!---->
Yes, those patches can be removed.

Thanks,
-Andrea

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
<a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a>
_______________________________________________
sisuite-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sisuite-***@lists.sourceforge.net">sisuite-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/sisuite-devel">https://lists.sourceforge.net/lists/listinfo/sisuite-devel</a>

</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&amp;D

Email :***@bull.net
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 <a class="moz-txt-link-freetext" href="http://www.bull.com">http://www.bull.com</a>
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
</pre>
</body>
</html>
Thierry Iceta
2007-12-20 12:08:16 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
This problem could be solved using kexec-tools-testing-20070330.tar.bz2<br>
instead of kexec-tools-testing-20061214.tar.bz2 as requested in&nbsp;
systemimager ver 4.0.2<br>
<br>
Finaly systemimager-4.0.2 rpm production has succeded on RedHat 5.1<br>
<br>
packages<br>
-rw-r--r-- 1 root root&nbsp;&nbsp; 434276 Dec 20 13:03
systemimager-server-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 51567 Dec 20 13:03
systemimager-flamethrower-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 48614 Dec 20 13:03
systemimager-common-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 72602 Dec 20 13:03
systemimager-client-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root 18286111 Dec 20 13:03
systemimager-x86_64boot-standard-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root&nbsp; 8555421 Dec 20 13:03
systemimager-x86_64initrd_template-4.0.2-1.noarch.rpm<br>
-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 19662 Dec 20 13:03
systemimager-bittorrent-4.0.2-1.noarch.rpm<br>
<br>
May be I am a previous one using RedHat 5.1<br>
In any case production have been done <br>
<br>
Thierry<br>
<br>
Thierry Iceta wrote:
<blockquote cite="***@bull.net" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hi<br>
<br>
I am working with <br>
Red Hat Enterprise Linux Server release 5.1 (Tikanga)<br>
Linux version 2.6.18-53.el5<br>
Hw&nbsp; arch&nbsp; arch=x86_64<br>
using systemimager.spec<br>
%define ver 4.0.2<br>
%define rel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>
%define packager Bernard Li <a class="moz-txt-link-rfc2396E"
href="mailto:***@vanhpc.org">&lt;***@vanhpc.org&gt;</a><br>
<br>
And I got this error<br>
may be due to something wrond with architecture (<tt>-c
kexec/arch/i386/kexec-nbi.c)<br>
why i386 something to be added in rule file<br>
</tt>help will be appreciated Thanks <br>
Thierry<br>
<br>
<br>
<tt>gcc -g -O2 -Wall -g -fno-strict-aliasing&nbsp; -I./include
-I./util_lib/include -DVERSION='"20061214"' -DRELEASE_<br>
DATE='"14th December 2006"' -DPACKAGE='"kexec-tools-testing"'
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DP<br>
ACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH<br>
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=<br>
1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1 -Wall -g
-fno-strict-aliasing&nbsp;&nbsp; -Ikexec/arch/x86_64/in<br>
clude -o
/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i386/ke<br>
xec-nbi.o -c kexec/arch/i386/kexec-nbi.c<br>
kexec/arch/i386/kexec-beoboot-x86.c: In function 'beoboot_load':<br>
kexec/arch/i386/kexec-beoboot-x86.c:125: warning: pointer targets in
assignment differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 2 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 4 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 6 of 'do_bzImage_load'<br>
&nbsp;differ in signedness<br>
kexec/arch/i386/kexec-multiboot-x86.c: In function 'multiboot_x86_load':<br>
kexec/arch/i386/kexec-multiboot-x86.c:217: warning: pointer targets in
passing argument 3 of 'elf_rel_build_<br>
load' differ in signedness<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: 'PAGE_SIZE'
undeclared (first use in this function)<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: (Each undeclared
identifier is reported only once<br>
kexec/arch/i386/kexec-multiboot-x86.c:346: error: for each function it
appears in.)<br>
make[1]: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i3<br>
86/kexec-multiboot-x86.o] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
make[1]: Leaving directory
`/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214'<br>
make: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/build/sbin/kexec<br>
] Error 2</tt><br>
<br>
<br>
Andrea Righi wrote:
<blockquote cite="***@cineca.it" type="cite">
<pre wrap="">Thierry Iceta wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi

OK with your answer, raidtools is no necessary with systemimager 4.02
But due to problem using RHel5 and systemimager 4.02
</pre>
</blockquote>
<pre wrap=""><!---->
Which kind of problem? (bugs reporting is always welcome)

</pre>
<blockquote type="cite">
<pre wrap="">I had seen in /systemimager-4.0.2/patches

-rw-r--r-- 1 1000 1000 451 Mar 28 2003 raidtools.10chkactive.patch
-rw-r--r-- 1 1000 1000 3077 Jul 1 2003 raidtools.20gcc3_3fix.patch

I suppose that those patchs will not be used anymore because as you have
indicated
raidtool is replaced by mdadm (mdadm-2.2.tgz)
May be it's possible to clean raitools patch files
</pre>
</blockquote>
<pre wrap=""><!---->
Yes, those patches can be removed.

Thanks,
-Andrea

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
<a class="moz-txt-link-freetext"
href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a>
_______________________________________________
sisuite-devel mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:sisuite-***@lists.sourceforge.net">sisuite-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext"
href="https://lists.sourceforge.net/lists/listinfo/sisuite-devel">https://lists.sourceforge.net/lists/listinfo/sisuite-devel</a>

</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&amp;D

Email :***@bull.net
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 <a class="moz-txt-link-freetext"
href="http://www.bull.com">http://www.bull.com</a>
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
</pre>
<pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
<a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
sisuite-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sisuite-***@lists.sourceforge.net">sisuite-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/sisuite-devel">https://lists.sourceforge.net/lists/listinfo/sisuite-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&amp;D

Email :***@bull.net
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 <a class="moz-txt-link-freetext" href="http://www.bull.com">http://www.bull.com</a>
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
</pre>
</body>
</html>
Andrea Righi
2007-12-20 12:20:55 UTC
Permalink
Post by Thierry Iceta
Hi
This problem could be solved using kexec-tools-testing-20070330.tar.bz2
instead of kexec-tools-testing-20061214.tar.bz2 as requested in
systemimager ver 4.0.2
Finaly systemimager-4.0.2 rpm production has succeded on RedHat 5.1
Well.. just for curiosity, why did you re-build RPMs from source instead
of using the official RPMs? Even if the kexec build fails in RH5.1 this
doesn't mean the kexec binary included in the systemimager RPM doesn't
work.

Anyway, I'm happy to know that using a more recent version of kexec
resolve the compilation problem on RH5.1 and I'm really considering to
update the kexec version in the developers' trunk.

But we need more testing before applying it in the stable branch, also
because I wouldn't consider it a real bug... actually, it's hard to give
the support for all the distribution, we cannot guarantee also that it's
possible to cleanly build SystemImager from source in all the existing
distributions... ;-)

Thanks for sharing your solution,
-Andrea
Andrea Righi
2008-01-29 22:47:41 UTC
Permalink
Post by Thierry Iceta
Hi
I am working with
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Linux version 2.6.18-53.el5
Hw arch arch=x86_64
using systemimager.spec
%define ver 4.0.2
%define rel 1
And I got this error
may be due to something wrond with architecture (-c
kexec/arch/i386/kexec-nbi.c)
why i386 something to be added in rule file
help will be appreciated Thanks
Thierry
And does this happen also if you try to compile kexec standalone?
(http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-testing-20061214.tar.bz2)

-Andrea
Post by Thierry Iceta
gcc -g -O2 -Wall -g -fno-strict-aliasing -I./include
-I./util_lib/include -DVERSION='"20061214"' -DRELEASE_
DATE='"14th December 2006"' -DPACKAGE='"kexec-tools-testing"'
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DP
ACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=
1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1 -Wall -g
-fno-strict-aliasing -Ikexec/arch/x86_64/in
clude -o
/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i386/ke
xec-nbi.o -c kexec/arch/i386/kexec-nbi.c
kexec/arch/i386/kexec-beoboot-x86.c:125: warning: pointer targets in
assignment differ in signedness
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 2 of 'do_bzImage_load'
differ in signedness
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 4 of 'do_bzImage_load'
differ in signedness
kexec/arch/i386/kexec-beoboot-x86.c:136: warning: pointer targets in
passing argument 6 of 'do_bzImage_load'
differ in signedness
kexec/arch/i386/kexec-multiboot-x86.c:217: warning: pointer targets in
passing argument 3 of 'elf_rel_build_
load' differ in signedness
kexec/arch/i386/kexec-multiboot-x86.c:346: error: 'PAGE_SIZE' undeclared
(first use in this function)
kexec/arch/i386/kexec-multiboot-x86.c:346: error: (Each undeclared
identifier is reported only once
kexec/arch/i386/kexec-multiboot-x86.c:346: error: for each function it
appears in.)
make[1]: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/kexec/arch/i3
86/kexec-multiboot-x86.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214'
make: ***
[/usr/src/redhat/BUILD/systemimager-4.0.2/src/kexec-tools-testing-20061214/objdir/build/sbin/kexec
] Error 2
Loading...