|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Xen XCI Build fails with trousers-0.3.2-1
 
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |