Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] unshield-0.4 doesn't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
dragonos
Apprentice
Apprentice


Joined: 19 Nov 2003
Posts: 153

PostPosted: Tue Mar 29, 2005 11:38 am    Post subject: [SOLVED] unshield-0.4 doesn't compile Reply with quote

Hello,

I'm trying to compile synce. Therefore I need unshield, but that won't compile.


Here's the errormessage:

x86_64-pc-linux-gnu-gcc -shared .libs/bswap.o .libs/component.o .libs/directory.o .libs/file.o .libs/file_group.o .libs/helper.o .libs/libunshield.o .libs/log.o -Wl,--whole-archive md5/.libs/libmd5.a -Wl,--no-whole-archive -L/usr/lib -lz -march=athlon64 -march=athlon64 -Wl,-O1 -Wl,-soname -Wl,libunshield.so.0 -o .libs/libunshield.so.0.0.0
(cd .libs && rm -f libunshield.so.0 && ln -s libunshield.so.0.0.0 libunshield.so.0)
(cd .libs && rm -f libunshield.so && ln -s libunshield.so.0.0.0 libunshield.so)
rm -fr .libs/libunshield.lax
mkdir .libs/libunshield.lax
rm -fr .libs/libunshield.lax/libmd5.a
mkdir .libs/libunshield.lax/libmd5.a
(cd .libs/libunshield.lax/libmd5.a && x86_64-pc-linux-gnu-ar x /var/tmp/portage/unshield-0.4/work/unshield-0.4/lib/md5/.libs/libmd5.a)
x86_64-pc-linux-gnu-ar cru .libs/libunshield.a bswap.o component.o directory.o file.o file_group.o helper.o libunshield.o log.o .libs/libunshield.lax/libmd5.a/md5c.o
x86_64-pc-linux-gnu-ranlib .libs/libunshield.a
rm -fr .libs/libunshield.lax
creating libunshield.la
(cd .libs && rm -f libunshield.la && ln -s ../libunshield.la libunshield.la)
make[3]: Leaving directory `/var/tmp/portage/unshield-0.4/work/unshield-0.4/lib'
make[2]: Leaving directory `/var/tmp/portage/unshield-0.4/work/unshield-0.4/lib'
make[1]: Leaving directory `/var/tmp/portage/unshield-0.4/work/unshield-0.4/lib'
Making all in src
make[1]: Entering directory `/var/tmp/portage/unshield-0.4/work/unshield-0.4/src'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../lib -I/usr/include -g -ansi -Wall -Wsign-compare -Wno-long-long -Werror -I../lib -march=athlon64 -Os -pipe -MT unshield.o -MD -MP -MF ".deps/unshield.Tpo" -c -o unshield.o unshield.c; \
then mv -f ".deps/unshield.Tpo" ".deps/unshield.Po"; else rm -f ".deps/unshield.Tpo"; exit 1; fi
unshield.c: In function `list_files_helper':
unshield.c:384: warning: int format, different type arg (arg 2)
make[1]: *** [unshield.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/unshield-0.4/work/unshield-0.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-arch/unshield-0.4 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Does somebody know the failure and can help me to solve it?

Thanks.
dragonos


Last edited by dragonos on Tue Mar 29, 2005 3:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
dragonos
Apprentice
Apprentice


Joined: 19 Nov 2003
Posts: 153

PostPosted: Tue Mar 29, 2005 3:00 pm    Post subject: Reply with quote

You have to remove "-Werror" from the Makefiles.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum