View previous topic :: View next topic |
Author |
Message |
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Sun Dec 28, 2008 1:33 am Post subject: *** Multi application core requires Fusion Kernel Device |
|
|
Hi,
I am compiling vlc.
# emerge -a vlc
it give me following error messages,
Appreciate very much if anyone can advise.
==================================
checking linux/fusion.h presence... no
checking for linux/fusion.h... no
configure: error:
*** Multi application core requires Fusion Kernel Device (see README).
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/DirectFB-0.9.25.1/work/DirectFB-0.9.25.1/config.log
*
* ERROR: dev-libs/DirectFB-0.9.25.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2464: Called econf 'src_compile' 'src_compile' '--enable-static' '--enable-fbdev' '--enable-mmx' '--enable-sse' '--enable-libmpeg3' '--enable-jpeg' '--enable-png' '--enable-gif' '--enable-freetype' '--enable-multi' '--enable-debug' '--enable-sysfs' '--enable-zlib' '--enable-video4linux' '--enable-video4linux2' '--enable-sdl' '--with-gfxdrivers=i810,mach64,neomagic,radeon,savage,tdfx'
* ebuild.sh, line 519: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/DirectFB-0.9.25.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/DirectFB-0.9.25.1/temp/environment'.
*
* Messages for package dev-libs/DirectFB-0.9.25.1:
*
* ERROR: dev-libs/DirectFB-0.9.25.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2464: Called econf 'src_compile' 'src_compile' '--enable-static' '--enable-fbdev' '--enable-mmx' '--enable-sse' '--enable-libmpeg3' '--enable-jpeg' '--enable-png' '--enable-gif' '--enable-freetype' '--enable-multi' '--enable-debug' '--enable-sysfs' '--enable-zlib' '--enable-video4linux' '--enable-video4linux2' '--enable-sdl' '--with-gfxdrivers=i810,mach64,neomagic,radeon,savage,tdfx'
* ebuild.sh, line 519: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed |
|
Back to top |
|
|
Maliwik Apprentice
Joined: 14 Apr 2008 Posts: 252 Location: Wisconsin, U.S. of A.
|
Posted: Sun Dec 28, 2008 8:07 pm Post subject: |
|
|
Do you have fusion support compiled into the kernel? _________________
freelight wrote: | I have a severe case of procrastinitis. |
|
|
Back to top |
|
|
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Mon Dec 29, 2008 2:40 am Post subject: |
|
|
I don't know.
How to compile fusion support into kernel?
Thx |
|
Back to top |
|
|
Maliwik Apprentice
Joined: 14 Apr 2008 Posts: 252 Location: Wisconsin, U.S. of A.
|
|
Back to top |
|
|
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Mon Dec 29, 2008 4:17 am Post subject: |
|
|
I do not know how, I do not have /usr/src/linux/include/linux/fusion.h
I only have /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
but it is empty
sudo find /usr/src -iname fusion.h -type f -exec ls -l {} \;
-rw-r--r-- 1 root root 0 Dec 24 22:05 /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h |
|
Back to top |
|
|
Maliwik Apprentice
Joined: 14 Apr 2008 Posts: 252 Location: Wisconsin, U.S. of A.
|
Posted: Mon Dec 29, 2008 4:34 am Post subject: |
|
|
Try copying /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h to /usr/src/linux/include/linux/fusion.h _________________
freelight wrote: | I have a severe case of procrastinitis. |
|
|
Back to top |
|
|
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Tue Dec 30, 2008 3:10 am Post subject: |
|
|
Yeh,
I don't know why it is a zero size file
ls -l /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
-rw-r--r-- 1 root root 0 Dec 24 22:05 /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
Which package include this file? I may re-install it. |
|
Back to top |
|
|
Maliwik Apprentice
Joined: 14 Apr 2008 Posts: 252 Location: Wisconsin, U.S. of A.
|
Posted: Tue Dec 30, 2008 9:54 pm Post subject: |
|
|
surrey wrote: | Yeh,
I don't know why it is a zero size file
ls -l /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
-rw-r--r-- 1 root root 0 Dec 24 22:05 /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
Which package include this file? I may re-install it. |
I'm not entirely sure, I'll have to check when I get home from work (I've never used this before). Anyone else have any ideas? _________________
freelight wrote: | I have a severe case of procrastinitis. |
|
|
Back to top |
|
|
isilia Apprentice
Joined: 25 Feb 2008 Posts: 177
|
Posted: Tue Dec 30, 2008 11:09 pm Post subject: |
|
|
surrey wrote: | Yeh,
I don't know why it is a zero size file
ls -l /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
-rw-r--r-- 1 root root 0 Dec 24 22:05 /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
Which package include this file? I may re-install it. |
Try running equery b /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h to find out. |
|
Back to top |
|
|
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Wed Dec 31, 2008 5:47 am Post subject: |
|
|
The output is following,
# equery b /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h
[ Searching for file(s) /usr/src/linux-2.6.26-gentoo-r4/include/config/fusion.h in *... ] |
|
Back to top |
|
|
surrey n00b
Joined: 14 Dec 2008 Posts: 12
|
Posted: Thu Jan 01, 2009 1:42 am Post subject: |
|
|
Trying to emerge package linux-fusion in bid to solve the emerge vlc difficulty also get following error messages.
$ sudo emerge -a dev-libs/linux-fusion
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-libs/linux-fusion-8.0.2
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-libs/linux-fusion-8.0.2
* linux-fusion-8.0.2.tar.gz RMD160 SHA1 SHA256 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.27-gentoo-r7/build
* Found sources for kernel version:
* 2.6.27-gentoo-r7
>>> Unpacking source...
>>> Unpacking linux-fusion-8.0.2.tar.gz to /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2 ...
* Preparing fusion module
make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux SUBDIRS=/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion CONFIG_FUSION_DEVICE=m EXTRA_CFLAGS=-I/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/include modules
make: Entering directory `/usr/src/linux-2.6.27-gentoo-r7'
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/call.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/entries.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/fifo.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/fusiondev.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/fusionee.o
/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/fusiondev.c: In function 'register_devices':
/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/fusiondev.c:1101: warning: passing argument 5 of 'device_create' makes pointer from integer without a cast
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/list.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/property.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/reactor.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/ref.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/skirmish.o
CC [M] /var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.o
/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.c: In function 'fusion_shmpool_construct':
/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.c:118: error: implicit declaration of function 'PAGE_ALIGN'
make[1]: *** [/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.o] Error 1
make: *** [_module_/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion] Error 2
make: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7'
*
* ERROR: dev-libs/linux-fusion-8.0.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3188: Called linux-mod_src_compile
* environment, line 2458: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux SUBDIRS=/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion CONFIG_FUSION_DEVICE=m EXTRA_CFLAGS=-I/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/include modules
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/linux-fusion-8.0.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/linux-fusion-8.0.2/temp/environment'.
*
>>> Failed to emerge dev-libs/linux-fusion-8.0.2, Log file:
>>> '/var/tmp/portage/dev-libs/linux-fusion-8.0.2/temp/build.log'
* Messages for package dev-libs/linux-fusion-8.0.2:
*
* ERROR: dev-libs/linux-fusion-8.0.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3188: Called linux-mod_src_compile
* environment, line 2458: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux SUBDIRS=/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/drivers/char/fusion CONFIG_FUSION_DEVICE=m EXTRA_CFLAGS=-I/var/tmp/portage/dev-libs/linux-fusion-8.0.2/work/linux-fusion-8.0.2/linux/include modules
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/linux-fusion-8.0.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/linux-fusion-8.0.2/temp/environment'.
* |
|
Back to top |
|
|
pravinkumar.chavan n00b
Joined: 16 Apr 2012 Posts: 2 Location: mumbai
|
Posted: Mon Apr 16, 2012 7:56 am Post subject: |
|
|
*** Multi application core requires Fusion Kernel Device----- solve***
In order to enable the fusion you need to have the fusion.h file at proper place and the place is your GDB.
In my case I have compiled the linux-fusion-8.1.1 and copied the fusion.h file as follows....
cp /home/pravin/Downloads/linux-fusion-8.0.3/linux/include/linux/fusion.h /opt/mipsel-linux-gcc-sdk-3.4.4/cross/mipsel-linux/include/linux/
cp /home/pravin/Downloads/linux-fusion-8.1.1/linux/include/linux/fusion.h /opt/mipsel-linux-gcc-sdk-3.4.4/staging/mipsel-linux/include/linux/
Her I am crosscompiling for mips base platform so I am using GCC 3.4.4 which is installed in /opt on my host.
On ./configure you will get
checking linux/fusion.h usability... yes
checking linux/fusion.h presence... yes
checking for linux/fusion.h... yes
also
Misc options:
Multi Application Core yes
Fusion Kernel Device yes _________________ Pravinkumar Chavan
Software Engineer |
|
Back to top |
|
|
pravinkumar.chavan n00b
Joined: 16 Apr 2012 Posts: 2 Location: mumbai
|
Posted: Mon Apr 16, 2012 12:10 pm Post subject: |
|
|
pravinkumar.chavan wrote: | *** Multi application core requires Fusion Kernel Device----- solve***
In order to enable the fusion you need to have the fusion.h file at proper place and the place is your GDB.
In my case I have compiled the linux-fusion-8.1.1 and copied the fusion.h file as follows....
cp /home/pravin/Downloads/linux-fusion-8.1.1/linux/include/linux/fusion.h /opt/mipsel-linux-gcc-sdk-3.4.4/cross/mipsel-linux/include/linux/
cp /home/pravin/Downloads/linux-fusion-8.1.1/linux/include/linux/fusion.h /opt/mipsel-linux-gcc-sdk-3.4.4/staging/mipsel-linux/include/linux/
Her I am crosscompiling for mips base platform so I am using GCC 3.4.4 which is installed in /opt on my host.
On ./configure you will get
checking linux/fusion.h usability... yes
checking linux/fusion.h presence... yes
checking for linux/fusion.h... yes
also
Misc options:
Multi Application Core yes
Fusion Kernel Device yes |
_________________ Pravinkumar Chavan
Software Engineer |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5930
|
Posted: Mon Apr 16, 2012 1:09 pm Post subject: |
|
|
have to tried isolating the vlc compilation flag that requires it? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Apr 16, 2012 1:38 pm Post subject: |
|
|
Moved from Multimedia to Gentoo on Alternative Architectures.
Since this seems like a MIPS specific problem. |
|
Back to top |
|
|
|