Fatal error stdint h no such file or directory

I'm trying to use Chibios. The example code they provide seems to need stdint.h file. The Makefile gives the following error: /usr/lib/gcc/arm-none-eabi/4.8/include/stdint.h:9:26: fatal error: st...

I’m trying to use Chibios. The example code they provide seems to need stdint.h file. The Makefile gives the following error:

/usr/lib/gcc/arm-none-eabi/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
 # include_next <stdint.h>
                          ^
compilation terminated.
../../os/ports/GCC/ARMCMx/rules.mk:182: recipe for target 'build/obj/crt0.o' failed
make: *** [build/obj/crt0.o] Error 1

I could find nothing useful in the web.

Lundin's user avatar

Lundin

187k39 gold badges247 silver badges384 bronze badges

asked May 31, 2014 at 19:28

ceremcem's user avatar

3

#include_next is used to let one file augment another one with the same name. In this case, it seems the «other one» is not available.

I got the same error trying to compile my code using the gcc-arm package in Linux Mint, gcc-arm-none-eabi. I got past this problem by installing libnewlib-arm-none-eabi: sudo apt-get install libnewlib-arm-none-eabi

Artjom B.'s user avatar

Artjom B.

60.7k24 gold badges126 silver badges222 bronze badges

answered Aug 13, 2015 at 21:14

Phil Hord's user avatar

Phil HordPhil Hord

12.6k1 gold badge27 silver badges30 bronze badges

2

try this:

apt-get install avr-libc

Hmm, my answer is not suit for ARM, just wish other avr users can get help when they meet the same question.

answered May 14, 2016 at 6:38

gzerone's user avatar

gzeronegzerone

2,14121 silver badges24 bronze badges

4

Probably you forgot to specify -ffreestanding option of gcc.

answered Dec 13, 2018 at 18:41

Sauron's user avatar

SauronSauron

3842 silver badges14 bronze badges

With valuable helps of gcc-arm-embedded team (here) I managed to compile Chibios demo program successfully. I downloaded gcc-arm-none-eabi-4_8-2014q1 from their launchpad site and it worked just fine.

answered Jun 5, 2014 at 12:20

ceremcem's user avatar

ceremcemceremcem

3,6404 gold badges26 silver badges62 bronze badges

1

Hello,

I’m trying to compile an example of nRF52_SDK_1 but I get this error:

make
Makefile:150: Cannot find include folder:  ../../../config/receiver_pca10040
Makefile:150: Cannot find include folder:  ../../../config
mkdir _build
Compiling file: nrf_log_backend_serial.c
In file included from ../../../../../../../components/libraries/util/sdk_errors.h:45:0,
                 from ../../../../../../../components/libraries/log/nrf_log_ctrl.h:26,
                 from ../../../../../../../components/libraries/log/nrf_log_backend.h:27,
                 from ../../../../../../../components/libraries/log/src/nrf_log_backend_serial.c:14:
/usr/lib/gcc/arm-none-eabi/6.1.0/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
 # include_next <stdint.h>
                          ^
compilation terminated.
../../../../../../../components/toolchain/gcc/Makefile.common:108: fallo en las instrucciones para el objetivo '_build/nrf52832_xxaa_nrf_log_backend_serial.c.o'
make: *** [_build/nrf52832_xxaa_nrf_log_backend_serial.c.o] Error 1

How I can fix it?

GCC -ver

COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.2.1/lto-wrapper
Objetivo: x86_64-redhat-linux
Configurado con: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Modelo de hilos: posix
gcc versión 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC) 

Makefile.posix

GNU_INSTALL_ROOT := /usr
GNU_VERSION := 6.2.1
GNU_PREFIX := arm-none-eabi

Makefile.common

# Copyright (c) 2016 Nordic Semiconductor. All Rights Reserved.
#
# The information contained herein is property of Nordic Semiconductor ASA.
# Terms and conditions of usage are described in detail in NORDIC
# SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
#
# Licensees are granted free, non-transferable use of the information. NO
# WARRANTY of ANY KIND is provided. This heading must NOT be removed from
# the file.

PLATFORM_SUFFIX := $(if $(filter Windows%,$(OS)),windows,posix)
TOOLCHAIN_CONFIG_FILE := $(TEMPLATE_PATH)/Makefile.$(PLATFORM_SUFFIX)
include $(TOOLCHAIN_CONFIG_FILE)

# Toolchain commands
CC      := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-gcc"
CXX     := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-c++"
AS      := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-as"
AR      := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-ar" -r
LD      := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-ld"
NM      := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-nm"
OBJDUMP := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-objdump"
OBJCOPY := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-objcopy"
SIZE    := "$(GNU_INSTALL_ROOT)/bin/$(GNU_PREFIX)-size"
$(if $(shell $(CC) --version),,$(info Cannot find: $(CC).) 
  $(info Please set values in: "$(abspath $(TOOLCHAIN_CONFIG_FILE))") 
  $(info according to the actual configuration of your system.) 
  $(error Cannot continue))

# Use ccache on linux if available
CCACHE := $(if $(filter Windows%,$(OS)),, 
               $(if $(wildcard /usr/bin/ccache),ccache))
CC     := $(CCACHE) $(CC)

MK := mkdir
RM := rm -rf

# echo suspend
ifeq ($(VERBOSE),1)
  NO_ECHO :=
else
  NO_ECHO := @
endif

# $1 type of item
# $2 path to check
define ensure_exists
$(if $(wildcard $(2)),, $(warning Cannot find $(1): $(2)))
endef

# $1 object file
# $2 source file
define bind_obj_with_src
$(eval $(1) := $(2))
endef

# $1 target name
# $2 list of source files
define get_object_files
$(foreach src_file, $(2), 
  $(call ensure_exists,source file, $(src_file)) 
  $(eval obj_file := 
    $(OUTPUT_DIRECTORY)/$(strip $(1))_$(notdir $(src_file)).o) 
  $(eval $(strip $(1))_dependencies += $(obj_file:.o=.d)) 
  $(call bind_obj_with_src, $(obj_file), $(src_file)) 
  $(eval $(obj_file): Makefile) 
  $(obj_file))
endef

# $1 target name
# $2 link target name
define prepare_build
$(eval $(2): 
  $(call get_object_files, $(1), $(SRC_FILES) $(SRC_FILES_$(strip $(1))))) 
$(eval INC_PATHS := 
  $(foreach folder, $(INC_FOLDERS) $(INC_FOLDERS_$(strip $(1))), 
    $(call ensure_exists,include folder, $(folder)) 
    -I"$(folder)"))
endef

# $1 target name
define define_target
$(eval OUTPUT_FILE := $(OUTPUT_DIRECTORY)/$(strip $(1))) 
$(eval $(1): $(OUTPUT_FILE).out $(OUTPUT_FILE).hex $(OUTPUT_FILE).bin) 
$(call prepare_build, $(1), $(OUTPUT_FILE).out)
endef

# $1 target name
# $2 library file name
define define_library
$(eval $(1) := $(2)) 
$(call prepare_build, $(1), $(1))
endef

.PHONY: $(TARGETS) default all clean help flash

all: $(TARGETS)

clean:
	$(RM) $(OUTPUT_DIRECTORY)

# Create build directories
$(OUTPUT_DIRECTORY):
	$(MK) [email protected]

# Create objects from C source files
$(OUTPUT_DIRECTORY)/%.c.o: | $(OUTPUT_DIRECTORY)
	@echo Compiling file: $(notdir $([email protected]))
	$(NO_ECHO)$(CC) -std=c99 $(CFLAGS) $(INC_PATHS) -c -o [email protected] "$([email protected])"

# Create objects from C++ source files
$(OUTPUT_DIRECTORY)/%.cpp.o: | $(OUTPUT_DIRECTORY)
	@echo Compiling file: $(notdir $([email protected]))
	$(NO_ECHO)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INC_PATHS) -c -o [email protected] "$([email protected])"

