5.3 STABLE to 5.4 buildkernel error

Meandor meandor at hitv.ru
Mon Jul 4 08:40:07 GMT 2005


В вт, 05/07/2005 в 02:59 +0700, misael пишет:
> Hello Gray,
> 
> Monday, July 4, 2005, 2:15:57 PM, you wrote:
> 
> GL> Could you post your kernel config at all?
> 
> GL> Looks to me like you've removed something you shouldn't have....
> 
> GL> -----Original Message-----
> GL> From: owner-freebsd-stable at freebsd.org [mailto:owner-freebsd-stable at freebsd.org] On Behalf Of misael
> GL> Sent: 04 July 2005 15:23
> GL> To: freebsd-stable at freebsd.org
> GL> Subject: 5.3 STABLE to 5.4 buildkernel error
> 
> GL> Hello freebsd-stable,
> 
> GL> i'm trying to update/upgrade my box from 5.3 STABLE to the latest version of 5 branch.
> GL> but when i'm doing make buildkernel i bumped in to some errors, here it is the error messages:
> 
> 
> >>>> stage 2.3: build tools
> GL> --------------------------------------------------------------
> GL> cd /usr/obj/usr/src/sys/GENERIC;  MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make -DNO_CPU_CFLAGS -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
> GL> Warning: Object directory not changed from original /usr/obj/usr/src/sys/GENERIC cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
> GL> cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symbol_delete':
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: warning: passing arg 2 of pointer to function from incompatible pointer type
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: error: too few arguments to function
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open':
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:135: warning: assignment makes pointer from integer without a cast
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_close':
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: structure has no member named `seq'
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: `R_FIRST' undeclared (first use in this function)
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: (Each undeclared identifier is reported only once
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: for each function it appears in.)
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:157: error: too few arguments to function
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_get':
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: warning: passing arg 2 of pointer to function from incompatible pointer type
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: error: too few arguments to function
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: warning: passing arg 2 of pointer to function from incompatible pointer type
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: error: too few arguments to function
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_dump':
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:486: error: `R_FIRST' undeclared (first use in this function)
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:487: error: structure has no member named `seq'
> GL> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:524: error: `R_NEXT' undeclared (first use in this function)
> GL> *** Error code 1
> 
> GL> i'm using GENERIC kernel for this and still error.
> 
> GL> for some information these are my cvsup file :
> 
> GL> *default host=cvsup12.FreeBSD.org
> GL> *default base=/usr
> GL> *default prefix=/usr
> GL> # The following line is for 4-stable.  If you want 3-stable or 2.2-stable, # change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
> GL> *default release=cvs tag=RELENG_5
> GL> *default delete use-rel-suffix
> 
> GL> and my current FreeBSD version:
> GL> [root at core src]# uname -v
> GL> FreeBSD 5.3-STABLE #7
> 
> GL> any helps, hints or clues are highly appreciated.
> 
> GL> TIA
> 
> 
> 
> 
> GL>  --
> 
> GL> Best regards,
> GL>  zen      mailto:zen at tk-pttuntex.com
> 
> GL> _______________________________________________
> GL> freebsd-stable at freebsd.org mailing list
> GL> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> GL> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 
> GL> --
> GL> No virus found in this incoming message.
> GL> Checked by AVG Anti-Virus.
> GL> Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005
>  
> 
> 
> attach you will find my kernel config.
> FYI i try to compile it with GENERIC one but still fails.
> 
> TIA
> 
> -- 
> Best regards,
> zen                             mailto:zen at tk-pttuntex.com
> _______________________________________________ freebsd-stable at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

> #device         scbus           # SCSI bus (required for SCSI)
> #device         ch              # SCSI media changers
> #device         da              # Direct Access (disks)
> ##device                sa              # Sequential Access (tape etc)
> #device         cd              # CD
> #device         pass            # Passthrough device (direct SCSI
> access)
> #device         ses             # SCSI Environmental Services (and
> SAF-TE)

Uncomment this:
device        scbus           # SCSI bus (required for SCSI)
and this:
device         cd              # CD

It's required by umass




More information about the freebsd-stable mailing list