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

Build breaks with liblo: error: typedef redefinition with different types ('struct lo_server_ *' vs 'void *') #641

Closed
yurivict opened this issue Apr 8, 2024 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Apr 8, 2024

Version

23.10

Plugin type

Native / JACK

OS

FreeBSD

DAW / Host (if applicable)

No response

Description

Build failure:

In file included from CardinalCommon.cpp:71:
In file included from /usr/local/include/lo/lo.h:29:
/usr/local/include/lo/lo_types.h:85:28: error: typedef redefinition with different types ('struct lo_server_ *' vs 'void *')
typedef struct lo_server_ *lo_server;
                           ^
/wrkdirs/usr/ports/audio/cardinal/work/cardinal-23.10/src/CardinalCommon.hpp:90:15: note: previous definition is here
typedef void* lo_server;
              ^
In file included from CardinalCommon.cpp:71:
In file included from /usr/local/include/lo/lo.h:29:
/usr/local/include/lo/lo_types.h:92:35: error: typedef redefinition with different types ('struct lo_server_thread_ *' vs 'void *')
typedef struct lo_server_thread_ *lo_server_thread;
                                  ^
/wrkdirs/usr/ports/audio/cardinal/work/cardinal-23.10/src/CardinalCommon.hpp:91:15: note: previous definition is here
typedef void* lo_server_thread;
              ^
Compiling common.cpp
Compiling CardinalUI.cpp
2 errors generated.

log

Disabling liblo fixes the build.

liblo-0.32
FreeBSD 14.0

@yurivict yurivict changed the title error: typedef redefinition with different types ('struct lo_server_ *' vs 'void *') Build breaks with liblo: error: typedef redefinition with different types ('struct lo_server_ *' vs 'void *') Apr 8, 2024
@falkTX
Copy link
Contributor

falkTX commented Apr 13, 2024

This is fixed in 24.04

@falkTX falkTX closed this as completed Apr 13, 2024
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