[sr-dev] Compile error in enum_mod.c

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Jun 19 16:26:59 CEST 2009


On Jun 18, 2009 at 01:24, Sa?l Ibarra <saghul at gmail.com> wrote:
> Hi,
> 
> I just did a git clone and tried to make SR deb packages, but I'm
> getting the following error:
> 
> ../../lib/kcore/../../atomic/atomic_unknown.h: At top level:
> ../../lib/kcore/../../atomic/atomic_unknown.h:60: error: expected ?=?,
> ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
> ../../lib/kcore/../../atomic/atomic_unknown.h:136: error: expected
> ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
> ../../lib/kcore/../../atomic/atomic_unknown.h: In function
> ?atomic_inc_int?:

It looks very strange, first of all atomic_unkown.h is included only for
unknown architecures (I suppose you use an x86, sun, ppc, arm or mips
machine) and even then you shouldn't get any errors.

Could you send me please the output of make  (a pasted gcc ... line will
be enough), the config.mak file and the output of:
uname -a
git rev-parse HEAD
git log -1 --pretty=oneline atomic/atomic_unknown.h
md5sum atomic/atomic_unknown.h


Andrei



More information about the sr-dev mailing list