Comments (7)
Just based on "Makefile:442: *** mixed implicit and normal rules. Stop.", I suspect that the make from CentOS 7 is new, and it does not like the Makefile from linux-2.6.28.9.
In order to fix it, we will need to separate rules in Makefile:442. Meanwhile, if you can get an old make or CentOS 6.X, that would help to avoid this issue.
from openbmc.
Same error occurs on CentOS 6.6
from openbmc.
These are the exact steps I did, starting with a clean CentOS install:
yum install gawk make wget tar bzip2 gzip python unzip perl patch diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath SDL-devel xterm wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.1/buildtools/poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.7.1.sh bash poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.7.1.sh adduser brak su brak cd ~ git clone -b daisy https://git.yoctoproject.org/git/poky cd poky git clone -b daisy https://github.com/openembedded/meta-openembedded.git git clone https://github.com/facebook/openbmc.git meta-openbmc cd ~/poky/; source /opt/poky/1.7.1/environment-setup-x86_64-pokysdk-linux; export TEMPLATECONF=meta-openbmc/meta-facebook/meta-wedge/conf; source oe-init-build-env bitbake wedge-image
from openbmc.
HI devicenull, I sent a pull request to fix this issue,here you go #5
from openbmc.
@devicenull Thx for the report. Please let us know if you still the issue after patch Lynn's diff.
@linlynn Thx for the patch.
from openbmc.
the pr is merged so let us know if it still has issues
from openbmc.
I also found a build issue for compiling the images for Yosemite:
| Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/stong/openbmc/poky/build/tmp/work-shared/yosemite/kernel-source/kernel/timeconst.pl line 373.
| /home/stong/openbmc/poky/build/tmp/work-shared/yosemite/kernel-source/kernel/Makefile:122: recipe for target 'kernel/timeconst.h' failed
| make[3]: *** [kernel/timeconst.h] Error 255
| /home/stong/openbmc/poky/build/tmp/work-shared/yosemite/kernel-source/Makefile:861: recipe for target 'kernel' failed
| make[2]: *** [kernel] Error 2
| Makefile:128: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:19: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/stong/openbmc/poky/build/tmp/work/yosemite-poky-linux-gnueabi/linux-aspeed/2.6.28.9-r2/temp/log.do_compile.22941)
This is due to perl 5.22 does not handle the statement, defined(@Val):
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at timeconst.pl line 373.
This can be fixed by modifying defined(@Val) as !@Val.
from openbmc.
Related Issues (20)
- The return value of 'sscanf()' should be checked
- Removal of `yocto_repos.sh` breaks `sync_yocto.sh` script HOT 3
- Fetcher failure HOT 1
- Support aspeed 2600 HOT 3
- no limitation for "%s" while calling fscanf()
- Yocto Build time improvements? HOT 1
- Docs on ast2600 boot procedure HOT 3
- License Missing
- AST2600 Support HOT 2
- Eth0 fix missing for meta-fbtp build on Portwell Neptune Board HOT 1
- Unable to set hostname through DHCP HOT 1
- Redfish supportive HOT 1
- GitHub Actions Experiments HOT 1
- Is there any support for ast2600 HOT 1
- Flashy will break on AST2600 HOT 6
- flashy: Golang status (Note to self) HOT 2
- Fboss and compute platform HOT 1
- openbmc-init-build-env error HOT 1
- flash image HOT 2
- Redfish: Https authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbmc.