tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compile kernel



Hi,
I've just do it :
----------------------------------------------------------------
-----------------------------------------------------------------------------
  % mkdir noyau
  % cd noyau
  % cvs -d anoncvs%anoncvs.netbsd.org@localhost:/cvsroot co -P src
  % cd src
  % cp sys/arch/i386/conf/GENERIC sys/arch/i386/conf/PHILO001
  % vi sys/arch/i386/conf/PHILO001
  [ find my device and uncomment/comment it
  % ./build.sh -u tools kernel=PHILO001
---------------------------------------------------------------------------------

Maybe missing a commands ?
it 's a first time to compile a netbsd's kernel !
Have you another version of script commands ?

Regards
Philippe


On 06/29/16 07:58, Paul Goyette wrote:
You need to provide more context for us - we don't have the complete command that was being executed.

Also, try adding the option -j1 to your build.sh line. It will take a little longer to build (one compile at a time instead of parallel builds), but it makes the output much easier to read.

On Wed, 29 Jun 2016, Philo wrote:

Hi,
I've Xeon with xfce4, i try to compile a kernel !
this is my procedure :
-----------------------------------------------------------------------------
  % mkdir noyau
  % cd noyau
  % cvs -d anoncvs%anoncvs.netbsd.org@localhost:/cvsroot co -P src
  % cd src
  % cp sys/arch/i386/conf/GENERIC sys/arch/i386/conf/PHILO001
  % vi sys/arch/i386/conf/PHILO001
  [ find my device and uncomment/comment it
  % ./build.sh -u tools kernel=PHILO001
------------------------------------------------------------------------------------

I have issue between the compilation !

this is my output :

************************************************************************* xternal/bsd/drm2/radeon -I/noyau/src/sys/external/bsd/drm2/dist/drm/nouveau -I/noyau/src/sys/external/bsd/drm2/dist/drm/nouveau/core -I/noyau/src/sys/external/bsd/drm2/dist/drm/nouveau/core/include -I/noyau/src/sys/external/bsd/drm2/nouveau -DCONFIG_NOUVEAU_DEBUG=5 -DCONFIG_NOUVEAU_DEBUG_DEFAULT=3 -I/noyau/src/sys/external/bsd/acpica/dist/include -c /noyau/src/sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c -o btc_dpm.o && echo /noyau/src/obj/tooldir.NetBSD-7.0-i386/bin/nbctfconvert -g -L VERSION btc_dpm.o && /noyau/src/obj/tooldir.NetBSD-7.0-i386/bin/nbctfconvert -g -L VERSION btc_dpm.o
*** Error code 1

Stop.
nbmake: stopped in /noyau/src/sys/arch/i386/compile/obj/PHILO001

ERROR: Failed to make all in "/noyau/src/sys/arch/i386/compile/obj/PHILO001"
*** BUILD ABORTED ***
dct-chanel#
*******************************************************************************************

Why the compilation crash ?

Regards
Philo


!DSPAM:57737cf1195963103717175!



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+



Home | Main Index | Thread Index | Old Index