Re: Problem compiling kernel

2011-11-07 Thread Peter Jeremy
On 2011-Nov-06 17:41:49 +0200, Alexander Yerenkow yeren...@gmail.com wrote:
And problem compiling kernel for amd64 arch.

I attached full log:

http://www.box.net/shared/juajg1o2lg1mxbht5x9b

It looks like you did a parallel - in which case the actual error is
buried somewhere in that output.  Please repeat without any '-j'
and post the last 50-100 lines of output.

-- 
Peter Jeremy


pgp3iXsvFHcL6.pgp
Description: PGP signature


Re: Problem compiling kernel

2011-11-07 Thread Garrett Cooper
On Nov 6, 2011, at 11:57 PM, Peter Jeremy wrote:

 On 2011-Nov-06 17:41:49 +0200, Alexander Yerenkow yeren...@gmail.com wrote:
 And problem compiling kernel for amd64 arch.
 
 I attached full log:
 
 http://www.box.net/shared/juajg1o2lg1mxbht5x9b
 
 It looks like you did a parallel - in which case the actual error is
 buried somewhere in that output.  Please repeat without any '-j'
 and post the last 50-100 lines of output.

ip_fw_nat.o: In function 
`del_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:123:
 undefined reference to `LibAliasRedirectDelete'
ip_fw_nat.o: In function `ipfw_nat_destroy':
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined reference 
to `LibAliasUninit'
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined reference 
to `LibAliasUninit'
ip_fw_nat.o: In function `ifaddr_change':
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:80: undefined reference 
to `LibAliasSetAddress'
ip_fw_nat.o: In function `ipfw_nat_del':
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:482: undefined reference 
to `LibAliasUninit'ip_fw_nat.o: In function 
`ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:437: 
undefined reference to 
`LibAliasSetMode'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:438: 
undefined reference to `LibAliasSetAddress'
ip_fw_nat.o: In function 
`add_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:193:
 undefined reference to 
`LibAliasAddServer'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:158: 
undefined reference to 
`LibAliasRedirectAddr'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:167:
 undefined reference to `LibAliasRedirectPort'
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:178: undefined reference 
to `LibAliasRedirectProto'ip_fw_nat.o: In function 
`ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:416: 
undefined reference to `LibAliasInit'ip_fw_nat.o: In function `ipfw_nat':
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:216: undefined reference 
to `m_megapullup'
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:295: undefined reference 
to `LibAliasOut'
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:276: undefined reference 
to `LibAliasOutTry'
/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:292: undefined reference 
to `LibAliasIn'

You need to compile with libalias support.
-Garrett___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Problem compiling kernel

2011-11-07 Thread Alexander Yerenkow
2011/11/7 Garrett Cooper yaneg...@gmail.com

 On Nov 6, 2011, at 11:57 PM, Peter Jeremy wrote:

  On 2011-Nov-06 17:41:49 +0200, Alexander Yerenkow yeren...@gmail.com
 wrote:
  And problem compiling kernel for amd64 arch.
 
  I attached full log:
 
  http://www.box.net/shared/juajg1o2lg1mxbht5x9b
 
  It looks like you did a parallel - in which case the actual error is
  buried somewhere in that output.  Please repeat without any '-j'
  and post the last 50-100 lines of output.

 ip_fw_nat.o: In function
 `del_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:123:
 undefined reference to `LibAliasRedirectDelete'
 ip_fw_nat.o: In function `ipfw_nat_destroy':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined
 reference to `LibAliasUninit'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined
 reference to `LibAliasUninit'
 ip_fw_nat.o: In function `ifaddr_change':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:80: undefined
 reference to `LibAliasSetAddress'
 ip_fw_nat.o: In function `ipfw_nat_del':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:482: undefined
 reference to `LibAliasUninit'ip_fw_nat.o: In function
 `ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:437:
 undefined reference to
 `LibAliasSetMode'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:438:
 undefined reference to `LibAliasSetAddress'
 ip_fw_nat.o: In function
 `add_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:193:
 undefined reference to
 `LibAliasAddServer'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:158:
 undefined reference to
 `LibAliasRedirectAddr'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:167:
 undefined reference to `LibAliasRedirectPort'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:178: undefined
 reference to `LibAliasRedirectProto'ip_fw_nat.o: In function
 `ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:416:
 undefined reference to `LibAliasInit'ip_fw_nat.o: In function `ipfw_nat':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:216: undefined
 reference to `m_megapullup'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:295: undefined
 reference to `LibAliasOut'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:276: undefined
 reference to `LibAliasOutTry'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:292: undefined
 reference to `LibAliasIn'

 You need to compile with libalias support.


Thanks, that does fix the problem.
Is there somewhere request for feature that config must check kernel config
for dependencies specified? Or maybe even auto-dependency :)
What I mean, someone working at kernel configuration/sanity check util at
all? Or mabye it's not requested feature?



-Garrett




-- 
Regards,
Alexander Yerenkow
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Problem compiling kernel

2011-11-07 Thread Garrett Cooper
On Mon, Nov 7, 2011 at 1:57 AM, Alexander Yerenkow yeren...@gmail.com wrote:


 2011/11/7 Garrett Cooper yaneg...@gmail.com

 On Nov 6, 2011, at 11:57 PM, Peter Jeremy wrote:

  On 2011-Nov-06 17:41:49 +0200, Alexander Yerenkow yeren...@gmail.com
  wrote:
  And problem compiling kernel for amd64 arch.
 
  I attached full log:
 
  http://www.box.net/shared/juajg1o2lg1mxbht5x9b
 
  It looks like you did a parallel - in which case the actual error is
  buried somewhere in that output.  Please repeat without any '-j'
  and post the last 50-100 lines of output.

 ip_fw_nat.o: In function
 `del_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:123:
 undefined reference to `LibAliasRedirectDelete'
 ip_fw_nat.o: In function `ipfw_nat_destroy':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined
 reference to `LibAliasUninit'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:615: undefined
 reference to `LibAliasUninit'
 ip_fw_nat.o: In function `ifaddr_change':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:80: undefined
 reference to `LibAliasSetAddress'
 ip_fw_nat.o: In function `ipfw_nat_del':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:482: undefined
 reference to `LibAliasUninit'ip_fw_nat.o: In function
 `ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:437:
 undefined reference to
 `LibAliasSetMode'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:438:
 undefined reference to `LibAliasSetAddress'
 ip_fw_nat.o: In function
 `add_redir_spool_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:193:
 undefined reference to
 `LibAliasAddServer'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:158:
 undefined reference to
 `LibAliasRedirectAddr'/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:167:
 undefined reference to `LibAliasRedirectPort'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:178: undefined
 reference to `LibAliasRedirectProto'ip_fw_nat.o: In function
 `ipfw_nat_cfg':/zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:416:
 undefined reference to `LibAliasInit'ip_fw_nat.o: In function `ipfw_nat':
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:216: undefined
 reference to `m_megapullup'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:295: undefined
 reference to `LibAliasOut'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:276: undefined
 reference to `LibAliasOutTry'
 /zpool0/testenv/sources/9/sys/netinet/ipfw/ip_fw_nat.c:292: undefined
 reference to `LibAliasIn'

 You need to compile with libalias support.

 Thanks, that does fix the problem.
 Is there somewhere request for feature that config must check kernel config
 for dependencies specified? Or maybe even auto-dependency :)
 What I mean, someone working at kernel configuration/sanity check util at
 all? Or mabye it's not requested feature?

Unfortunately our build system isn't really kind in this regard, and
typically the answer has been you should understand what's going into
your KERNCONF instead of having the build system automatically handle
it for you (or at least that was the song and dance I got on
questions@ 9 years ago when I first started using FreeBSD).

It would be nice if the ipfw authors actually generated a manpage that
listed the requirements ;)...

Also, FWIW:

./ip_fw_nat.c:MODULE_DEPEND(ipfw_nat, libalias, 1, 1, 1);

Cheers,
-Garrett
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Problem Compiling Kernel

2000-11-21 Thread Michael Brune

"Brune, Michael" wrote:

 I CVSup'ed the sources today, built and installed world and everything
 was fine. When I tried to compile the kernel, I recieve this error when
 I do the 'make depend'

 ./aicasm -nostdinc -I- -I. -I../../ -I../../../include
 -I../../contrib/dev/acpica/Subsystem/Include -I../../cam/scsi
 -I../../dev/aic7xxx -o aic7xxx_seq.h -r aic7xxx_reg.h
 ../../dev/aic7xxx/aic7xxx.seq

 ./aicasm: Stopped at file ../../dev/aic7xxx/aic7xxx.seq, line 81 -
 syntax error
 ./aicasm: Removing aic7xxx_seq.h due to error
 ./aicasm: Removing aic7xxx_reg.h due to error
 *** Error code 65

 I looked at the file aic7xxx.seq on line 81, but I did not see any
 errors.  This is on a Dell Latitude 600 PIII. Please let me know if
 anyone has a suggestion or needs more information.

 Thanks in advance!

 Corey

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

Please ignore this email. The problem wan mine...



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message