- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我尝试在 ubuntu 15.04 中为 rtems 构建 rsb,但由于 python,gdb 安装失败。
$python --version
它是Python 2.7.10
我还安装了$sudo apt-get install python-all-dev
我在 SO 上找到的一个解决方案是
Unable to install GDB with python support我不知道如何将此解决方案与我的问题结合起来。任何帮助将不胜感激。
rtems 错误日志:
RTEMS Tools Project - Source Builder Error Report
Build: error: building arm-rtems4.11-gdb-7.9-x86_64-linux-gnu-1
Command Line: ../source-builder/sb-set-builder
--prefix=/home/punit/development/rtems/4.11 4.11/rtems-arm
Python: 2.7.10 (default, Aug 9 2015, 10:57:15) [GCC 4.9.2]
https://github.com/RTEMS/rtems-source-builder.git/origin/eec82cd12621dbc6773a117e8de9ca0f1dc55043
Linux punit-Compaq-420 3.19.0-33-generic #38-Ubuntu SMP Fri Nov 6
18:18:12 UTC 2015 x86_64
Tail of the build log:
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... yes
checking whether random is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... yes
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... yes
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... yes
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc -O2 -pipe
-I/home/punit/development/rtems/rsb/rtems-source-builder/rtems/build/tmp/sb-punit/4.11/rtems-arm/home/punit/development/rtems/4.11/include...
gcc3
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
checking whether NLS is requested... no
checking whether makeinfo --split-size=5000000 supports @click... yes
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking for bison... bison -y
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
checking for x86_64-linux-gnu-dlltool... dlltool
checking for x86_64-linux-gnu-windres... windres
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv
(iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf,
size_t *outbytesleft);
checking for library containing waddstr... -lncurses
checking for library containing tgetent... none required
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned __int128... 16
checking for library containing dlopen... (cached) -ldl
checking whether to use expat... yes
checking for ld used by GCC... x86_64-linux-gnu-ld
checking if the linker (x86_64-linux-gnu-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for libexpat... yes
checking how to link with libexpat...
/home/punit/development/rtems/rsb/rtems-source-builder/rtems/build/tmp/sb-punit/4.11/rtems-arm/home/punit/development/rtems/4.11/lib/libexpat.so
-Wl,-rpath -Wl,/home/punit/development/rtems/rsb/rtems-source-builder/rtems/build/tmp/sb-punit/4.11/rtems-arm/home/punit/development/rtems/4.11/lib
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... /usr/local/bin/python
checking for python2.7... no
configure: error: python is missing or unusable
Makefile:8643: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory
'/home/punit/development/rtems/rsb/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.9-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
Makefile:836: recipe for target 'all' failed
shell cmd failed: /bin/sh -ex
/home/punit/development/rtems/rsb/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.9-x86_64-linux-gnu-1/doit
error: building arm-rtems4.11-gdb-7.9-x86_64-linux-gnu-1
最佳答案
对于有同样问题的人来说,这是由于Python开发包造成的试试这个:
sudo apt-get update
sudo apt-get install python2.7-dev
这应该可以解决问题。
关于python - Ubuntu 15.04 的 RTEMS 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34350038/
我刚刚开始我的学术项目:纳米卫星软件基础设施。我在 CentOS 上安装了 RTEMS,我可以编译和执行示例程序,比如 hello 或 ticker。当我对现有文件(例如 init.c)进行任何更改并
我正在使用 RTEMS 4.11 和内置的 POSIX API 函数将程序图像动态加载到内存中。使用以下代码将程序图像加载到 RTEMS 中: void* handle = dlopen(prog_n
我是 rtem 编程的新手,想知道 rtems 和 linux 这两者在编程方面有何不同。我知道 rtems 是一个实时操作系统,但如果你要制作一个 hello world 应用程序,程序会不会一样?
背景 我正在使用 RTEMS 并尝试设置 native NFS 客户端。尽管我已正确包含此内容,但没有足够的动态驱动程序条目可用于驱动程序。您可以索取更多信息here 。 实现 为了设置额外的动态驱动
我尝试在 ubuntu 15.04 中为 rtems 构建 rsb,但由于 python,gdb 安装失败。 $python --version 它是Python 2.7.10 我还安装了$sudo
我有一个简单的代码,我正在尝试使用 lm32-rtems4.11-gcc 进行编译。 我有代码、编译命令和下面的 lst。当我编译时,我看到在顶部添加了一堆代码,而不是我想要的启动代码。我希望处理器在
我希望在实时操作系统 RTEMS 中分析一些代码。本质上,rtems 有一堆读取时间的函数,其中最有用的是 rtems_clock_get_ticks_since_boot。 这里的问题是,无论出于何
我试图在 linux mint 17.02 系统上使用 RTEMS Source Builder 构建 RTEMS。我收到 shell cmd 失败错误,即(错误报告的最后几行) + cd /home
我正在尝试在 rtems 应用程序中使用 powf 函数。当我调用 powf(a,b); 时在 Init() 函数中,它编译正常。但是当我在其他函数中调用 powf 时,编译器会给出“对 powf 的
#include #include #include #include #include #include #include #include #include #include
我是一名优秀的程序员,十分优秀!