Giorgos Keramidas wrote:
Aaron Sloan <[EMAIL PROTECTED]> writes:
I am having some problems after I rebuilt 5.4 from cvsup.
After I mergemastered I have a "make" problem.
This is the error I get when using make in /usr/src
slick# make
LC_ALL=C: Command not found.
"Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status
MAKEFLAGS=: Command not found.
"Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentium4 make
-f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status
"Makefile.inc1", line 118: CPUTYPE global should be set with ?=.
*** Error code 1
slick.adtu.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
I have done reading on this but I'm not getting anywhere with positive
results.
Someone has some direction for me to search?
The problem doesn't seem to be date-related but an error message that is
included in what you pasted:
CPUTYPE global should be set with ?=.
Does your /etc/make.conf file set CPUTYPE unconditionally with something
like this:
CPUTYPE=pentium4
?
Here is my make.conf file after I adjusted the cuptype to i686.
I have a P4.
CPUTYPE?=i686
MAKE_SHELL?=csh
CFLAGS= -O -pipe
PERL_VER=5.8.7
#PERL_VERSION=5.8.7
#>make
LC_ALL=C: Command not found.
"Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status
MAKEFLAGS=: Command not found.
"Makefile.inc1", line 116: warning: "MAKEFLAGS= CPUTYPE=pentiumpro make
-f /dev/null -m /usr/src/share/mk -V CPUTYPE" returned non-zero status
"Makefile.inc1", line 118: CPUTYPE global should be set with ?=.
*** Error code 1
Stop in /usr/src.
I'm a little confused...
Can someone give me a hint towards debugging the LC returned non-zero
status.
Troubleshooting:
I went into bios and reset the time to local time, CST. The clock was
on UTC and was off by an hour, I think ahead.
date>
Tue Dec 6 11:37:56 CST 2005
seems correct.
What other information can I give you that would be helpful?
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Wed Nov 23 22:26:28 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table:
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2430.01-MHz 686-class CPU)
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory = 536805376 (511 MB)
avail memory = 515612672 (491 MB)
npx0: INT 16 interface
acpi0: on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_throttle0: on cpu0
acpi_button0: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
pci1: at device 0.0 (no driver attached)
uhci0: port 0xd800-0xd81f
irq 16 at
device 29.0 on pci0
usb0: on uhci0
usb0: USB revision 1.0
device 29.1 on pci0
usb1: on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
device 29.2 on pci0
usb2: on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: at device 29.7 (no driver attached)
atapci0: port
0xb000-0xb00f,0xac00-0xac03,
0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem 0xee00-0xee003fff irq
18 at de
vice 2.0 on pci2
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
pcm0: port 0xb400-0xb41f irq 19 at device 6.0 on pci2
pcm0:
fxp0: port 0xbc00-0xbc3f mem
0xee0040
00-0xee004fff irq 20 at device 8.0 on pci2
miibus0: on fxp0
fxp0: Ethernet address: 00:e0:81:50:17:27
isab0: at device 31.0 on pci0
isa0: on isab0
atapci1: port
0xf000-0xf00f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
pci0: at device 31.3 (no driver attached)
acpi_tz0: on acpi0
fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: port 0x778-0x77b,0x378-0x37f irq
7 on acp
i0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: on ppc0
plip0: on ppbus0
ppi0: on ppbus0
atkbdc0: port 0x64,0x60 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
psm0: irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
orm0: at iomem 0xd-0xd87ff,0xc-0xccfff on isa0
pmtimer0 on isa0
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0
umass0: SanDisk ImageMate 8 in 1, rev 2.00/91.39, addr 2
Timecounter "TSC" frequency 2430009808 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 58644MB [119150/16/63] at ata0-master UDMA100
ata1-slave: FAI