Port-i386 archive

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

Re: compile kernel



Please read my instructions and provide the specific output that I requested.

PLEASE!  As I requested previously, add -j1 to your build.sh command:

    ./build.sh -j1 -u .....

When it fails, find the last line prior to the error message which begins with # character. Post _everything_ from the # to end-of-file.

It might also help if you post the differences in your kernel config file.

    diff -u GENERIC PHILO001

I can't help if you don't follow instructions.


On Wed, 29 Jun 2016, Philo wrote:

Hi,
this is the output :
***********************************************************
2/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/arch/x86/x86/x86_machdep.c -o x86_machdep.o
/noyau/src/sys/arch/x86/x86/x86_machdep.c: In function 'add_mem_cluster':
/noyau/src/sys/arch/x86/x86/x86_machdep.c:551:16: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
 if (seg_start >= MBTOB(PHYSMEM_MAX_ADDR))
               ^
cc1: all warnings being treated as errors
*** [x86_machdep.o] Error code 1

nbmake: stopped in /noyau/src/sys/arch/i386/compile/obj/PHILO001
1 error

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#
***********************************************************************************

Regards
Philippe


On 06/29/16 23:21, Paul Goyette wrote:
On Wed, 29 Jun 2016, Philo wrote:

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 ?

Where is your output? we cannot help if you don't show us the complete command that was being used, and the complete error message.

PLEASE!  As I requested previously, add -j1 to your build.sh command:

    ./build.sh -j1 -u .....

When it fails, find the last line prior to the error message which begins with # character. Post _everything_ from the # to end-of-file.

It might also help if you post the differences in your kernel config file.

    diff -u GENERIC PHILO001





+------------------+--------------------------+------------------------+
| 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 |
+------------------+--------------------------+------------------------+


!DSPAM:577458e364298231116269!



+------------------+--------------------------+------------------------+
| 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