From mboxrd@z Thu Jan 1 00:00:00 1970 From: gollum1 Subject: Re: Xen XCI Build fails with trousers-0.3.2-1 Date: Mon, 15 Mar 2010 04:47:54 -0700 (PDT) Message-ID: <27903221.post@talk.nabble.com> References: <27764652.post@talk.nabble.com> <27887567.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <27887567.post@talk.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Upps, sorry, i forgot, change the line 342 in ps_inspect.c from=20 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=20 gollum1 gollum1 wrote: >=20 > Hallo dharshana >=20 > i had exactly the same problem, I fixed it by takeing the newest trousers > 0.3.4 version. (change the .mk file) >=20 > 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. >=20 > So it works now ! >=20 >=20 >=20 > dharshana wrote: >>=20 >> Hi, >>=20 >> I'm trying to build xen xci through the source, and everything went so >> perfect until i got some troubles with trousers package. >>=20 >> include -Os -I/usr/src/build/build_i686/staging_dir/usr/include >> -I/usr/src/build/build_i686/staging_dir/include >> --sysroot=3D/usr/src/build/build_i686/staging_dir/ -isysroot >> /usr/src/build/build_i686/staging_dir -mtune=3Di686 -march=3Di686 >> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -ggdb= =20 >> -DBI_OPENSSL -I../include -W -Wall -Werror -Wno-unused-parameter >> -Wsign-compare =09-DTCSD_DEFAULT_PORT=3D30003 -DTSS_VER_MAJOR=3D0=20 >> -DTSS_VER_MINOR=3D3 -DTSS_SPEC_MAJOR=3D1 =09-DTSS_SPEC_MINOR=3D2 -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 =E2=80=98main=E2=80=99: >> ps_inspect.c:342: warning: format =E2=80=98%ld=E2=80=99 expects type =E2= =80=98long int=E2=80=99, but >> argument 3 has type =E2=80=98off_t=E2=80=99 >> 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] Erro= r >> 2 >>=20 >> Please help me with this...:-(( >>=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/Xen-XCI-Build-fails-wit= h-trousers-0.3.2-1-tp27764652p27903221.html Sent from the Xen - Dev mailing list archive at Nabble.com.