Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to get Virtualbox running on my Acer C7 with Ubuntu 13.04. I ran the script posted here but I am getting the following error after this point in the script.

# make-kpkg kernel_image kernel_headers

make[2]: Entering directory `/usr/src/kernel' SYSHDR
arch/x86/syscalls/../include/generated/asm/unistd_32.h SYSHDR 
arch/x86/syscalls/../include/generated/asm/unistd_64.h SYSHDR 
arch/x86/syscalls/../include/generated/asm/unistd_x32.h SYSTBL   
arch/x86/syscalls/../include/generated/asm/syscalls_32.h HOSTCC 
arch/x86/tools/relocs CHK include/linux/version.h UPD 
include/linux/version.h CHK include/generated/utsrelease.h UPD 
include/generated/utsrelease.h CC kernel/bounds.s cc1: error: unrecognized command line option '-fstack-protector-strong'


make[3]: * [kernel/bounds.s] Error 1 make[2]: [prepare0] Error 2 make[2]: 
Leaving directory /usr/src/kernel' make[1]: *** [debian/stamp/conf/kernel-conf] 
Error 2 make[1]: Leaving directory/usr/src/kernel' make: ** 
[debian/stamp/conf/minimal_debian] 
Error 2 Failed to create a ./debian directory: No such file or directory at /usr/bin/make-kpkg line 984.
share|improve this question
add comment

1 Answer

The -fstack-protector-strong flag is fairly new. You may have to upgrade gcc. Run the following commands as root. (See this question for more information.)

apt-get update
apt-get --only-upgrade install gcc
share|improve this answer
    
what about build-essential ? –  Rahul Patil Jul 4 '13 at 5:37
    
build-essential seems to provide a set of packages for building code. It's only important to upgrade gcc. –  Evan Teitelman Jul 4 '13 at 11:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.