How to compile Syslinux 6.x on Debian 11 - makefile

Trying to get syslinux 6.02 or 6.04-pre3 compiled on Debian 11 and getting the following error on both:
make[4]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios/com32/elflink/ldlinux'
make[3]: *** [/home/dev/projects/syslinux/syslinux-6.02/com32/Makefile:8: elflink/ldlinux] Error 2
make[3]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios/com32'
make[2]: *** [/home/dev/projects/syslinux/syslinux-6.02/Makefile:282: com32] Error 2
make[2]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02/bios'
make[1]: *** [/home/dev/projects/syslinux/syslinux-6.02/Makefile:254: bios] Error 2
make[1]: Leaving directory '/home/dev/projects/syslinux/syslinux-6.02'
make: *** [Makefile:101: all] Error 2
Also tried to compile both versions on Debian 10 with the same results. Per the readme, uuid-dev and nasm are both installed. Looks like dependency issue, but no idea what's missing. Any suggestions would be appreciated.

Related

Compile OpenVswitch in Odroid XU4 has error

I am doing OpenVswitch compile in Odroid XU4 with the kernel module.
I did execute the 'boot.sh' file and configure it with the Linux kernel module.
But When I make OpenVswitch, there is an error when building the datapath kernel module.
Here is the full log.
odroid#odroid:~/Downloads/openvswitch-2.15.4$ make
make all-recursive
make[1]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4'
Making all in datapath
make[2]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath'
Making all in linux
make[3]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux'
make -C /lib/modules/5.4.167+/build M=/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux modules
make[4]: Entering directory '/home/odroid/linux'
Building modules, stage 2.
MODPOST 6 modules
ERROR: "geneve_dev_create_fb" [/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux/vport-geneve.ko] undefined!
make[5]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make[4]: *** [Makefile:1650: modules] Error 2
make[4]: Leaving directory '/home/odroid/linux'
make[3]: *** [Makefile.main:71: default] Error 2
make[3]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux'
make[2]: *** [Makefile:579: all-recursive] Error 1
make[2]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath'
make[1]: *** [Makefile:5251: all-recursive] Error 1
make[1]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4'
make: *** [Makefile:2996: all] Error 2

Buiding GCC, Make failure

I am building gcc-5 and getting the following make problem
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/cdi/Local
/gcc-release/objdir/x86_64-unknown-linux-gnu
/32/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/cdi/Local/gcc-release
/objdir'
make: *** [all] Error 2
I investigated if there is a more descriptive make error at an earlier stage, however, I did not find anything.

trying to build rpm, receive ld error

I'm trying to install squid from source.
I issue the command make but it gets this error at the end:
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[3]: *** [basic_ncsa_auth] Error 1
make[3]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.4.6/helpers'
make: *** [all-recursive] Error 1
Any ideas how to solve this?
You do not have the OpenSSL development toolkit installed.
yum install openssl

Error "../../nsprpub: No such file or directory." when building Firefox on OS X

I followed a set of simple instructions on Mozilla website.
When I entered make -f client.mk build
I got the following error:
/usr/bin/make tier_nspr
tier_nspr: config/nspr
/usr/bin/make export_tier_nspr
export_tier_nspr
make[5]: Nothing to be done for `config/nspr/Makefile'.
/usr/bin/make -C config/nspr export
/usr/bin/make -C ../../nsprpub export SHARED_LIBRARY= IMPORT_LIBRARY= SHARED_LIB_PDB= XP_DEFINE=-DlibVersionPoint='libVersionPoint$(LIBRARY_NAME)'
make: *** ../../nsprpub: No such file or directory. Stop.
make[5]: *** [export] Error 2
make[4]: *** [export_tier_nspr] Error 2
make[3]: *** [tier_nspr] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2
It is the first time I tried to build Firefox. Any clue?
I encountered the same error while attempting to build the Android version of Firefox. Making a clean clone of the source tree and re-building solved the problem for me.

fatal error: ruby/config.h: No such file or directory

I am trying to install korundum on fedora 17. And during the $ make phase I got the following error:
In file included from /usr/include/ruby.h:32:0,
from Qt.cpp:49:
/usr/include/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
compilation terminated.
make[5]: *** [Qt.lo] Error 1
make[5]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/n/Downloads/korundum-3.5.5'
make: *** [all] Error 2
How can solve this problem? I'm loosing my mind.
The error message suggests that you need the ruby dev files installed, but do not have them.

Resources