Coder Social home page Coder Social logo

Comments (7)

tfangit avatar tfangit commented on April 20, 2024

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.

devicenull avatar devicenull commented on April 20, 2024

Same error occurs on CentOS 6.6

from openbmc.

devicenull avatar devicenull commented on April 20, 2024

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.

linlynn avatar linlynn commented on April 20, 2024

HI devicenull, I sent a pull request to fix this issue,here you go #5

from openbmc.

tfangit avatar tfangit commented on April 20, 2024

@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.

linlynn avatar linlynn commented on April 20, 2024

the pr is merged so let us know if it still has issues

from openbmc.

siutong avatar siutong commented on April 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.