# Create objects from assembly files
$(OUTPUT_DIRECTORY)/%.S.o 
$(OUTPUT_DIRECTORY)/%.s.o: | $(OUTPUT_DIRECTORY)
	@echo Assembling file: $(notdir $([email protected]))
	$(NO_ECHO)$(CC) -std=c99 $(ASMFLAGS) $(INC_PATHS) -c -o [email protected] "$([email protected])"

# Link object files
%.out:
	@echo Linking target: [email protected]
	$(NO_ECHO)$(CC) -Wl,-Map=$(@:.out=.map) $(LDFLAGS) $^ $(LIB_FILES) -lm -o [email protected]
	[email protected] ''
	$(NO_ECHO)$(SIZE) [email protected]
	[email protected] ''

# Create binary .bin file from the .out file
%.bin: %.out
	@echo Preparing: [email protected]
	$(NO_ECHO)$(OBJCOPY) -O binary $< [email protected]

# Create binary .hex file from the .out file
%.hex: %.out
	@echo Preparing: [email protected]
	$(NO_ECHO)$(OBJCOPY) -O ihex $< [email protected]

Best regards

>> mex -v -I«C:UserstomografDocumentsASielecki_galvoC___class_interface» galvo_class_mex.cpp

***************************************************************************

Warning: Neither -compatibleArrayDims nor -largeArrayDims is selected.

Using -compatibleArrayDims. In the future, MATLAB will require

the use of -largeArrayDims and remove the -compatibleArrayDims

option. For more information, see:

http://www.mathworks.com/help/techdoc/matlab_external/bsflnue-1.html

****************************************************************************

-> Default options filename found in C:UserstomografAppDataRoamingMathWorksMATLABR2012b

—————————————————————-

-> Options file = C:UserstomografAppDataRoamingMathWorksMATLABR2012bmexopts.bat

MATLAB = C:Program FilesMATLABR2012b

-> COMPILER = cl

-> Compiler flags:

COMPFLAGS = -c -GR -W3 -EHs -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_SECURE_SCL=0 -DMATLAB_MEX_FILE -nologo /MD

OPTIMFLAGS = -O2 -Oy- -DNDEBUG

DEBUGFLAGS = /Z7

arguments = -IC:UserstomografDocumentsASielecki_galvoC___class_interface

Name switch = /Fo

-> Pre-linking commands =

-> LINKER = link

-> Link directives:

LINKFLAGS = /dll /export:mexFunction /LIBPATH:«C:Program FilesMATLABR2012bexternlibwin64microsoft» libmx.lib libmex.lib libmat.lib /MACHINE:AMD64 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /implib:«C:UserstomografAppDataLocalTempmex_awSe0otemplib.x» /MAP:«galvo_class_mex.mexw64.map» /nologo /incremental:NO

LINKDEBUGFLAGS = /DEBUG /PDB:«galvo_class_mex.mexw64.pdb»

LINKFLAGSPOST =

Name directive = /out:»galvo_class_mex.mexw64″

File link directive =

Lib. link directive =

Rsp file indicator = @

-> Resource Compiler = rc /fo «mexversion.res»

-> Resource Linker =

—————————————————————-

—> cl -IC:UserstomografDocumentsASielecki_galvoC___class_interface -c -GR -W3 -EHs -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_SECURE_SCL=0 -DMATLAB_MEX_FILE -nologo /MD /FoC:UserstomografAppDataLocalTempmex_awSe0ogalvo_class_mex.obj -I«C:Program FilesMATLABR2012bexterninclude» -I«C:Program FilesMATLABR2012bsimulinkinclude» -O2 -Oy- -DNDEBUG -DMX_COMPAT_32 galvo_class_mex.cpp

galvo_class_mex.cpp

galvo_class_mex.cpp(26) : warning C4244: ‘argument’ : conversion from ‘double’ to ‘float’, possible loss of data

galvo_class_mex.cpp(29) : warning C4244: ‘argument’ : conversion from ‘double’ to ‘float’, possible loss of data

Contents of C:UserstomografAppDataLocalTempmex_awSe0omex_tmp.rsp:

C:UserstomografAppDataLocalTempmex_awSe0ogalvo_class_mex.obj

—> link /out:«galvo_class_mex.mexw64» /dll /export:mexFunction /LIBPATH:«C:Program FilesMATLABR2012bexternlibwin64microsoft» libmx.lib libmex.lib libmat.lib /MACHINE:AMD64 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /implib:«C:UserstomografAppDataLocalTempmex_awSe0otemplib.x» /MAP:«galvo_class_mex.mexw64.map» /nologo /incremental:NO @C:UserstomografAppDataLocalTempmex_awSe0omex_tmp.rsp

Creating library C:UserstomografAppDataLocalTempmex_awSe0otemplib.x and object C:UserstomografAppDataLocalTempmex_awSe0otemplib.exp

galvo_class_mex.obj : error LNK2019: unresolved external symbol cbErrHandling referenced in function «public: __cdecl AOut::AOut(void)» (??0AOut@@QEAA@XZ)

galvo_class_mex.obj : error LNK2019: unresolved external symbol cbDeclareRevision referenced in function «public: __cdecl AOut::AOut(void)» (??0AOut@@QEAA@XZ)

galvo_class_mex.obj : error LNK2019: unresolved external symbol cbAOut referenced in function «public: void __cdecl AOut::wartosc(double *,double *)» (?wartosc@AOut@@QEAAXPEAN0@Z)

galvo_class_mex.obj : error LNK2019: unresolved external symbol cbFromEngUnits referenced in function «public: void __cdecl AOut::wartosc(double *,double *)» (?wartosc@AOut@@QEAAXPEAN0@Z)

galvo_class_mex.mexw64 : fatal error LNK1120: 4 unresolved externals

C:PROGRA~1MATLABR2012BBINMEX.PL: Error: Link of ‘galvo_class_mex.mexw64’ failed.

Error using mex (line 206)

Unable to complete successfully.

I don’t know why the middle of the output looks so strange, it looks diffrently in matlab, but maybe copy/paste did it.

  • Home
  • Forum
  • Qt
  • Installation and Deployment
  • fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or directory

  1. Default fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or directory

    Hi! After a lot of trouble of making Qt work together with Boost, I had realized that I can’t compile a boost application with MinGW, and that I can’t compile a Qt application from Visual Studio. At least directly from visual studio. Or can I? A way that I found and which worked was to open «Visual Studio 2008 Command Prompt», cd to the folder containing the source files, type «qmake -project», then just «qmake», and finally «nmake». Or is there any simpler way? I would rather just be able to write a batch file and invoke that by double clicking on it, but I don’t know how to make it run in the visual studio command prompt instead of the normal one.

    Anyway, in that way I could compile a Qt hello world program (which I could only find by googling on it, not on Qt’s web page!):

    1. #include <QApplication>

    2. #include <QPushButton>

    3. int main(int argc, char *argv[])

    4. {

    5. hello.resize(100, 30);

    6. hello.show();

    7. return app.exec();

    8. }

    To copy to clipboard, switch view to plain text mode 

    However, after just adding the row «#include <stdint.h>«, I got this error message:

    1. .hello_world.cpp(3) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory

    To copy to clipboard, switch view to plain text mode 

    Why can’t the compiler find stdint.h? Don’t nmake know that it’s supposed to look in «C:Program FilesMicrosoft Visual Studio 9.0VCinclude» (where stdint.h is located) after include files?

    Edit: I am using this program for a project in school and it’s very time critical, in fact it is already quite delayed! Please, does anyone know what this problem is caused by? Am I doing this in the right way or should I do it in some other way? I am using Qt 4.6. Thank you really much in advance!

    -Kristofer

    Last edited by TriKri; 8th May 2010 at 20:51.


  2. Default Re: fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or director

    Are you using the Qt plugin for Visual studio? If not, that’ll make your life a lot easier. Then you can just compile your Qt code directly inside the IDE using the VS compiler.


  3. Default Re: fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or director

    Thank you, I don’t really know what the Qt plugin does, although when I googled it, I found this youtube video which helped me compile Qt from the visual studio IDE.

    What I found out about stdint.h was that it is not shipped with vidual studio; that’s why the compiler didn’t find the file

    Also, if I decide to move over to compiling from the visual studio command prompt again, I will try adding «INCLUDEPATH += . /usr/local/include/boost-1_33_1/» to my .pro file. Then I will have to stop writing «qmake -project» every time I compile, since the only thing it does is to create a new .pro file and overwrite the already existing one.


  4. Default Re: fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or director

    Yes, when you use Visual Studio, the .pro file isn’t used any more. If you modify it, then you should re-import the pro file to a visual studio project file again. You don’t need to drop to a command prompt to do this, you can just do «Qt->Open .Pro».


  5. Default Re: fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or director

    Ok. I also saw that you could choose «Qt->Qt Options», and there you could add your qt version to a list, by specifying version name and path. I guess that when you do that, the plugin will automatically add the correct paths to the bin, include and lib folders to the visual studio options in «Tools->Options…->Projects and Solutions->VC++ Directories->», right?

    I thought it was pretty clever though what they did in the video example; instead of creating a normal console application, create a makefile application; that way you can specify which command lines that should be performed when building, rebuilding, and cleaning the project. In that way, the makefiles were recreated every time you built, so updating the pro file would lead to updated makefiles.


Similar Threads

  1. Replies: 2

    Last Post: 9th March 2010, 06:21

  2. Replies: 7

    Last Post: 18th September 2009, 15:44

  3. Replies: 10

    Last Post: 15th June 2009, 20:44

  4. Replies: 1

    Last Post: 27th March 2009, 07:22

  5. Replies: 4

    Last Post: 24th November 2007, 14:33

Bookmarks

Bookmarks


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules

Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

tchocolo

trying to install V4L on Mint16

Hi All, I am trying to get DVB-T recording working again on a media server I previously had working with mint 12 installed.
I have been so beguiled by mint16 that I decided to upgrade. Its been a relative breeze for most of the complex setup I had but I have hit a bit of a brickwall here.
Some of the steps installing V4L:

git clone —depth=1 git://linuxtv.org/media_build.git

cd media_build
./build

gave:
Checking if the needed tools for Linux Mint 16 Petra are available
ERROR: please install «Proc::ProcessTable», otherwise, build won’t work.
I don’t know distro Linux Mint 16 Petra. So, I can’t provide you a hint with the package names.
Build can’t procceed as 1 dependency is missing at ./build line 266.

-no problem install from:
http://community.linuxmint.com/software/view/libproc-processtable-perl

run ./build again fails at:

make[2]: Entering directory `/home/dan/media_build/v4l/firmware’
CC ihex2fw
In file included from ../../linux/firmware/ihex2fw.c:12:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
compilation terminated.

I would have thought stdint.h was fairly common and is probably included in several packages for compatability with various C code but I can not find a simple way to install just this dependancy.
-OTY ..help! :)

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

tt100

Re: trying to install V4L on Mint16

Post

by tt100 » Sun Mar 16, 2014 11:44 pm

I am also trying this and having problems. My first problem was exactly as the OP here. I added the proc::processtable-perl as suggested through the link in the OP and the build failed.

BTW, I am on Mint 16 and trying to install cmyth through XBMC…

Text as follows:

Code: Select all

pete@pBp-Lmint64 ~/media_build $ ./build
Checking if the needed tools for Linux Mint 16 Petra are available
Needed package dependencies are met.

************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest  *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* http://www.linuxtv.org/downloads/firmware/               *
* Please abort in the next 5 secs if you don't agree with  *
* the license                                              *
************************************************************

Not aborted. It means that the licence was agreed. Proceeding...

****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.
make: Entering directory `/home/pete/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2014-03-16 23:37:11--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93 [application/x-bzip2]
Saving to: ‘linux-media.tar.bz2.md5.tmp’

