mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [SPARC64][PPC] strange error ..
@ 2004-03-15 13:41 Wojciech 'Sas' Cieciwa
  2004-03-15 18:41 ` Wojciech 'Sas' Cieciwa
  0 siblings, 1 reply; 11+ messages in thread
From: Wojciech 'Sas' Cieciwa @ 2004-03-15 13:41 UTC (permalink / raw)
  To: linux-kernel

I try to build 2.6.4 + cset-20040314_2208
on SPARC64 and got error:

[...]
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-sparc64
  HOSTCC  scripts/fixdep
  HOSTCC  scripts/split-include
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/docproc
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
make[2]: `scripts/fixdep' is up to date.
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  -fPIC scripts/kconfig/zconf.tab.o
  HOSTLLD -shared scripts/kconfig/libkconfig.so
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/sparc64/Kconfig
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_devfs.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
In file included from include/linux/unistd.h:9,
                 from init/do_mounts_initrd.c:2:
include/asm/unistd.h:446: syntax error before "unsigned"
include/asm/unistd.h:451: syntax error before "long"
make[1]: *** [init/do_mounts_initrd.o] Error 1
make: *** [init] Error 2

line 446 is:
asmlinkage unsigned long sys_mmap(
				unsigned long addr, unsigned long len,
				unsigned long prot, unsigned long flags,
				unsigned long fd, unsigned long off);

line 451:
asmlinkage long sys_rt_sigaction(int sig,
				const struct sigaction __user *act,
				struct sigaction __user *oact,
				void __user *restorer,
				size_t sigsetsize);


When I add to init/do_mounts_initrd.c 
#include <linux/linkage.h> before unistd.h 
All looks like OK.
This is bug, or I miss something?

Thanx.
					Sas.
-- 
{Wojciech 'Sas' Cieciwa}  {Member of PLD Team                               }
{e-mail: cieciwa@alpha.zarz.agh.edu.pl, http://www2.zarz.agh.edu.pl/~cieciwa}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-03-16 15:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 13:41 [SPARC64][PPC] strange error Wojciech 'Sas' Cieciwa
2004-03-15 18:41 ` Wojciech 'Sas' Cieciwa
2004-03-15 19:00   ` Tom Rini
2004-03-15 20:39     ` David S. Miller
2004-03-15 20:43       ` Tom Rini
2004-03-15 20:54         ` Randy.Dunlap
2004-03-15 21:08           ` Tom Rini
2004-03-15 21:14             ` Randy.Dunlap
2004-03-15 21:33         ` David S. Miller
2004-03-15 22:02       ` Colin Leroy
     [not found]         ` <Pine.LNX.4.58L.0403160928530.23289@alpha.zarz.agh.edu.pl>
2004-03-16 15:25           ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®