http://unix.stackexchange.com/questions/177794/why-autoconf-h-is-not-copied-automatically-to-its-place

On Wed, Apr 27, 2016 at 2:41 AM, malkowki_belgium <[email protected]>
wrote:

>  Hi ,
>
> I am running :
> Linux beagle07 4.1.15 #2 SMP Tue Mar 22 16:57:57 CET 2016 armv7l GNU/Linux
> PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
> NAME="Debian GNU/Linux"
> VERSION_ID="8"
> VERSION="8 (jessie)"
> ID=debian
>
>
> I  am trying to install the GPIB-USB-HS Dongle from National Instrument on
> my BeagleBoardxM and I am having issue while launching a make from
> linux-gpib.4.0.2
> source file. the ./bootstrap and ./configure scrip worked well.
> What I did also is to dowload the linux headers :
> apt-get install linux-headers-4.1.15-armv7-x6
>
> and my kernel has a build symbolicc link pointing to the modules as:
> :~/kernel# ls -ail
> total 110432
> 136021 drwxr-xr-x  24 debian debian     4096 Apr 27 09:49 .
> 135756 drwx------   8 root   root       4096 Apr 22 12:44 ..
> 156792 drwxr-xr-x  32 debian debian     4096 Apr 22 12:30 arch
> 148699 drwxr-xr-x   3 debian debian     4096 Apr 26 17:51 block
> 197875 lrwxrwxrwx   1 root   root         34 Apr 27 09:49 build -> /lib/
> modules/4.1.15-armv7-x6/build
> 177196 -rw-r--r--   1 root   root     141295 Apr 26 14:32 .config
> 197962 -rw-r--r--   1 root   root     141295 Apr 26 14:31 .config.old
> 176143 -rw-r--r--   1 debian debian    18693 Apr 22 12:31 COPYING
> 176145 -rw-r--r--   1 debian debian    96960 Apr 22 12:31 CREDITS
> 146269 drwxr-xr-x   4 debian debian    20480 Apr 27 00:51 crypto
> 140369 drwxr-xr-x 109 debian debian    12288 Apr 22 12:29 Documentation
> 166542 drwxr-xr-x 123 debian debian     4096 Apr 26 22:26 drivers
> 175622 drwxr-xr-x  36 debian debian     4096 Apr 25 15:33 firmware
> 173730 drwxr-xr-x  76 debian debian    12288 Apr 27 01:24 fs
> 149119 -rw-r--r--   1 debian debian     1254 Apr 22 12:30 .gitignore
> 149120 drwxr-xr-x  30 debian debian     4096 Apr 22 12:30 include
> 173715 drwxr-xr-x   2 debian debian     4096 Apr 27 00:44 init
> 166527 drwxr-xr-x   2 debian debian     4096 Apr 26 17:34 ipc
> 175621 -rw-r--r--   1 debian debian     2163 Apr 22 12:31 Kbuild
> 173729 -rw-r--r--   1 debian debian      252 Apr 22 12:31 Kconfig
> 175808 drwxr-xr-x  16 debian debian    12288 Apr 26 15:15 kernel
> 148416 drwxr-xr-x  11 debian debian    20480 Apr 27 01:26 lib
>
> I use the same gcc as for compiling the kernel on target:
> cc (Debian 4.9.2-10) 4.9.2
> Copyright (C) 2014 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
> .
>
>
> but when running the make script under:
> /home/linux-gpib-4.0.2# make
> make  all-recursive
> make[1]: Entering directory '/home/linux-gpib-4.0.2'
> Making all in include
> make[2]: Entering directory '/home/linux-gpib-4.0.2/include'
> make  all-am
> make[3]: Entering directory '/home/linux-gpib-4.0.2/include'
> make[3]: Nothing to be done for 'all-am'.
> make[3]: Leaving directory '/home/linux-gpib-4.0.2/include'
> make[2]: Leaving directory '/home/linux-gpib-4.0.2/include'
> Making all in lib
> make[2]: Entering directory '/home/linux-gpib-4.0.2/lib'
> make  all-recursive
> make[3]: Entering directory '/home/linux-gpib-4.0.2/lib'
> Making all in .
> make[4]: Entering directory '/home/linux-gpib-4.0.2/lib'
> make[4]: Nothing to be done for 'all-am'.
> make[4]: Leaving directory '/home/linux-gpib-4.0.2/lib'
> Making all in gpib_config
> make[4]: Entering directory '/home/linux-gpib-4.0.2/lib/gpib_config'
> make[4]: Nothing to be done for 'all'.
> make[4]: Leaving directory '/home/linux-gpib-4.0.2/lib/gpib_config'
> make[3]: Leaving directory '/home/linux-gpib-4.0.2/lib'
> make[2]: Leaving directory '/home/linux-gpib-4.0.2/lib'
> Making all in examples
> make[2]: Entering directory '/home/linux-gpib-4.0.2/examples'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/linux-gpib-4.0.2/examples'
> Making all in test
> make[2]: Entering directory '/home/linux-gpib-4.0.2/test'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/linux-gpib-4.0.2/test'
> Making all in drivers
> make[2]: Entering directory '/home/linux-gpib-4.0.2/drivers'
> Making all in gpib/include
> make[3]: Entering directory '/home/linux-gpib-4.0.2/drivers/gpib/include'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/home/linux-gpib-4.0.2/drivers/gpib/include'
> make[3]: Entering directory '/home/linux-gpib-4.0.2/drivers'
> make -C /lib/modules/4.1.15/build/ V=1 modules\
>     CC="gcc -I/home/linux-gpib-4.0.2
> -I/home/linux-gpib-4.0.2/drivers/gpib/include
> -I/home/linux-gpib-4.0.2/include" \
>     CONFIG_GPIB_ISA="no" \
>     SUBDIRS="/home/linux-gpib-4.0.2/drivers/gpib"
> make[4]: Entering directory '/usr/src/linux-headers-4.1.15-armv7-x6'
> test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
>        \
> echo >&2;                            \
> echo >&2 "  ERROR: Kernel configuration is invalid.";        \
> echo >&2 "         include/generated/autoconf.h or
> include/config/auto.conf are missing.";\
> echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to
> fix it.";    \
> echo >&2 ;                            \
> /bin/false)
>
>
> I have copied also the .config file from the kernel source from my debian
> machine.
>
> Is anyone can help on this?
>
> Thanks in advance,
>
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/d134935d-a79a-4576-bcab-26591b24f6a4%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/d134935d-a79a-4576-bcab-26591b24f6a4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpU%2BmaGNuC4OQobmAbMHOi6%3DrONfawekEo93Ty8d03tLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to