100%[======================================>] 93          --.-K/s   in 0s      

2014-03-16 23:37:11 (9.37 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [93/93]

cat: linux-media.tar.bz2.md5: No such file or directory
--2014-03-16 23:37:11--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4971187 (4.7M) [application/x-bzip2]
Saving to: ‘linux-media.tar.bz2’

100%[======================================>] 4,971,187   1.59MB/s   in 3.0s   

2014-03-16 23:37:15 (1.59 MB/s) - ‘linux-media.tar.bz2’ saved [4971187/4971187]

make: Leaving directory `/home/pete/media_build/linux'
make: Entering directory `/home/pete/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Leaving directory `/home/pete/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org.                *
**********************************************************
--2014-03-16 23:37:16--  http://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2
Resolving http://www.linuxtv.org (http://www.linuxtv.org)... 130.149.80.248
Connecting to http://www.linuxtv.org (http://www.linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 649441 (634K) [application/x-bzip2]
Saving to: ‘dvb-firmwares.tar.bz2’

100%[======================================>] 649,441      385KB/s   in 1.6s   

2014-03-16 23:37:18 (385 KB/s) - ‘dvb-firmwares.tar.bz2’ saved [649441/649441]

dvb-fe-bcm3510-01.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-xc5000-1.6.114.fw
dvb-ttpci-01.fw-261a
dvb-ttpci-01.fw-261b
dvb-ttpci-01.fw-261c
dvb-ttpci-01.fw-261d
dvb-ttpci-01.fw-261f
dvb-ttpci-01.fw-2622
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/pete/media_build/v4l allyesconfig
make[1]: Entering directory `/home/pete/media_build/v4l'
No version yet, using 3.11.0-12-generic
make[1]: Leaving directory `/home/pete/media_build/v4l'
make[1]: Entering directory `/home/pete/media_build/v4l'
make[2]: Entering directory `/home/pete/media_build/linux'
Applying patches for kernel 3.11.0-12-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v3.11_dev_groups.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory `/home/pete/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.11.0-12-generic/build /lib/modules/3.11.0-12-generic/build 1
Preparing to compile for kernel version 3.11.0

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
	 backported to run on legacy kernels from the development tree at:
		http://git.linuxtv.org/media-tree.git.
	 It is generally safe to use it for testing a new driver or
	 feature, but its usage on production environments is risky.
	 Don't use it in production. You've been warned.
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Leaving directory `/home/pete/media_build/v4l'
make -C /home/pete/media_build/v4l 
make[1]: Entering directory `/home/pete/media_build/v4l'
scripts/make_makefile.pl
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/pete/media_build/v4l'
make[1]: Entering directory `/home/pete/media_build/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.11.0-12-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/pete/media_build/v4l/firmware'
make[2]: Leaving directory `/home/pete/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/pete/media_build/v4l/firmware'
  CC  ihex2fw
In file included from ../../linux/firmware/ihex2fw.c:12:0:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
 # include_next <stdint.h>
                          ^
compilation terminated.
make[2]: *** [ihex2fw] Error 1
make[2]: Leaving directory `/home/pete/media_build/v4l/firmware'
make[1]: *** [firmware] Error 2
make[1]: Leaving directory `/home/pete/media_build/v4l'
make: *** [all] Error 2
build failed at ./build line 491

Any ideas on how I am screwing up? I’m a bit new to this so slow… Still searching for a fix.

Last edited by Pilosopong Tasyo on Mon Mar 17, 2014 4:23 am, edited 1 time in total.

Reason: Please enclose program code and terminal output in [code]…[/code] tags to preserve any formatting, improve readability, and to prevent unnecessary scrolling. Thanks.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Fatal error no sound devices available check your openal installation
  • Fatal error no input files qt как решить
  • Fatal error stddef h no such file or directory
  • Fatal error no hard drives found mikrotik
  • Fatal error stdatomic h no such file or directory

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии