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

Re: fakeroot fail compile



I had the same problem, and I reverted to the previous commit (4f9c384058aa846ac603572619770234ea916079). The latest commit fails to check for sys/capabilities.h.

If you only have the source code and not the .git directory, you can get it by doing

git clone https://alioth.debian.org/anonscm/git/fakeroot/fakeroot.git

and then

git reset --hard HEAD^1

to revert to the previous commit.

I don't know anything about ttylinux, but since I found a solution to your problem, I thought I'd post it here.

Regards,
Nils

On Monday, August 11, 2014 5:30:33 PM UTC+2, Ferdinando Malgrati wrote:
I all,

trying to compile crosslinux i encountered a compile error.

is anybody face it?
how can I resolve it?

Regards
Ferdinando Malgrati

make  all-recursive
Making all in scripts
make[4]: Nothing to be done for `all'.
Making all in doc
Making all in de
make[5]: Nothing to be done for `all'.
Making all in es
make[5]: Nothing to be done for `all'.
Making all in fr
make[5]: Nothing to be done for `all'.
Making all in sv
make[5]: Nothing to be done for `all'.
Making all in nl
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in test
make[4]: Nothing to be done for `all'.
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT libfakeroot.lo -MD -MP -MF .deps/libfakeroot.Tpo -c -o libfakeroot.lo libfakeroot.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -MT libfakeroot.lo -MD -MP -MF .deps/libfakeroot.Tpo -c libfakeroot.c  -fPIC -DPIC -o .libs/libfakeroot.o
In file included from libfakeroot.c:223:
wrapped.h:126: error: expected ')' before 'hdrp'
In file included from libfakeroot.c:224:
wraptmpf.h:378: error: expected ')' before 'hdrp'
In file included from libfakeroot.c:225:
wrapdef.h:126: error: expected ')' before 'hdrp'
In file included from libfakeroot.c:226:
wrapstruct.h:127: error: 'next_capset' undeclared here (not in a function)
libfakeroot.c:1565: error: expected ')' before 'hdrp'
libfakeroot.c: In function 'fts_read':
libfakeroot.c:1953: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type
communicate.h:209: note: expected 'struct stat64 *' but argument is of type 'struct stat *'
libfakeroot.c: In function 'fts_children':
libfakeroot.c:1976: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type
communicate.h:209: note: expected 'struct stat64 *' but argument is of type 'struct stat *'
make[4]: *** [libfakeroot.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2