linux alsa编译错误,急等大侠解救
时间:10-02
整理:3721RD
点击:
In file included from /usr/include/alsa/asoundlib.h:33,
from pcm.cpp:10:
/usr/include/stdlib.h:955:31: error: bits/stdlib-float.h: No such file or directory
In file included from /usr/include/fcntl.h:68,
from /usr/include/alsa/asoundlib.h:36,
from pcm.cpp:10:
/usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/bits/stat.h:20:3: error: #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
In file included from /usr/include/alsa/asoundlib.h:31,
from pcm.cpp:10:
/usr/include/unistd.h:756: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcm.cpp:10:
/usr/include/stdio.h:365: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:380: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:388: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:392: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:401: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:404: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:407: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcm.cpp:10:
/usr/include/stdio.h:901: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:905: error: expected initializer before '__THROWNL'
In file included from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/select.h:44,
from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/types.h:220,
from /usr/include/stdlib.h:314,
from /usr/include/alsa/asoundlib.h:33,
from pcm.cpp:10:
/usr/include/time.h:123: error: '__syscall_slong_t' does not name a type
In file included from /usr/include/alsa/asoundlib.h:33,
from pcm.cpp:10:
/usr/include/stdlib.h:510: error: expected initializer before '__attribute_alloc_size__'
In file included from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/stdlib.h:955:31: error: bits/stdlib-float.h: No such file or directory
In file included from /usr/include/fcntl.h:68,
from /usr/include/alsa/asoundlib.h:36,
from pcmcommon.cpp:12:
/usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/bits/stat.h:20:3: error: #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
In file included from /usr/include/alsa/asoundlib.h:31,
from pcmcommon.cpp:12:
/usr/include/unistd.h:756: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcmcommon.cpp:12:
/usr/include/stdio.h:365: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:380: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:388: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:392: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:401: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:404: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:407: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcmcommon.cpp:12:
/usr/include/stdio.h:901: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:905: error: expected initializer before '__THROWNL'
In file included from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/select.h:44,
from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/types.h:220,
from /usr/include/stdlib.h:314,
from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/time.h:123: error: '__syscall_slong_t' does not name a type
In file included from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/stdlib.h:510: error: expected initializer before '__attribute_alloc_size__'
------------------------------------------------------------------------------------------------
pcm.cpp
pcmcommon.cpp都调用了如下头文件:
#include <alsa/asoundlib.h>
这个问题还有大侠能解救的?
from pcm.cpp:10:
/usr/include/stdlib.h:955:31: error: bits/stdlib-float.h: No such file or directory
In file included from /usr/include/fcntl.h:68,
from /usr/include/alsa/asoundlib.h:36,
from pcm.cpp:10:
/usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/bits/stat.h:20:3: error: #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
In file included from /usr/include/alsa/asoundlib.h:31,
from pcm.cpp:10:
/usr/include/unistd.h:756: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcm.cpp:10:
/usr/include/stdio.h:365: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:380: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:388: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:392: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:401: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:404: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:407: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcm.cpp:10:
/usr/include/stdio.h:901: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:905: error: expected initializer before '__THROWNL'
In file included from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/select.h:44,
from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/types.h:220,
from /usr/include/stdlib.h:314,
from /usr/include/alsa/asoundlib.h:33,
from pcm.cpp:10:
/usr/include/time.h:123: error: '__syscall_slong_t' does not name a type
In file included from /usr/include/alsa/asoundlib.h:33,
from pcm.cpp:10:
/usr/include/stdlib.h:510: error: expected initializer before '__attribute_alloc_size__'
In file included from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/stdlib.h:955:31: error: bits/stdlib-float.h: No such file or directory
In file included from /usr/include/fcntl.h:68,
from /usr/include/alsa/asoundlib.h:36,
from pcmcommon.cpp:12:
/usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/bits/stat.h:20:3: error: #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
In file included from /usr/include/alsa/asoundlib.h:31,
from pcmcommon.cpp:12:
/usr/include/unistd.h:756: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcmcommon.cpp:12:
/usr/include/stdio.h:365: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:380: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:388: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:392: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:401: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:404: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:407: error: expected initializer before '__THROWNL'
In file included from /usr/include/alsa/asoundlib.h:32,
from pcmcommon.cpp:12:
/usr/include/stdio.h:901: error: expected initializer before '__THROWNL'
/usr/include/stdio.h:905: error: expected initializer before '__THROWNL'
In file included from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/select.h:44,
from /usr/local/arm/4.4.3/bin/../arm-none-linux-gnueabi//sys-root/usr/include/sys/types.h:220,
from /usr/include/stdlib.h:314,
from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/time.h:123: error: '__syscall_slong_t' does not name a type
In file included from /usr/include/alsa/asoundlib.h:33,
from pcmcommon.cpp:12:
/usr/include/stdlib.h:510: error: expected initializer before '__attribute_alloc_size__'
------------------------------------------------------------------------------------------------
pcm.cpp
pcmcommon.cpp都调用了如下头文件:
#include <alsa/asoundlib.h>
这个问题还有大侠能解救的?
已退回1积分