1,101 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
45
views
How to conditionally add libraries intp pc.in file
I am trying to make a library which is composed of more components. For building and configuration, I use autotools and automake.
There are options for configure script like --enable-option-a, --...
0
votes
1
answer
16
views
Automake build order
I'm trying to create a Makefile.am that will first build a shared library and then build a test programme that either uses the just-built library or at least the single .o file from which the library ...
1
vote
2
answers
87
views
automake, build variants and dependencies
So what I want is to add a build variant for a library built from the same source, but with different compiler options.
Following automake documentation, I have something like this (distilled from a ...
0
votes
1
answer
24
views
Automake conditional ENABLE_GUI
I'm trying to set an --enable-gui switch for my program but it doesn't seem to work.
In configure.ac I have
AC_INIT([cwallet], [1.1], [[email protected]])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
...
-1
votes
1
answer
85
views
AutoMake conditional build multiple projects
I have two projects - SprocketEngine and TestHarness_DLL- within the /src/SprocketEngine and /src/TestHarness_DLL directories, respectively. I want to be able to select which one to build using ...
1
vote
1
answer
288
views
How to resolve a conflict between Debian 12 and Automake regarding the directory where compiled and packaged Python modules are installed?
First, some context.
The issue is related to the migration of a package from Ubuntu 16.04 to Debian 12. In the meantime, it was successfully (almost out of the box) installed and tested on Debian 10 ...
0
votes
1
answer
50
views
How to go in subdirs with a custom rule using automake and autotools
I'm trying to build a simple project to learn autotools and automake. I have a subdir called Atmega-lib which build a static library called libatmega328p.a. The probem I'm facing it that when I run ...
0
votes
1
answer
82
views
Make-Error "Missing separator" (presumably because the variables of the program are not defined correctly)
I am currently trying to build a program from a source code. I've already come a long way, but I'm failing with the message "Makefile:3360: ***Missing separator. Stop." The line is in the ...
0
votes
1
answer
81
views
Upload Autoconf tarball (distribution) to GitLab release
I have a project that uses Automake as the build system and it is hosted on GitLab. When I create a release, GitLab automatically adds a tarball (with git archive). Automake creates so called ...
0
votes
1
answer
67
views
Rationale for check-am depending on all-am? (automake)
When Automake generates a Makefile, check depends on all: check-am: all-am.
What is the reason for this?
My guess would be, that it is necessary for recursive builds, because it is not known, which ...
0
votes
1
answer
175
views
How to detect in autotools what libc uses Linux distributive: glibc, uclibc, musl, etc
There are different implementation of some (for example backtrace) function in code. This implementation differs depending on libc version. In my case it could be glibc (Debian) or musl libc (openwrt)....
0
votes
0
answers
142
views
Bin2c files won't generate on make
I'm trying to build SDL1.2 for the PS2DEV toolchain but the bin2c isn't generating the files I want from the Makefile. The files I'm trying to generate are freesd_irx.c sio2man_irx.c padman_irx.c ...
1
vote
0
answers
228
views
Using boost on MacOS with MacPorts
I'm trying to build some software on MacOS that uses boost (specifically boost_system). It all appears to configure and build ok, but when it goes to link it gives the error:
ld: library '...
1
vote
0
answers
186
views
Memset warning treated as error, based on its thrd argument [duplicate]
When built without AM_CXXFLAGS += -Wno-memset-elt-size on the AutoMake Makefile, i get this error:
error: ‘memset’ used with length equal to number of elements without multiplication by element size [-...
0
votes
1
answer
209
views
Automake - How to enable compiler warnings
I was instructed that the current Automake file disables some warnings, and we want full warnings in our build...
This is the relevant Automake lines.
AM_CXXFLAGS = -std=c++14
AM_CXXFLAGS += -Wno-...