Giter Site home page Giter Site logo

Build problem about cornrow HOT 8 CLOSED

mincequi avatar mincequi commented on May 24, 2024
Build problem

from cornrow.

Comments (8)

mincequi avatar mincequi commented on May 24, 2024

Hi, thanks for your feedback.
What‘s your build environment?
Are there more logs you can provide?

from cornrow.

macek-jm avatar macek-jm commented on May 24, 2024

Thanks for reply,
its Rpi
Linux musicbox 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux
Copyright (c) 2012 Broadcom
version a59fb7a74180be0111dbc5c18a37ec6df86f14a3 (clean) (release) (start_cd)
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

where to find logs,
dpkg.log ?

from cornrow.

mincequi avatar mincequi commented on May 24, 2024

Apparently, there had been issues with the Debian scripts. I did a quick fix. Please check again :)
Thanks a lot.

from cornrow.

macek-jm avatar macek-jm commented on May 24, 2024

today i tried one more time, but is the same

[ 82%] Built target KF5BluezQt
make[3]: Leaving directory '/home/pi/cornrow/obj-arm-linux-gnueabihf'
make[2]: *** [Makefile:133: all] Error 2
make[2]: Leaving directory '/home/pi/cornrow/obj-arm-linux-gnueabihf'
dh_auto_build: cd obj-arm-linux-gnueabihf && make -j4 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/pi/cornrow'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

from cornrow.

mincequi avatar mincequi commented on May 24, 2024

Could you follow the non-debian Installation steps?
Using cmake (not dpkg-buildpackage)?

from cornrow.

macek-jm avatar macek-jm commented on May 24, 2024

ok now we can see much more

[ 75%] Building CXX object cornrowd/CMakeFiles/cornrowd.dir/cornrowd_autogen/mocs_compilation.cpp.o
[ 76%] Linking CXX executable cornrowd
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libavcodec.so: undefined reference to `bcm_host_is_fkms_active'
collect2: error: ld returned 1 exit status
make[2]: *** [cornrowd/CMakeFiles/cornrowd.dir/build.make:129: cornrowd/cornrowd] Error 1
make[1]: *** [CMakeFiles/Makefile2:197: cornrowd/CMakeFiles/cornrowd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

from cornrow.

mincequi avatar mincequi commented on May 24, 2024

Thanks again for testing.

Your are using an old kernel version(4.19.50-v7), that does not match you libavcodec and/or raspi firmware installation. So, you will also get this error when using libavcodec in another application.
Consider upgrading your kernel to at least 4.19.73.

See also: raspberrypi/firmware#1319

Btw:
Why do you compile yourself? There are binary packages available for pi (arm).

from cornrow.

macek-jm avatar macek-jm commented on May 24, 2024

Yeah, now is ok. Was my oversight.

i compile by myself for self-progress ;)

thnx a lot.

from cornrow.

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.