Skip to contentSkip to conversation

>=2.5.66 compiling errors on Alpha

DISCUSSION Christian 1 participant 1 message Apr 12, 2003

lore
Share & tools
lore

Christian

author
#0 lore raw

[...]

the same thing happens when compiling 2.5.67 with gcc 2.95.4.
i did "make mrproper", same .config again and the first "make vmlinux" failed again. the output of a second "make vmlinux" is shorter so i can post it here again:

------------

lila:/usr/src/linux-2.5.x# make vmlinux
make -f scripts/Makefile.build obj=scripts
  gcc -Wp,-MD,scripts/.modpost.o.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -c -o scripts/modpost.o scripts/modpost.c
  gcc  -o scripts/modpost scripts/modpost.o scripts/file2alias.o
make -f scripts/Makefile.build obj=arch/alpha/kernel arch/alpha/kernel/asm-offsets.s
make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
make -f scripts/Makefile.build obj=init
  CHK     include/linux/compile.h
make -f scripts/Makefile.build obj=usr
make -f scripts/Makefile.build obj=arch/alpha/kernel
make -f scripts/Makefile.build obj=arch/alpha/mm
make -f scripts/Makefile.build obj=arch/alpha/math-emu
make -f scripts/Makefile.build obj=kernel
  gcc -Wp,-MD,kernel/.sys.o.d -D__KERNEL__ -Iinclude -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sys -DKBUILD_MODNAME=sys -c -o kernel/sys.o kernel/sys.c
kernel/sys.c:226: conflicting types for `sys_sendmsg'
include/linux/socket.h:245: previous declaration of `sys_sendmsg'
kernel/sys.c:227: conflicting types for `sys_recvmsg'
include/linux/socket.h:246: previous declaration of `sys_recvmsg'
make[1]: *** [kernel/sys.o] Error 1
make: *** [kernel] Error 2
lila:/usr/src/linux-2.5.x# gcc --version
2.95.4
lila:/usr/src/linux-2.5.x#
------------

Thank you,
Christian.