make

  1. grahamperrin

    Solved make: sh: cc: not found

    make(1) does not work following a system update. Probably a stupid question, is this because my /etc/make.conf had WITHOUT_TOOLCHAIN=yes before I built world? <https://www.freebsd.org/status/report-2021-07-2021-09/#_current_compilation_time_analysis> root@mowa219-gjp4-8570p-freebsd:~ #...
  2. D

    Other Target variable assignment in make

    I'd like to do the following target variable assignment in make. It works in GNU Make but not in BSD Make. test: clean debug_compile debug_compile: ERLCFLAGS += -DTEST debug_compile: compile compile_test; Make reports "don't know how to make ERLCFLAGS". Any suggestions would be appreciated.
  3. sidetone

    Bastille jail: to build and test builds

    Install sysutils/bastille, net/gitup and x11-servers/xorg-nestserver on host through either ports or packages. Bastille jail in the example or instruction will be named "myjail". I'll use an alias IP and network card as an example. doas or sudo can be used from your host system, depending on...
  4. fel1x

    Solved Make: Need an operator in .if

    HUGO_ARGS?= --verbose --minify ASCIIDOCTOR_CMD= ${LOCALBASE}/bin/asciidoctor ASCIIDOCTORPDF_CMD= ${LOCALBASE}/bin/asciidoctor-pdf ROUGE_CMD= ${LOCALBASE}/bin/rougify .if !exists(${ASCIIDOCTOR_CMD}) || !exists(${ASCIIDOCTORPDF_CMD}) || !exists({ROUGE_CMD}) @echo "Please install asciidoctor...
  5. HoshiYamazaki

    Shell Binutils 2.36 compilation fails due to sed/sh error

    mv -f .deps/libz_a-uncompr.Tpo .deps/libz_a-uncompr.Po gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1...
  6. I

    "make buildworld" command to use multiple CPUs - possible?

    I notice that whenever I run make buildworld, it is using only a single CPU. Is it possible to make it use all the CPUs?
  7. hunter0one

    Solved Installing TDE - Ninja stuck running tests on tdepim

    I am installing the FreeBSD port of Trinity, but ninja is stuck on "[29/30] Running tests.." during the make process there. I ctrl + c'd and ran make install clean again, and this time its just "[0/1] Running tests..." so I opened htop, and it's running "ninja -C...
  8. neostanniy

    Solved Fatal error on "make clean" after compiling GNOME

    Hello everyone and I apologize for disturbing you, but I need your help. Yesterday I started to build gnome3 desktop from port tree on my freshly installed FreeBSD 13.0. That was an interesting activity, I have to admit. I had a whole bunch of errors during the process (about 10 or so) due to...
  9. neostanniy

    Solved Using gcc as a default compiler (FreeBSD 13.0) [SOLVED]

    Greetings everyone and sorry for bothering the community, but I got terribly messed up and I think I need your help very much. I have just installed FreeBSD for the first time willing to make it my default OS for music production and other working purposes, but unfortunately got confused with...
  10. alemoppo

    Solved Make driver in FreeBSD 13.0 - svn sources

    Hello! I'm new on FreeBSD, i'm trying to create the "skeleton" driver and run it. I just create the "skeleton.c" and the "Makefile". When i run "make" it appear: After google it, i found this thread: 49779. But i can't find the source of the 13.0 version, it doesn't seem to be here...
  11. D

    Solved Debugging Makefiles

    Hi everybody, I encounter difficulties to locate commands executed in their respective makefiles. I have tried for instance : $ make -d p I obtain something like this : ParseReadLine (121): 'CDIAGFLAGS+= -Wshadow' ParseReadLine (128): 'GNUSYSTEM_AUX_DIR?=${BSDSRCDIR}/share/gnu'...
  12. D

    Solved Issue with building the port in Jail

    Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue: ===> radeonkmsfw/verde_smc (install) install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko...
  13. T

    Compile FreeBSD for a Different Target

    Hello, I would like to compile part of the FreeBSD sources (compiling on FreeBSD) for a different target string, e.g. x86_64-pc-linux-gnu. Is there a way to specifiy make to compile for this architecture/target? Thank you for your consideration,
  14. E

    Solved Is MAKE_JOBS_NUMBER useful?

    I'm looking to use all cores when compiling ports. I notice some ports build with 8 jobs, which is ideal since I have 8 cores. Some seem to build only with one (gcc9). This is with default settings, not trying to override anything (yet). Does MAKE_JOBS_NUMBER default to the number of codes? Or...
  15. Incnis Mrsi

    How I built a module

    Hello. Due to non-standard operational requirements I attempted to modify a module, namely /usr/src/sys/net/if_stf.c (instead of trying more conventional workarounds). This has been a “FreeBSD 12.1-RELEASE r354233 GENERIC amd64” system without any prior attempts to build kernel, without changes...
  16. pcoppock1

    Compiling a Rust Kernel Module

    As part of an undergraduate project at the Georgia Institute of Technology I am attempting to compile a basic kernel module in Rust. I found this GitHub repository: https://github.com/johalun/echo, but the code is three years old, and I ran into an error I don't know how to fix. Since then...
  17. D

    make buildworld speed up possibilities

    Im new to freebsd and want/have to compile the system by myself. are there some tweaks or pro-tipps to speed up the whole process (besides the -j option)? what to do if the compilation fails? what will happen next if I cancel the process mid compilation? 'make' should begin from the point which...
  18. A

    Add C++ to Makefile

    I have 3rd party build Makefile for embedded application. The application "progress / results " is via the embedded hadrware ( I temporary do not have ) , not to "stadard" terminal / console. For software development / debugging I like to add ability to either do standard C "printf" or...
  19. Farhan Khan

    Append arguments to end of compile line - gcc fails where clang links

    Hi all, TLDR; Is there a way to have make append arguments at the end of the final build command or at least after the object files? I am trying to statically link against a library using the build process (pardon my terminological mistakes). In my Makefile, I am doing this: LDFLAGS+=...
  20. cederom

    12.0-RELEASE -> 13.0-CURRENT breaks make config

    Hello world :-) I have switched from 12.0-RELEASE to 13.0-CURRENT. Replaced kernel and base. Now I want to recompile all ports with poudriere.. 1. Make config on all ports shows some core dump thus defaulting all my configs. How can I fix that? How can I switch debug / verbose on 'make config'...
Top