-
Notifications
You must be signed in to change notification settings - Fork 372
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
fails to build in mixed mode #21
Comments
I fixed it manually in the mean time, but the build still fails later on. so now it fails with: |
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 Stéphane Le 27 oct. 2012 à 19:57, falkTX a écrit :
|
thanks, I've got jack2 to build now. $ jackd -d dummy |
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 :
|
Don't ask me, I'm just trying to build and use jack2. |
in case you need specs, this is Ubuntu 12.04 64bit (~6 month old distro). |
The normal ./waf is supposed to using the POSIX shared memory model.
Stéphane Le 28 oct. 2012 à 00:08, falkTX a écrit :
|
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 |
conf.write_config_header() defaults to remove=True, so conf.defines() is empty afterwards. Consequently, config.h is empty, too. Set remove to False, so calling it another time for 32_64 builds works. Closes: #21
Guys, please read the commit log above. It explains everything. |
latest git fals to build with --mixed.
final stage of build log:
[ 19/306] c: common/shm.c -> build/common/shm.c.1.o
18:13:49 runner ['/usr/bin/gcc', '-fPIC', '-fvisibility=hidden', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/linux', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/linux', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/posix', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/posix', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/common', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/common', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build/common/jack', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/common/jack', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a/build', '-I/home/falktx/Personal/FOSS/KXStudio/PPA/Main/LADI-jack2-486f16a', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../common/shm.c', '-c', '-o', 'common/shm.c.1.o']
../common/shm.c: In function ‘jack_resize_shm’:
../common/shm.c:670:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../common/shm.c: In function ‘jack_access_registry’:
../common/shm.c:1170:9: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c:1178:22: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c: In function ‘jack_create_registry’:
../common/shm.c:1202:9: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c:1210:22: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c: In function ‘jack_release_shm’:
../common/shm.c:1229:8: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c:1230:12: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c: In function ‘jack_shmalloc’:
../common/shm.c:1264:6: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
../common/shm.c: In function ‘jack_attach_shm’:
../common/shm.c:1280:9: error: ‘jack_shm_info_t’ has no member named ‘attached_at’
The text was updated successfully, but these errors were encountered: