[pulseaudio-tickets] [PulseAudio] #647: PulseAudio vector-test.c fails to compile with Altivec enabled on FreeBSD
PulseAudio
trac-noreply at tango.0pointer.de
Mon Sep 7 08:33:07 PDT 2009
#647: PulseAudio vector-test.c fails to compile with Altivec enabled on FreeBSD
--------------------+-------------------------------------------------------
Reporter: chmeee | Owner: lennart
Type: defect | Status: new
Milestone: | Component: daemon
Keywords: |
--------------------+-------------------------------------------------------
When compiling PulseAudio on FreeBSD/ppc, I get the following errors when
compiling vector-test.c, which prevents the port from building:
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../src
-I../src -I../src/modules -I../src/modules -I../src/modules/rtp
-I../src/modules/rtp -I../src/modules/gconf -I../src/modules/gconf
-I../src/modules/bluetooth -I../src/modules/bluetooth
-I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop
-D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include
-I/usr/local/include -I/usr/local/include
-DPA_DLSEARCHPATH=\"/usr/local/lib/pulse-0.9.15/modules/\"
-DPA_DEFAULT_CONFIG_DIR=\"/usr/local/etc/pulse\"
-DPA_BINARY=\"/usr/local/bin/pulseaudio\"
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\"
-DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\"
-DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS
-DPULSE_LOCALEDIR=\"/usr/local/share/locale\"
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -O2 -pipe -mcpu=7450 -mno-
powerpc64 -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long
-Winline -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef
-Wformat=2 -Wsign-compare -Wformat-security -Wformat-nonliteral -Wold-
style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement
-Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-
align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-
math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -MT
vector_test-vector-test.o -MD -MP -MF .deps/vector_test-vector-test.Tpo -c
-o vector_test-vector-test.o `test -f 'tests/vector-test.c' || echo
'./'`tests/vector-test.c
In file included from tests/vector-test.c:26:
./pulsecore/vector.h:58: error: 'PA_UINT8_VECTOR_SIZE' undeclared here
(not in a function)
./pulsecore/vector.h:58: warning: 'vector_size' attribute ignored
[-Wattributes]
./pulsecore/vector.h:68: error: 'PA_INT16_VECTOR_SIZE' undeclared here
(not in a function)
./pulsecore/vector.h:68: warning: 'vector_size' attribute ignored
[-Wattributes]
./pulsecore/vector.h:78: error: 'PA_INT32_VECTOR_SIZE' undeclared here
(not in a function)
./pulsecore/vector.h:78: warning: 'vector_size' attribute ignored
[-Wattributes]
./pulsecore/vector.h:88: error: 'PA_FLOAT_VECTOR_SIZE' undeclared here
(not in a function)
./pulsecore/vector.h:88: warning: 'vector_size' attribute ignored
[-Wattributes]
The PA_*_VECTOR_SIZE macro constants should probably be moved outside the
SSE guard.
--
Ticket URL: <http://pulseaudio.org/ticket/647>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list