Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure on Ubuntu 22.04 #63

Open
dune73 opened this issue Mar 12, 2023 · 1 comment
Open

Compilation failure on Ubuntu 22.04 #63

dune73 opened this issue Mar 12, 2023 · 1 comment

Comments

@dune73
Copy link

dune73 commented Mar 12, 2023

Version: castget-rel_2_0_0

$ configure --prefix=/usr/local/castget
...
$ make
make  all-recursive
make[1]: Entering directory '/tmp/castget-rel_2_0_0'
Making all in tests
make[2]: Entering directory '/tmp/castget-rel_2_0_0/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/castget-rel_2_0_0/tests'
Making all in src
make[2]: Entering directory '/tmp/castget-rel_2_0_0/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/local/include   -g -O2 -MT castget.o -MD -MP -MF .deps/castget.Tpo -c -o castget.o castget.c
In file included from /usr/include/unicode/umachine.h:52,
                 from /usr/include/unicode/utypes.h:38,
                 from /usr/include/unicode/ucnv_err.h:88,
                 from /usr/include/unicode/ucnv.h:51,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:812,
                 from castget.c:32:
/usr/include/id3/globals.h:87:13: error: two or more data types in declaration specifiers
   87 | typedef int bool;
      |             ^~~~
make[2]: *** [Makefile:472: castget.o] Error 1
make[2]: Leaving directory '/tmp/castget-rel_2_0_0/src'
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory '/tmp/castget-rel_2_0_0'
make: *** [Makefile:400: all] Error 2

@blzbrg
Copy link
Contributor

blzbrg commented May 4, 2024

In case you are still stuck with this, I think that this is the same as #47, which was fixed by replacing id3 with taglib: 6ad0c9d. No releases have happened since, but master has the fix, so you should be able to check that out and build from there.

If for whatever reason you want to stay on 2.0.0, you could try passing --disable-id3lib when invoking configure. I have not tried this out, but in theory it should avoid this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants