Skip to content
Advertisement

Tag: automake

make using autotools gives undefined reference errors while custom Makefile works fine

I’m trying to convert the build mechanism of ccextractor (Open source closed caption extractor) from custom Makefile to Autotools generated Makefile. Current Makefile looks like this: Building through above Makefile works fine. My Makefile.am looks like this: If I run make after autoreconf -i on above file, build fails with error: If I run ./configure as ./configure LIBS=”-lm -lz” build

How to check the OS with automake

I have a project that uses automake to create the configure and all related files (I’m using autoreconf command to make all this stuff). So, I’m trying to set some conditional files to compile when the project is compiling for macOS (OS X), Windows or Linux. But it fails with the following: And the part containing the error in that

Advertisement