Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Kernel compiling problems
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Redd Vinylene  
View profile  
 More options Feb 25 2011, 6:21 am
Newsgroups: mpc.lists.freebsd.questions, muc.lists.freebsd.questions
From: Redd Vinylene <reddvinyl...@gmail.com>
Date: Fri, 25 Feb 2011 12:21:54 +0100
Local: Fri, Feb 25 2011 6:21 am
Subject: Kernel compiling problems
Heya!

Anybody know what's wrong with this?

## make buildworld buildkernel KERNCONF=NINJA

cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror
/usr/src/sys/kern/sysv_msg.c
/usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to
incomplete type 'struct freebsd7_msgctl_args'
/usr/src/sys/kern/sysv_msg.c:163: error: 'freebsd7_msgctl' undeclared here
(not in a function)
/usr/src/sys/kern/sysv_msg.c:1463: error: initializer element is not
constant
/usr/src/sys/kern/sysv_msg.c:1463: error: (near initialization for
'msgcalls[0]')
cc1: warnings being treated as errors
/usr/src/sys/kern/sysv_msg.c:1507: warning: function declaration isn't a
prototype
/usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl':
/usr/src/sys/kern/sysv_msg.c:1516: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1516: error: request for member 'cmd' in
something not a structure or union
/usr/src/sys/kern/sysv_msg.c:1516: warning: comparison between pointer and
integer
/usr/src/sys/kern/sysv_msg.c:1517: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1517: error: request for member 'buf' in
something not a structure or union
/usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'msqid' in
something not a structure or union
/usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'cmd' in
something not a structure or union
/usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 2 of
'kern_msgctl' makes integer from pointer without a cast
/usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 3 of
'kern_msgctl' makes integer from pointer without a cast
/usr/src/sys/kern/sysv_msg.c:1535: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1535: error: request for member 'cmd' in
something not a structure or union
/usr/src/sys/kern/sysv_msg.c:1535: warning: comparison between pointer and
integer
/usr/src/sys/kern/sysv_msg.c:1548: error: dereferencing pointer to
incomplete type
/usr/src/sys/kern/sysv_msg.c:1548: error: request for member 'buf' in
something not a structure or union
*** Error code 1

Stop in /usr/obj/usr/src/sys/NINJA.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

## /usr/obj/usr/src/sys/NINJA

cpu I586_CPU

ident NINJA

options SCHED_ULE

options PREEMPTION

options FFS

options SOFTUPDATES

options UFS_ACL

options UFS_DIRHASH

options UFS_GJOURNAL

options MD_ROOT

options MSDOSFS

options CD9660

options PROCFS

options PSEUDOFS

options COMPAT_43

options COMPAT_FREEBSD4

options COMPAT_FREEBSD5

options COMPAT_FREEBSD6

options KTRACE

options SYSVSHM

options SYSVMSG

options SYSVSEM

options KBD_INSTALL_CDEV

options _KPOSIX_PRIORITY_SCHEDULING

device pci

device sio

device ata

device atadisk

device atapicd

options ATA_STATIC_ID

device fdc

device atkbdc

device atkbd

device psm

device vga

device splash

device sc

device sound

device ether

device miibus

device rl

device ep

device loop

device random

device tun

device pty

device md

options AUDIT

options INET

options INET6

device gif

device faith

device bpf

device pf

device pflog

device pfsync

options ALTQ

options ALTQ_CBQ

options ALTQ_RED

options ALTQ_RIO

options ALTQ_HFSC

options ALTQ_PRIQ

## uname -v

FreeBSD 7.0-STABLE #0: Thu Jul 24 18:57:08 CEST 2008

## /etc/cvsupfile

*default host=cvsup.no.FreeBSD.org

*default base=/var/db

*default prefix=/usr

*default release=cvs tag=RELENG_8

*default delete use-rel-suffix

src-all

doc-all tag=.

Many thanks!
_______________________________________________
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Rees  
View profile  
 More options Feb 25 2011, 8:23 am
Newsgroups: mpc.lists.freebsd.questions, muc.lists.freebsd.questions
From: Chris Rees <utis...@gmail.com>
Date: Fri, 25 Feb 2011 13:23:36 +0000
Local: Fri, Feb 25 2011 8:23 am
Subject: Re: Kernel compiling problems
On 25 February 2011 11:21, Redd Vinylene <reddvinyl...@gmail.com> wrote:

> Heya!

> Anybody know what's wrong with this?

> ## make buildworld buildkernel KERNCONF=NINJA

Have you successfully used NINJA to build a kernel before?

Chris
_______________________________________________
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Damien Fleuriot  
View profile  
 More options Feb 25 2011, 8:33 am
Newsgroups: mpc.lists.freebsd.questions, muc.lists.freebsd.questions
From: Damien Fleuriot <m...@my.gd>
Date: Fri, 25 Feb 2011 14:33:08 +0100
Local: Fri, Feb 25 2011 8:33 am
Subject: Re: Kernel compiling problems
Do not use a custom kern for your upgrade, build generic with pf and altq.

I'm not sure your CPU type is correct ?
I could be wrong, haven't used 32bits for a while.

Make clean, then build the world, then your kern.
Once you have generic working, make your custom kern

---
Fleuriot Damien

On 25 Feb 2011, at 12:21, Redd Vinylene <reddvinyl...@gmail.com> wrote:

_______________________________________________
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Demelier  
View profile  
 More options Mar 3 2011, 3:21 pm
Newsgroups: mpc.lists.freebsd.questions, muc.lists.freebsd.questions
From: David Demelier <demelier.da...@gmail.com>
Date: Thu, 03 Mar 2011 21:21:27 +0100
Local: Thurs, Mar 3 2011 3:21 pm
Subject: Re: Kernel compiling problems
On 25/02/2011 12:21, Redd Vinylene wrote:

I hope you're not running buildworld eachtime you try to compile the
kernel :p

--
David Demelier
_______________________________________________
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
b. f.  
View profile  
 More options Mar 3 2011, 4:03 pm
Newsgroups: mpc.lists.freebsd.questions, muc.lists.freebsd.questions
From: "b. f." <bf1...@googlemail.com>
Date: Thu, 3 Mar 2011 21:03:16 +0000
Local: Thurs, Mar 3 2011 4:03 pm
Subject: Re: Kernel compiling problems

>Heya!

>Anybody know what's wrong with this?

>## make buildworld buildkernel KERNCONF=NINJA

...

>/usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to
>incomplete type 'struct freebsd7_msgctl_args

This error message is suggestive. ;)

>options COMPAT_FREEBSD4

>options COMPAT_FREEBSD5

>options COMPAT_FREEBSD6

Upgrading from 7.x to 8.x, eh?  But I think you forgot to update parts
of your kernel config.  From
src/sys/conf/NOTES:

"Note that as a general rule, COMPAT_FREEBSD<n> depends on
COMPAT_FREEBSD<n+1>, COMPAT_FREEBSD<n+2>, etc."

... up until m-1, where m is the FreeBSD version you are building.  So
if you have COMPAT_FREEBSD[456], you need COMPAT_FREEBSD7 as well.
(When running 7.x, you didn't need it, of course.)

b.
_______________________________________________
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »