* Xen XCI Build fails with trousers-0.3.2-1
@ 2010-03-03 6:25 dharshana
2010-03-13 13:34 ` gollum1
0 siblings, 1 reply; 5+ messages in thread
From: dharshana @ 2010-03-03 6:25 UTC (permalink / raw)
To: xen-devel
Hi,
I'm trying to build xen xci through the source, and everything went so
perfect until i got some troubles with trousers package.
include -Os -I/usr/src/build/build_i686/staging_dir/usr/include
-I/usr/src/build/build_i686/staging_dir/include
--sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
/usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
-DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter
-Wsign-compare -DTCSD_DEFAULT_PORT=30003 -DTSS_VER_MAJOR=0
-DTSS_VER_MINOR=3 -DTSS_SPEC_MAJOR=1 -DTSS_SPEC_MINOR=2 -MT
ps_inspect-ps_inspect.o -MD -MP -MF .deps/ps_inspect-ps_inspect.Tpo -c -o
ps_inspect-ps_inspect.o `test -f 'ps_inspect.c' || echo './'`ps_inspect.c
cc1: warnings being treated as errors
ps_inspect.c: In function ‘main’:
ps_inspect.c:342: warning: format ‘%ld’ expects type ‘long int’, but
argument 3 has type ‘off_t’
make[2]: *** [ps_inspect-ps_inspect.o] Error 1
make[2]: Leaving directory
`/usr/src/build/build_i686/trousers-0.3.2-1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/build/build_i686/trousers-0.3.2-1'
make: *** [/usr/src/build/build_i686/trousers-0.3.2-1/.stamp_built] Error 2
Please help me with this...:-((
--
View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-with-trousers-0.3.2-1-tp27764652p27764652.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Xen XCI Build fails with trousers-0.3.2-1
2010-03-03 6:25 Xen XCI Build fails with trousers-0.3.2-1 dharshana
@ 2010-03-13 13:34 ` gollum1
2010-03-15 11:47 ` gollum1
2010-03-16 7:13 ` dharshana
0 siblings, 2 replies; 5+ messages in thread
From: gollum1 @ 2010-03-13 13:34 UTC (permalink / raw)
To: xen-devel
Hallo dharshana
i had exactly the same problem, I fixed it by takeing the newest trousers
0.3.4 version. (change the .mk file)
But after i run the make process again i had a error with the patch
installation. But i think with the new version the patch is nomore needed.
So i created the hidden file .stamp_patched into the
/build/build_i686/trousers-0.3.4 Folder.
So it works now !
dharshana wrote:
>
> Hi,
>
> I'm trying to build xen xci through the source, and everything went so
> perfect until i got some troubles with trousers package.
>
> include -Os -I/usr/src/build/build_i686/staging_dir/usr/include
> -I/usr/src/build/build_i686/staging_dir/include
> --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
> /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
> -DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter
> -Wsign-compare -DTCSD_DEFAULT_PORT=30003 -DTSS_VER_MAJOR=0
> -DTSS_VER_MINOR=3 -DTSS_SPEC_MAJOR=1 -DTSS_SPEC_MINOR=2 -MT
> ps_inspect-ps_inspect.o -MD -MP -MF .deps/ps_inspect-ps_inspect.Tpo -c -o
> ps_inspect-ps_inspect.o `test -f 'ps_inspect.c' || echo './'`ps_inspect.c
> cc1: warnings being treated as errors
> ps_inspect.c: In function ‘main’:
> ps_inspect.c:342: warning: format ‘%ld’ expects type ‘long int’, but
> argument 3 has type ‘off_t’
> make[2]: *** [ps_inspect-ps_inspect.o] Error 1
> make[2]: Leaving directory
> `/usr/src/build/build_i686/trousers-0.3.2-1/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/build/build_i686/trousers-0.3.2-1'
> make: *** [/usr/src/build/build_i686/trousers-0.3.2-1/.stamp_built] Error
> 2
>
> Please help me with this...:-((
>
--
View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-with-trousers-0.3.2-1-tp27764652p27887567.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Xen XCI Build fails with trousers-0.3.2-1
2010-03-13 13:34 ` gollum1
@ 2010-03-15 11:47 ` gollum1
2010-03-16 7:18 ` dharshana
2010-03-16 7:13 ` dharshana
1 sibling, 1 reply; 5+ messages in thread
From: gollum1 @ 2010-03-15 11:47 UTC (permalink / raw)
To: xen-devel
Upps, sorry, i forgot,
change the line 342 in ps_inspect.c from
PRINT("filename: %s (%" OFF_T_PRINTF " bytes)\n", argv[1], file_size);
to
PRINT("filename: %s (%lld bytes)\n", argv[1], (long long) file_size);
regards
gollum1
gollum1 wrote:
>
> Hallo dharshana
>
> i had exactly the same problem, I fixed it by takeing the newest trousers
> 0.3.4 version. (change the .mk file)
>
> But after i run the make process again i had a error with the patch
> installation. But i think with the new version the patch is nomore needed.
> So i created the hidden file .stamp_patched into the
> /build/build_i686/trousers-0.3.4 Folder.
>
> So it works now !
>
>
>
> dharshana wrote:
>>
>> Hi,
>>
>> I'm trying to build xen xci through the source, and everything went so
>> perfect until i got some troubles with trousers package.
>>
>> include -Os -I/usr/src/build/build_i686/staging_dir/usr/include
>> -I/usr/src/build/build_i686/staging_dir/include
>> --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
>> /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
>> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
>> -DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter
>> -Wsign-compare -DTCSD_DEFAULT_PORT=30003 -DTSS_VER_MAJOR=0
>> -DTSS_VER_MINOR=3 -DTSS_SPEC_MAJOR=1 -DTSS_SPEC_MINOR=2 -MT
>> ps_inspect-ps_inspect.o -MD -MP -MF .deps/ps_inspect-ps_inspect.Tpo -c -o
>> ps_inspect-ps_inspect.o `test -f 'ps_inspect.c' || echo './'`ps_inspect.c
>> cc1: warnings being treated as errors
>> ps_inspect.c: In function ‘main’:
>> ps_inspect.c:342: warning: format ‘%ld’ expects type ‘long int’, but
>> argument 3 has type ‘off_t’
>> make[2]: *** [ps_inspect-ps_inspect.o] Error 1
>> make[2]: Leaving directory
>> `/usr/src/build/build_i686/trousers-0.3.2-1/tools'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/build/build_i686/trousers-0.3.2-1'
>> make: *** [/usr/src/build/build_i686/trousers-0.3.2-1/.stamp_built] Error
>> 2
>>
>> Please help me with this...:-((
>>
>
>
--
View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-with-trousers-0.3.2-1-tp27764652p27903221.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Xen XCI Build fails with trousers-0.3.2-1
2010-03-13 13:34 ` gollum1
2010-03-15 11:47 ` gollum1
@ 2010-03-16 7:13 ` dharshana
1 sibling, 0 replies; 5+ messages in thread
From: dharshana @ 2010-03-16 7:13 UTC (permalink / raw)
To: xen-devel
Hello gollum1,
Thank you so much for your reply. I tried what you have mentioned here, but
again the problem was there. Then i tried to use gcc3.4.1 (the latest one)
when i do the "make oldconfig" menu selection. But still the problem was
there, so i tried to atleast compile the trouser 0.3.4 alone and still it
failed. I think i'm missing some packages to compile trousers.
*** I have done this compilation inside a 32 bit debian guest running on top
of xen 3.4 since my dom 0 is a 64bit debian. (XCI cannot built on top of
64bit as they mention in their page, again i tried it but cant)
Have you done the make in a dedicated host ? what is the architecture( is it
a single core or a dual core)? and if you can please attach the out put of
$ dpkg -l > abc.txt since i do believe i am missing some packages here.
Thank you,
dharshana
gollum1 wrote:
>
> Hallo dharshana
>
> i had exactly the same problem, I fixed it by takeing the newest trousers
> 0.3.4 version. (change the .mk file)
>
> But after i run the make process again i had a error with the patch
> installation. But i think with the new version the patch is nomore needed.
> So i created the hidden file .stamp_patched into the
> /build/build_i686/trousers-0.3.4 Folder.
>
> So it works now !
>
>
>
> dharshana wrote:
>>
>> Hi,
>>
>> I'm trying to build xen xci through the source, and everything went so
>> perfect until i got some troubles with trousers package.
>>
>> include -Os -I/usr/src/build/build_i686/staging_dir/usr/include
>> -I/usr/src/build/build_i686/staging_dir/include
>> --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
>> /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
>> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
>> -DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter
>> -Wsign-compare -DTCSD_DEFAULT_PORT=30003 -DTSS_VER_MAJOR=0
>> -DTSS_VER_MINOR=3 -DTSS_SPEC_MAJOR=1 -DTSS_SPEC_MINOR=2 -MT
>> ps_inspect-ps_inspect.o -MD -MP -MF .deps/ps_inspect-ps_inspect.Tpo -c -o
>> ps_inspect-ps_inspect.o `test -f 'ps_inspect.c' || echo './'`ps_inspect.c
>> cc1: warnings being treated as errors
>> ps_inspect.c: In function ‘main’:
>> ps_inspect.c:342: warning: format ‘%ld’ expects type ‘long int’, but
>> argument 3 has type ‘off_t’
>> make[2]: *** [ps_inspect-ps_inspect.o] Error 1
>> make[2]: Leaving directory
>> `/usr/src/build/build_i686/trousers-0.3.2-1/tools'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/build/build_i686/trousers-0.3.2-1'
>> make: *** [/usr/src/build/build_i686/trousers-0.3.2-1/.stamp_built] Error
>> 2
>>
>> Please help me with this...:-((
>>
>
>
--
View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-with-trousers-0.3.2-1-tp27764652p27914169.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Xen XCI Build fails with trousers-0.3.2-1
2010-03-15 11:47 ` gollum1
@ 2010-03-16 7:18 ` dharshana
0 siblings, 0 replies; 5+ messages in thread
From: dharshana @ 2010-03-16 7:18 UTC (permalink / raw)
To: xen-devel
Okay i will try it, I'll post the status here.
Thank you
dharshana
gollum1 wrote:
>
> Upps, sorry, i forgot,
>
> change the line 342 in ps_inspect.c from
>
> PRINT("filename: %s (%" OFF_T_PRINTF " bytes)\n", argv[1], file_size);
>
> to
>
> PRINT("filename: %s (%lld bytes)\n", argv[1], (long long) file_size);
>
> regards
>
> gollum1
>
>
> gollum1 wrote:
>>
>> Hallo dharshana
>>
>> i had exactly the same problem, I fixed it by takeing the newest trousers
>> 0.3.4 version. (change the .mk file)
>>
>> But after i run the make process again i had a error with the patch
>> installation. But i think with the new version the patch is nomore
>> needed. So i created the hidden file .stamp_patched into the
>> /build/build_i686/trousers-0.3.4 Folder.
>>
>> So it works now !
>>
>>
>>
>> dharshana wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to build xen xci through the source, and everything went so
>>> perfect until i got some troubles with trousers package.
>>>
>>> include -Os -I/usr/src/build/build_i686/staging_dir/usr/include
>>> -I/usr/src/build/build_i686/staging_dir/include
>>> --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
>>> /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
>>> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
>>> -DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter
>>> -Wsign-compare -DTCSD_DEFAULT_PORT=30003 -DTSS_VER_MAJOR=0
>>> -DTSS_VER_MINOR=3 -DTSS_SPEC_MAJOR=1 -DTSS_SPEC_MINOR=2 -MT
>>> ps_inspect-ps_inspect.o -MD -MP -MF .deps/ps_inspect-ps_inspect.Tpo -c
>>> -o ps_inspect-ps_inspect.o `test -f 'ps_inspect.c' || echo
>>> './'`ps_inspect.c
>>> cc1: warnings being treated as errors
>>> ps_inspect.c: In function ‘main’:
>>> ps_inspect.c:342: warning: format ‘%ld’ expects type ‘long int’, but
>>> argument 3 has type ‘off_t’
>>> make[2]: *** [ps_inspect-ps_inspect.o] Error 1
>>> make[2]: Leaving directory
>>> `/usr/src/build/build_i686/trousers-0.3.2-1/tools'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/usr/src/build/build_i686/trousers-0.3.2-1'
>>> make: *** [/usr/src/build/build_i686/trousers-0.3.2-1/.stamp_built]
>>> Error 2
>>>
>>> Please help me with this...:-((
>>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-with-trousers-0.3.2-1-tp27764652p27914191.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-16 7:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 6:25 Xen XCI Build fails with trousers-0.3.2-1 dharshana
2010-03-13 13:34 ` gollum1
2010-03-15 11:47 ` gollum1
2010-03-16 7:18 ` dharshana
2010-03-16 7:13 ` dharshana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).