Package Details: libaacplus 2.0.2-11

Git Clone URL: https://aur.archlinux.org/libaacplus.git (read-only)
Package Base: libaacplus
Description: 3GPP AAC+ High Efficiency Advanced Audio Codec v2 (HE-AAC+) Encoder Shared Library
Upstream URL: http://tipok.org.ua/node/17
Licenses: LGPL, 3GPP
Conflicts: aacplusenc
Provides: aacplusenc
Submitter: LookTJ
Maintainer: justin8 (LookTJ)
Last Packager: LookTJ
Votes: 51
Popularity: 0.404562
First Submitted: 2012-01-29 23:11
Last Updated: 2017-06-13 13:49

Dependencies (3)

Required by (7)

Sources (2)

Latest Comments

sl1pkn07 commented on 2017-06-13 13:39

please change the patch path ../.. to ${srcdir} variable

if not, fail to build because can't apply the patch

LookTJ commented on 2017-06-12 23:52

@claydonkey, thanks. compilation issue fixed.

claydonkey commented on 2017-06-12 07:48


First post here. So please be gentle...
To resolve the compilation error
[quote]
Build failed:
main.o: In function `main':
main.c:(.text+0xde): undefined reference to `AuChannelOpen'
collect2: error: ld returned 1 exit status
[/quote]
[code]
-inline void AuChannelClose (FILE *audioChannel)
+static inline void AuChannelClose (FILE *audioChannel)
{
fclose(audioChannel);
}

-inline size_t AuChannelReadShort(FILE *audioChannel, short *samples, int nSamples, int *readed)
+static inline size_t AuChannelReadShort(FILE *audioChannel, short *samples, int nSamples, int *readed)
{
*readed = fread(samples, 2, nSamples, audioChannel);
return *readed <= 0;
}

-inline size_t AuChannelReadFloat(FILE *audioChannel, float *samples, int nSamples, int *readed)
+static inline size_t AuChannelReadFloat(FILE *audioChannel, float *samples, int nSamples, int *readed)
{
*readed = fread(samples, 4, nSamples, audioChannel);
return *readed <= 1
[/code]

acl commented on 2015-10-28 19:54

Well, turns out, that manually resetting gcc as the default compiler after having CC set to clang, didn't work until a *reboot*... Thanks for looking into it.

Might be worth adding a note, that the lib won't build with clang.

justin8 commented on 2015-10-28 16:38

Interesting. If you resolve it, I'm happy to accept patches. But currently it works in a default build environment on a clean Arch install, as well as on all of my machines.

acl commented on 2015-10-28 15:21

Check this thread:
https://bugs.gentoo.org/show_bug.cgi?id=458932https://bugs.gentoo.org/show_bug.cgi?id=458932

Seems is an issue about compatibility, but I did test building with gcc and clang, normal ld and ld.gold, and disabling all custom CFLAGS and make options.
Same result, with any combination.

justin8 commented on 2015-10-28 15:09

Please check your build environment and that you're up to date. I just built a new package from a clean chroot with the latest packages with no issues.

acl commented on 2015-10-28 13:58

Build failed:
main.o: In function `main':
main.c:(.text+0xde): undefined reference to `AuChannelOpen'
collect2: error: ld returned 1 exit status

keepitsimpleengr commented on 2015-06-04 00:14

Build fail...
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-ljohnson/aur-libaacplus/src/libaacplus-2.0.2':
configure: error: C compiler cannot create executables
...and from config.log
gcc version 5.1.0 (GCC)
configure:3318: $? = 0
configure:3307: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files


LookTJ commented on 2014-09-28 04:39

LeetShiva, I changed the source path to the proper one, thanks for bringing this to my attention. :)

-Taylor

All comments