[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen XCI Build fails with trousers-0.3.2-1


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: gollum1 <gollum@xxxxxx>
  • Date: Mon, 15 Mar 2010 04:47:54 -0700 (PDT)
  • Delivery-date: Mon, 29 Mar 2010 08:36:55 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.