Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 21:59:16 +0100 (MET)
From:      Olivier DAVY <olivier.davy@free.fr>
To:        Christopher Schulte <schulte+freebsd@nospam.schulte.org>
Cc:        freebsd-newbies@FreeBSD.org
Subject:   Re: HELP : kernel compiling
Message-ID:  <1011214756.3c45e9a4120c0@imp.free.fr>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Olivier DAVY
Engineer in CS
French Newby ;)

Hi !
As required, find enclosed three different errors that stopped the compilation of the GENERIC kernel of FreBSD4.4 on my computer, although it seemed that I have enough HD space and memory left, and that I followed the handbook.

If you can help me to understand where is my mistake, please answer me !

Yours faithfully,

Olive

Quoting Christopher Schulte <schulte+freebsd@nospam.schulte.org>:

> At 10:14 PM 1/15/2002 +0100, Olivier DAVY wrote:
> >I have got a terrible problem : I can not compile the GENERIC kernelof
> 
> >FreeBSD 4.4.
> >I followed the hand book procedure from A to Z to try to recompile the
> 
> >GENERIC kernel (before customizing it), but the compilation stop during
> 
> >the make,
> >after 2 minutes of compiling, exiting with the code -1.
> 
> Good day to you.
> 
> I suggest you post the exact compile errors **back to this mailing
> list** 
> so more people can give you better advice.
> 
> >Olive
> >BSD for ever now I tried it !
> >---------------------------------------
> >  Olivier DAVY
> >  ENSIMAG engineer - HEC Master
> >  E-mail : olivier.davy@free.fr
> >  tél : +33/(0)1.39.67.89.39
> >---------------------------------------
> 
> --chris
> 
> 



---------------------------------------
 Olivier DAVY
 ENSIMAG engineer - HEC Master
 E-mail : olivier.davy@free.fr
 tél : +33/(0)1.39.67.89.39
---------------------------------------
[-- Attachment #2 --]
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  setdef1.c
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh GENERIC
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
linking kernel
mly.o: In function `mly_attach':
mly.o(.text+0x135): undefined reference to `mly_cam_attach'
mly.o: In function `mly_process_event':
mly.o(.text+0xaec): undefined reference to `mly_name_device'
mly.o: In function `mly_startio':
mly.o(.text+0xd84): undefined reference to `mly_cam_comma
mly_pci.o: In function `mly_free':
mly_pci.o(.text+0x5dd): undefined reference to `mly_cam_detach'
*** Error code 1

Stop in /usr/src/sys/compile/GENERIC.
#


[-- Attachment #3 --]
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/in6_ck
sum.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/in6_gi
f.c
../../netinet6/in6_gif.c: In function `gif_encapcheck6':
../../netinet6/in6_gif.c:305: warning: cast discards qualifiers from pointer tar
get type
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/ip6_fo
rward.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcas-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/in6_if
attach.c
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/sys/compile/GENERIC.


[-- Attachment #4 --]
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/route6
.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/scope6
.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/udp6_o
utput.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet6/udp6_u
srreq.c
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
Stop in /usr/src/sys/compile/GENERIC.
# cpp0: output pipe has been closed


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1011214756.3c45e9a4120c0>