Comments (9)
I fixed it manually in the mean time, but the build still fails later on.
It was a bit hacky, has I just wanted to get jack2 to build.
My changes - http://kxstudio.sourceforge.net/Paste/repo/LAUJb
so now it fails with:
[177/306] cxxprogram: build/common/Jackdmp.cpp.1.o build/dbus/reserve.c.1.o build/dbus/audio_reserve.c.1.o -> build/linux/jackd
18:51:38 runner ['/usr/bin/g++', 'common/Jackdmp.cpp.1.o', 'dbus/reserve.c.1.o', 'dbus/audio_reserve.c.1.o', '-o', '/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/linux/jackd', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljackserver', '-lpthread', '-lcelt0', '-lrt', '-ldl', '-lm', '-lstdc++', '-ldbus-1', '-lpthread', '-lrt']
common/libjackserver.so: undefined reference to `jack_attach_shm_read'
from jack2.
It seems that you'e compiling with old shared memory model, and it seems the code was not updated recently. I guess jack_attach_shm_read has to be defined as a copy of jack_attach_shm with SHM_RDONLY like:
int
jack_attach_shm_read (jack_shm_info_t* si)
{
if ((si->ptr.attached_at = shmat (jack_shm_registry[si->index].id, 0, SHM_RDONLY)) < 0) {
jack_error ("Cannot attach shm segment (%s)",
strerror (errno));
jack_release_shm_info (si->index);
return -1;
}
return 0;
}
Stéphane
Le 27 oct. 2012 à 19:57, falkTX a écrit :
I fixed it manually in the mean time, but the build still fails later on.
It was a bit hacky, has I just wanted to get jack2 to build.
My changes - http://kxstudio.sourceforge.net/Paste/repo/LAUJbso now it fails with:
[177/306] cxxprogram: build/common/Jackdmp.cpp.1.o build/dbus/reserve.c.1.o build/dbus/audio_reserve.c.1.o -> build/linux/jackd
18:51:38 runner ['/usr/bin/g++', 'common/Jackdmp.cpp.1.o', 'dbus/reserve.c.1.o', 'dbus/audio_reserve.c.1.o', '-o', '/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/linux/jackd', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljackserver', '-lpthread', '-lcelt0', '-lrt', '-ldl', '-lm', '-lstdc++', '-ldbus-1', '-lpthread', '-lrt']
common/libjackserver.so: undefined reference to `jack_attach_shm_read'—
Reply to this email directly or view it on GitHub.
from jack2.
thanks, I've got jack2 to build now.
but it doesn't want to start;
$ jackd -d dummy
jackdmp 1.9.9.4
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
Cannot create shm segment /jack_shared0 (Invalid argument)
Cannot create shared memory segment of size = 82274202
JackShmMem::new bad alloc
jackctl_server_open error...
Failed to open server
from jack2.
Why are you using old System V shared memory model (and not POSIX one) ?
Stéphane
Le 27 oct. 2012 à 23:55, falkTX a écrit :
thanks, I've got jack2 to build now.
but it doesn't want to start;$ jackd -d dummy
jackdmp 1.9.9.4
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
Cannot create shm segment /jack_shared0 (Invalid argument)
Cannot create shared memory segment of size = 82274202
JackShmMem::new bad alloc
jackctl_server_open error...
Failed to open server—
Reply to this email directly or view it on GitHub.
from jack2.
Don't ask me, I'm just trying to build and use jack2.
Previous versions (1.9.8) worked just fine.
Is there a special dependency or ./waf configure flag I need for this?
from jack2.
in case you need specs, this is Ubuntu 12.04 64bit (~6 month old distro).
GCC at v4.6
from jack2.
The normal ./waf is supposed to using the POSIX shared memory model.
-
Can you log what ./waf configure says?
-
Hopefully someone of the jack-dev list can help
Stéphane
Le 28 oct. 2012 à 00:08, falkTX a écrit :
Don't ask me, I'm just trying to build and use jack2.
Previous versions (1.9.8) worked just fine.
Is there a special dependency or ./waf configure flag I need for this?—
Reply to this email directly or view it on GitHub.
from jack2.
waf output:
./waf configure --prefix=/usr --classic --libdir=/usr/lib/x86_64-linux-gnu --clients=256 --ports-per-application=2048 --alsa --dbus --firewire --mixed --libdir32=/usr/lib/i386-linux-gnu
Setting top to : /home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a
Setting out to : /home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Linux detected
Checking for header samplerate.h : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'alsa' >= 1.0.18 : yes
Checking for 'libfreebob' >= 1.0.0 : not found
Checking for 'libffado' >= 1.999.17 : yes
Checking for 'dbus-1' >= 1.0.0 : yes
Checking for 'dbus-1' : yes
Checking for header expat.h : yes
Checking for header samplerate.h : yes
Checking for header sndfile.h : yes
Checking for 'celt' >= 0.5.0 : yes
Checking for library readline : yes
Checking for 'celt' >= 0.11.0 : yes
Checking for 'opus' >= 0.9.0 : not found
Install prefix : /usr
Library directory : /usr/lib/i386-linux-gnu
Drivers directory : /usr/lib/x86_64-linux-gnu/jack
Build debuggable binaries : no
C compiler flags : ['-Wall']
C++ compiler flags : ['-Wall']
Linker flags : []
Build doxygen documentation : no
Build Opus netjack2 : no
Build with engine profiling : no
Build with 32/64 bits mixed mode : yes
Build standard JACK (jackd) : yes
Build D-Bus JACK (jackdbus) : yes
Build with ALSA support : yes
Build with FireWire (FreeBob) support : no
Build with FireWire (FFADO) support : yes
D-Bus service install directory : /usr/share/dbus-1/services
'configure' finished successfully (0.592s)
from jack2.
Guys, please read the commit log above. It explains everything.
from jack2.
Related Issues (20)
- JACK2 permanently borked upon updating with winget HOT 1
- Obtain realtime privileges using rtkit
- Human readable Jack MIDI device names HOT 11
- JACK Audio server lockup with FlexASIO/WDM-KS when loading certain plugins/applications
- JackLockedEngine.h: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc HOT 9
- JACK protocol mismatch (8 vs 9) when using a 32bit client and a 64bit server HOT 6
- Call to jack_deactivate() eventually doesn't return (Windows)
- Problem with JACK over network on Win10
- QjackCtl.app crashes on Darwin, depsite jack2 installed via pkgsrc
- Jack2 on Ventura (13.5) - no input signal HOT 9
- Jack2 not starting with Behringer UMC 204HD (U192k) via ALSA driver HOT 1
- `semget` is broken on non-macOS Darwin HOT 1
- jackd fails to work on Raspberry Pi & HiFiBerry DAC+ ADC Pro HOT 2
- Jackdbus wakes up every 200ms
- Crash on client creation/tear down
- Add support of internal sample rate to ALSA driver
- Could not load net manager, intclient = 0 status = 0x41
- Errors when recording from `type multi` ALSA PCM device
- Jack dbus requests device release, but does not wait for it to be released HOT 1
- Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jack2.