[...]libtool:compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DLOCALE_DIR=\"/usr/share/locale\" -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -w -flto=auto -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -MT faac.lo -MD -MP -MF .deps/faac.Tpo -c faac.c -fPIC -DPIC -o .libs/faac.ofaac.c:45:3: error: unknown type name 'faacEncHandle'45 | faacEncHandle enc;| ^~~~~~~~~~~~~faac.c:In function 'delete_codec':faac.c:67:5: error: implicit declaration of function 'faacEncClose' [-Wimplicit-function-declaration]67 | faacEncClose(codec->enc);| ^~~~~~~~~~~~faac.c:In function 'encode_frame':faac.c:95:19: error: implicit declaration of function 'faacEncEncode'; did you mean 'faac_encoder_encode'? [-Wimplicit-function-declaration]95 | bytes_encoded=faacEncEncode(codec->enc,| ^~~~~~~~~~~~~| faac_encoder_encodefaac.c:In function 'encode':faac.c:211:3: error: unknown type name 'faacEncConfigurationPtr'211 | faacEncConfigurationPtr enc_config;| ^~~~~~~~~~~~~~~~~~~~~~~faac.c:227:18: error: implicit declaration of function 'faacEncOpen' [-Wimplicit-function-declaration]227 | codec->enc=faacEncOpen(track_map->samplerate,| ^~~~~~~~~~~faac.c:233:18: error: implicit declaration of function 'faacEncGetCurrentConfiguration' [-Wimplicit-function-declaration]233 | enc_config=faacEncGetCurrentConfiguration(codec->enc);| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~faac.c:234:15: error: invalid type argument of '->' (have 'int')234 | enc_config->inputFormat=FAAC_INPUT_FLOAT;| ^~faac.c:235:15: error: invalid type argument of '->' (have 'int')235 | enc_config->bitRate=(codec->bitrate * 1000) / track_map->channels;| ^~faac.c:236:15: error: invalid type argument of '->' (have 'int')236 | enc_config->quantqual=codec->quality;| ^~faac.c:237:15: error: invalid type argument of '->' (have 'int')237 | enc_config->outputFormat=0; /* Raw */| ^~faac.c:239:15: error: invalid type argument of '->' (have 'int')239 | enc_config->aacObjectType=LOW; /* LOW, LTP... */| ^~faac.c:239:33: error:'LOW'undeclared (first use in this function)239 | enc_config->aacObjectType=LOW; /* LOW, LTP... */| ^~~faac.c:239:33: note: each undeclared identifier is reported only once for each function it appears infaac.c:241:9: error: implicit declaration of function 'faacEncSetConfiguration' [-Wimplicit-function-declaration]241 | if(!faacEncSetConfiguration(codec->enc, enc_config))| ^~~~~~~~~~~~~~~~~~~~~~~faac.c:268:5: error: implicit declaration of function 'faacEncGetDecoderSpecificInfo' [-Wimplicit-function-declaration]268 | faacEncGetDecoderSpecificInfo(codec->enc, &decoderConfig,| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~faac.c:In function 'set_parameter':faac.c:346:28: error:'LOW'undeclared (first use in this function)346 | codec->object_type=LOW;| ^~~faac.c:348:28: error:'MAIN'undeclared (first use in this function)348 | codec->object_type=MAIN;| ^~~~faac.c:350:28: error:'SSR'undeclared (first use in this function)350 | codec->object_type=SSR;| ^~~faac.c:352:28: error:'LTP'undeclared (first use in this function)352 | codec->object_type=LTP;| ^~~make[3]:*** [Makefile:518: faac.lo] Error 1make[3]:Leaving directory '/var/cache/makepkg/build/libquicktime-git/src/git/plugins/faac'make[2]:*** [Makefile:465: all-recursive] Error 1make[2]:Leaving directory '/var/cache/makepkg/build/libquicktime-git/src/git/plugins'make[1]:*** [Makefile:553: all-recursive] Error 1make[1]:Leaving directory '/var/cache/makepkg/build/libquicktime-git/src/git'make:*** [Makefile:462: all] Error 2
Regards!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ahoj,
I try to build the latest version from git according to this recipe on Artix GNU/Linux (rolling release):
GCC version is 16.2.1,
faacversion is 2.1.Build fails with:
Regards!