免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4646 | 回复: 4
打印 上一主题 下一主题

[SCO UNIX] SCO507安装python2.6问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-08 10:07 |只看该作者 |倒序浏览
5可用积分
在sco下有没有成功安装python的例子啊,找了好久都没有找到

我在装python2.5.3时失败,现在改装python2.6时又出现问题,哪位高手帮我看看啊,谢谢了

装python2.6make时出错:
cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
"Python/Python-ast.c", line 6092: error: non-constant initializer: op "NAME"
"Python/Python-ast.c", line 6092: error: non-constant initializer: op "NAME"
"Python/Python-ast.c", line 6093: error: non-constant initializer: op "NAME"
*** Error code 1 (bu21)

configure内容:
  1. checking for --with-universal-archs... 32-bit
  2. checking MACHDEP... sco_sv3
  3. checking EXTRAPLATDIR...
  4. checking machine type as reported by uname -m... i386
  5. checking for --without-gcc... no
  6. checking for gcc... cc
  7. checking for C compiler default output file name... a.out
  8. checking whether the C compiler works... yes
  9. checking whether we are cross compiling... no
  10. checking for suffix of executables...
  11. checking for suffix of object files... o
  12. checking whether we are using the GNU C compiler... no
  13. checking whether cc accepts -g... yes
  14. checking for cc option to accept ISO C89... none needed
  15. checking for --with-cxx-main=<compiler>... no
  16. checking for c++... c++
  17. configure: WARNING:

  18.   By default, distutils will build C++ extension modules with "c++".
  19.   If this is not intended, then set CXX on the configure command line.
  20.   
  21. checking how to run the C preprocessor... cc -E
  22. checking for grep that handles long lines and -e... /bin/grep
  23. checking for egrep... /bin/grep -E
  24. checking for AIX... no
  25. checking for --with-suffix...
  26. checking for case-insensitive build directory... no
  27. checking LIBRARY... libpython$(VERSION).a
  28. checking LINKCC... $(PURIFY) $(MAINCC)
  29. checking for --enable-shared... no
  30. checking for --enable-profiling...
  31. checking LDLIBRARY... libpython$(VERSION).a
  32. checking for ranlib... no
  33. checking for ar... ar
  34. checking for svnversion... not-found
  35. checking for a BSD-compatible install... ./install-sh -c
  36. checking for --with-pydebug... no
  37. checking whether cc accepts -OPT:Olimit=0... no
  38. checking whether cc accepts -Olimit 1500... no
  39. checking whether pthreads are available without options... no
  40. checking whether cc accepts -Kpthread... no
  41. checking whether cc accepts -Kthread... no
  42. checking whether cc accepts -pthread... no
  43. checking whether c++ also accepts flags for thread support... no
  44. checking for ANSI C header files... yes
  45. checking for sys/types.h... yes
  46. checking for sys/stat.h... yes
  47. checking for stdlib.h... yes
  48. checking for string.h... yes
  49. checking for memory.h... yes
  50. checking for strings.h... yes
  51. checking for inttypes.h... yes
  52. checking for stdint.h... yes
  53. checking for unistd.h... yes
  54. checking asm/types.h usability... no
  55. checking asm/types.h presence... no
  56. checking for asm/types.h... no
  57. checking conio.h usability... no
  58. checking conio.h presence... no
  59. checking for conio.h... no
  60. checking curses.h usability... yes
  61. checking curses.h presence... yes
  62. checking for curses.h... yes
  63. checking direct.h usability... no
  64. checking direct.h presence... no
  65. checking for direct.h... no
  66. checking dlfcn.h usability... yes
  67. checking dlfcn.h presence... yes
  68. checking for dlfcn.h... yes
  69. checking errno.h usability... yes
  70. checking errno.h presence... yes
  71. checking for errno.h... yes
  72. checking fcntl.h usability... yes
  73. checking fcntl.h presence... yes
  74. checking for fcntl.h... yes
  75. checking grp.h usability... yes
  76. checking grp.h presence... yes
  77. checking for grp.h... yes
  78. checking ieeefp.h usability... yes
  79. checking ieeefp.h presence... yes
  80. checking for ieeefp.h... yes
  81. checking io.h usability... no
  82. checking io.h presence... no
  83. checking for io.h... no
  84. checking langinfo.h usability... yes
  85. checking langinfo.h presence... yes
  86. checking for langinfo.h... yes
  87. checking libintl.h usability... yes
  88. checking libintl.h presence... yes
  89. checking for libintl.h... yes
  90. checking ncurses.h usability... no
  91. checking ncurses.h presence... no
  92. checking for ncurses.h... no
  93. checking poll.h usability... yes
  94. checking poll.h presence... yes
  95. checking for poll.h... yes
  96. checking process.h usability... no
  97. checking process.h presence... no
  98. checking for process.h... no
  99. checking pthread.h usability... no
  100. checking pthread.h presence... no
  101. checking for pthread.h... no
  102. checking shadow.h usability... yes
  103. checking shadow.h presence... yes
  104. checking for shadow.h... yes
  105. checking signal.h usability... yes
  106. checking signal.h presence... yes
  107. checking for signal.h... yes
  108. checking for stdint.h... (cached) yes
  109. checking stropts.h usability... yes
  110. checking stropts.h presence... yes
  111. checking for stropts.h... yes
  112. checking termios.h usability... yes
  113. checking termios.h presence... yes
  114. checking for termios.h... yes
  115. checking thread.h usability... no
  116. checking thread.h presence... no
  117. checking for thread.h... no
  118. checking for unistd.h... (cached) yes
  119. checking utime.h usability... yes
  120. checking utime.h presence... yes
  121. checking for utime.h... yes
  122. checking sys/audioio.h usability... no
  123. checking sys/audioio.h presence... no
  124. checking for sys/audioio.h... no
  125. checking sys/bsdtty.h usability... no
  126. checking sys/bsdtty.h presence... no
  127. checking for sys/bsdtty.h... no
  128. checking sys/epoll.h usability... no
  129. checking sys/epoll.h presence... no
  130. checking for sys/epoll.h... no
  131. checking sys/event.h usability... yes
  132. checking sys/event.h presence... yes
  133. checking for sys/event.h... yes
  134. checking sys/file.h usability... yes
  135. checking sys/file.h presence... yes
  136. checking for sys/file.h... yes
  137. checking sys/loadavg.h usability... no
  138. checking sys/loadavg.h presence... no
  139. checking for sys/loadavg.h... no
  140. checking sys/lock.h usability... yes
  141. checking sys/lock.h presence... yes
  142. checking for sys/lock.h... yes
  143. checking sys/mkdev.h usability... no
  144. checking sys/mkdev.h presence... no
  145. checking for sys/mkdev.h... no
  146. checking sys/modem.h usability... no
  147. checking sys/modem.h presence... no
  148. checking for sys/modem.h... no
  149. checking sys/param.h usability... yes
  150. checking sys/param.h presence... yes
  151. checking for sys/param.h... yes
  152. checking sys/poll.h usability... yes
  153. checking sys/poll.h presence... yes
  154. checking for sys/poll.h... yes
  155. checking sys/select.h usability... yes
  156. checking sys/select.h presence... yes
  157. checking for sys/select.h... yes
  158. checking sys/socket.h usability... yes
  159. checking sys/socket.h presence... yes
  160. checking for sys/socket.h... yes
  161. checking sys/statvfs.h usability... yes
  162. checking sys/statvfs.h presence... yes
  163. checking for sys/statvfs.h... yes
  164. checking for sys/stat.h... (cached) yes
  165. checking sys/termio.h usability... yes
  166. checking sys/termio.h presence... yes
  167. checking for sys/termio.h... yes
  168. checking sys/time.h usability... yes
  169. checking sys/time.h presence... yes
  170. checking for sys/time.h... yes
  171. checking sys/times.h usability... yes
  172. checking sys/times.h presence... yes
  173. checking for sys/times.h... yes
  174. checking for sys/types.h... (cached) yes
  175. checking sys/un.h usability... yes
  176. checking sys/un.h presence... yes
  177. checking for sys/un.h... yes
  178. checking sys/utsname.h usability... yes
  179. checking sys/utsname.h presence... yes
  180. checking for sys/utsname.h... yes
  181. checking sys/wait.h usability... yes
  182. checking sys/wait.h presence... yes
  183. checking for sys/wait.h... yes
  184. checking pty.h usability... no
  185. checking pty.h presence... no
  186. checking for pty.h... no
  187. checking libutil.h usability... no
  188. checking libutil.h presence... no
  189. checking for libutil.h... no
  190. checking sys/resource.h usability... yes
  191. checking sys/resource.h presence... yes
  192. checking for sys/resource.h... yes
  193. checking netpacket/packet.h usability... no
  194. checking netpacket/packet.h presence... no
  195. checking for netpacket/packet.h... no
  196. checking sysexits.h usability... yes
  197. checking sysexits.h presence... yes
  198. checking for sysexits.h... yes
  199. checking bluetooth.h usability... no
  200. checking bluetooth.h presence... no
  201. checking for bluetooth.h... no
  202. checking bluetooth/bluetooth.h usability... no
  203. checking bluetooth/bluetooth.h presence... no
  204. checking for bluetooth/bluetooth.h... no
  205. checking linux/tipc.h usability... no
  206. checking linux/tipc.h presence... no
  207. checking for linux/tipc.h... no
  208. checking for dirent.h that defines DIR... yes
  209. checking for library containing opendir... none required
  210. checking whether sys/types.h defines makedev... no
  211. checking for sys/mkdev.h... (cached) no
  212. checking sys/sysmacros.h usability... yes
  213. checking sys/sysmacros.h presence... yes
  214. checking for sys/sysmacros.h... yes
  215. checking for term.h... yes
  216. checking for linux/netlink.h... no
  217. checking for clock_t in time.h... yes
  218. checking for makedev... no
  219. checking Solaris LFS bug... no
  220. checking for mode_t... yes
  221. checking for off_t... yes
  222. checking for pid_t... yes
  223. checking return type of signal handlers... void
  224. checking for size_t... yes
  225. checking for uid_t in sys/types.h... yes
  226. checking for ssize_t... yes
  227. checking for int... yes
  228. checking size of int... 4
  229. checking for long... yes
  230. checking size of long... 4
  231. checking for void *... yes
  232. checking size of void *... 4
  233. checking for short... yes
  234. checking size of short... 2
  235. checking for float... yes
  236. checking size of float... 4
  237. checking for double... yes
  238. checking size of double... 8
  239. checking for fpos_t... yes
  240. checking size of fpos_t... 4
  241. checking for size_t... (cached) yes
  242. checking size of size_t... 4
  243. checking for pid_t... (cached) yes
  244. checking size of pid_t... 2
  245. checking for long long support... no
  246. checking for long double support... yes
  247. checking for long double... yes
  248. checking size of long double... 12
  249. checking for _Bool support... no
  250. checking for uintptr_t... yes
  251. checking for uintptr_t... (cached) yes
  252. checking size of uintptr_t... 4
  253. checking size of off_t... 4
  254. checking whether to enable large file support... no
  255. checking size of time_t... 4
  256. checking for pthread_t... no
  257. checking for --enable-toolbox-glue... no
  258. checking for --enable-framework... no
  259. checking for dyld... no
  260. checking SO... .so
  261. checking LDSHARED... $(CC) -Wl,-G,-Bexport
  262. checking CCSHARED... -Kpic -belf
  263. checking LINKFORSHARED... -Wl,-Bexport
  264. checking CFLAGSFORSHARED...
  265. checking SHLIBS... $(LIBS)
  266. checking for dlopen in -ldl... no
  267. checking for shl_load in -ldld... no
  268. checking for library containing sem_init... no
  269. checking for textdomain in -lintl... no
  270. checking for t_open in -lnsl... yes
  271. checking for socket in -lsocket... yes
  272. checking for --with-libs... no
  273. checking for --with-system-ffi...
  274. checking for --with-signal-module... yes
  275. checking for --with-dec-threads... no
  276. checking for --with-threads... yes
  277. checking for _POSIX_THREADS in unistd.h... no
  278. checking cthreads.h usability... no
  279. checking cthreads.h presence... no
  280. checking for cthreads.h... no
  281. checking mach/cthreads.h usability... no
  282. checking mach/cthreads.h presence... no
  283. checking for mach/cthreads.h... no
  284. checking for --with-pth... no
  285. checking for pthread_create in -lpthread... checking for pthread_detach... no
  286. checking atheos/threads.h usability... no
  287. checking atheos/threads.h presence... no
  288. checking for atheos/threads.h... no
  289. checking kernel/OS.h usability... no
  290. checking kernel/OS.h presence... no
  291. checking for kernel/OS.h... no
  292. checking for pthread_create in -lpthreads... no
  293. checking for pthread_create in -lc_r... no
  294. checking for __pthread_create_system in -lpthread... no
  295. checking for pthread_create in -lcma... no
  296. checking for usconfig in -lmpc... no
  297. checking for thr_create in -lthread... no
  298. checking if --enable-ipv6 is specified... no
  299. checking for OSX 10.5 SDK or later... no
  300. checking for --with-doc-strings... yes
  301. checking for --with-tsc... no
  302. checking for --with-pymalloc... yes
  303. checking for --with-wctype-functions... no
  304. checking for dlopen... no
  305. checking DYNLOADFILE... dynload_stub.o
  306. checking MACHDEP_OBJS... MACHDEP_OBJS
  307. checking for alarm... yes
  308. checking for setitimer... yes
  309. checking for getitimer... yes
  310. checking for bind_textdomain_codeset... no
  311. checking for chown... yes
  312. checking for clock... yes
  313. checking for confstr... yes
  314. checking for ctermid... yes
  315. checking for execv... yes
  316. checking for fchmod... yes
  317. checking for fchown... yes
  318. checking for fork... yes
  319. checking for fpathconf... yes
  320. checking for ftime... yes
  321. checking for ftruncate... yes
  322. checking for gai_strerror... no
  323. checking for getgroups... yes
  324. checking for getlogin... yes
  325. checking for getloadavg... no
  326. checking for getpeername... yes
  327. checking for getpgid... yes
  328. checking for getpid... yes
  329. checking for getpriority... yes
  330. checking for getpwent... yes
  331. checking for getspnam... yes
  332. checking for getspent... yes
  333. checking for getsid... yes
  334. checking for getwd... yes
  335. checking for kill... yes
  336. checking for killpg... yes
  337. checking for lchmod... no
  338. checking for lchown... yes
  339. checking for lstat... yes
  340. checking for mkfifo... yes
  341. checking for mknod... yes
  342. checking for mktime... yes
  343. checking for mremap... no
  344. checking for nice... yes
  345. checking for pathconf... yes
  346. checking for pause... yes
  347. checking for plock... yes
  348. checking for poll... yes
  349. checking for pthread_init... no
  350. checking for putenv... yes
  351. checking for readlink... yes
  352. checking for realpath... yes
  353. checking for select... yes
  354. checking for setegid... yes
  355. checking for seteuid... yes
  356. checking for setgid... yes
  357. checking for setlocale... yes
  358. checking for setregid... yes
  359. checking for setreuid... yes
  360. checking for setsid... yes
  361. checking for setpgid... yes
  362. checking for setpgrp... yes
  363. checking for setuid... yes
  364. checking for setvbuf... yes
  365. checking for snprintf... yes
  366. checking for sigaction... yes
  367. checking for siginterrupt... yes
  368. checking for sigrelse... yes
  369. checking for strftime... yes
  370. checking for sysconf... yes
  371. checking for tcgetpgrp... yes
  372. checking for tcsetpgrp... yes
  373. checking for tempnam... yes
  374. checking for timegm... no
  375. checking for times... yes
  376. checking for tmpfile... yes
  377. checking for tmpnam... yes
  378. checking for tmpnam_r... no
  379. checking for truncate... yes
  380. checking for uname... yes
  381. checking for unsetenv... no
  382. checking for utimes... yes
  383. checking for waitpid... yes
  384. checking for wait3... yes
  385. checking for wait4... no
  386. checking for wcscoll... yes
  387. checking for _getpty... no
  388. checking for chroot... yes
  389. checking for link... yes
  390. checking for symlink... yes
  391. checking for fchdir... yes
  392. checking for fsync... yes
  393. checking for fdatasync... no
  394. checking for epoll... no
  395. checking for kqueue... yes
  396. checking for ctermid_r... no
  397. checking for flock... no
  398. checking for getpagesize... yes
  399. checking for true... true
  400. checking for inet_aton in -lc... yes
  401. checking for chflags... no
  402. checking for lchflags... no
  403. checking for inflateCopy in -lz... no
  404. checking for hstrerror... yes
  405. checking for inet_aton... yes
  406. checking for inet_pton... yes
  407. checking for setgroups... yes
  408. checking for openpty... no
  409. checking for openpty in -lutil... no
  410. checking for openpty in -lbsd... no
  411. checking for forkpty... no
  412. checking for forkpty in -lutil... no
  413. checking for forkpty in -lbsd... no
  414. checking for memmove... yes
  415. checking for fseek64... no
  416. checking for fseeko... yes
  417. checking for fstatvfs... yes
  418. checking for ftell64... no
  419. checking for ftello... yes
  420. checking for statvfs... yes
  421. checking for dup2... yes
  422. checking for getcwd... yes
  423. checking for strdup... yes
  424. checking for getpgrp... yes
  425. checking for setpgrp... (cached) yes
  426. checking for gettimeofday... yes
  427. checking for major... no
  428. checking for getaddrinfo... no
  429. checking for getnameinfo... no
  430. checking whether time.h and sys/time.h may both be included... yes
  431. checking whether struct tm is in sys/time.h or time.h... time.h
  432. checking for struct tm.tm_zone... no
  433. checking whether tzname is declared... yes
  434. checking for tzname... yes
  435. checking for struct stat.st_rdev... yes
  436. checking for struct stat.st_blksize... yes
  437. checking for struct stat.st_flags... no
  438. checking for struct stat.st_gen... no
  439. checking for struct stat.st_birthtime... no
  440. checking for struct stat.st_blocks... yes
  441. checking for time.h that defines altzone... yes
  442. checking whether sys/select.h and sys/time.h may both be included... yes
  443. checking for addrinfo... yes
  444. checking for sockaddr_storage... no
  445. checking whether char is unsigned... no
  446. checking for an ANSI C-conforming const... yes
  447. checking for working volatile... yes
  448. checking for working signed char... yes
  449. checking for prototypes... yes
  450. checking for variable length prototypes and stdarg.h... yes
  451. checking for socketpair... yes
  452. checking if sockaddr has sa_len member... no
  453. checking whether va_list is an array... no
  454. checking for gethostbyname_r... no
  455. checking for gethostbyname... yes
  456. checking for __fpu_control... no
  457. checking for __fpu_control in -lieee... no
  458. checking for --with-fpectl... no
  459. checking for --with-libm=STRING... default LIBM="-lm"
  460. checking for --with-libc=STRING... default LIBC=""
  461. checking whether tanh preserves the sign of zero... yes
  462. checking for hypot... yes
  463. checking for acosh... yes
  464. checking for asinh... yes
  465. checking for atanh... yes
  466. checking for copysign... yes
  467. checking for expm1... yes
  468. checking for finite... yes
  469. checking for isinf... no
  470. checking for isnan... yes
  471. checking for log1p... yes
  472. checking wchar.h usability... yes
  473. checking wchar.h presence... yes
  474. checking for wchar.h... yes
  475. checking for wchar_t... yes
  476. checking size of wchar_t... 4
  477. checking for UCS-4 tcl... no
  478. checking whether wchar_t is signed... yes
  479. checking what type to use for unicode... unsigned short
  480. checking whether byte ordering is bigendian... no
  481. checking whether right shift extends the sign bit... yes
  482. checking for getc_unlocked() and friends... yes
  483. checking how to link readline libs... none
  484. checking for rl_callback_handler_install in -lreadline... no
  485. checking for rl_pre_input_hook in -lreadline... no
  486. checking for rl_completion_display_matches_hook in -lreadline... no
  487. checking for rl_completion_matches in -lreadline... no
  488. checking for broken nice()... no
  489. checking for broken poll()... no
  490. checking for struct tm.tm_zone... (cached) no
  491. checking whether tzname is declared... (cached) yes
  492. checking for tzname... (cached) yes
  493. checking for working tzset()... yes
  494. checking for tv_nsec in struct stat... no
  495. checking for tv_nsec2 in struct stat... no
  496. checking whether mvwdelch is an expression... yes
  497. checking whether WINDOW has _flags... yes
  498. checking for is_term_resized... no
  499. checking for resize_term... no
  500. checking for resizeterm... no
  501. checking for /dev/ptmx... yes
  502. checking for /dev/ptc... no
  503. checking for %zd printf() format support... yes
  504. checking for socklen_t... no
  505. checking for build directories... done
  506. configure: creating ./config.status
  507. config.status: creating Makefile.pre
  508. config.status: creating Modules/Setup.config
  509. config.status: creating pyconfig.h
  510. config.status: pyconfig.h is unchanged
  511. creating Modules/Setup
  512. creating Modules/Setup.local
  513. creating Makefile
复制代码

[ 本帖最后由 lemon627 于 2009-12-8 10:31 编辑 ]

最佳答案

查看完整内容

这东西建议用gcc编译、而不是用SCO自带的cc

论坛徽章:
0
2 [报告]
发表于 2009-12-08 10:07 |只看该作者
这东西建议用gcc编译、而不是用SCO自带的cc

论坛徽章:
0
3 [报告]
发表于 2009-12-08 10:09 |只看该作者
make内容:
[code]cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
"Parser/myreadline.c", line 101: warning: end-of-loop code not reached
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
"Objects/abstract.c", line 2847: warning: integer overflow detected: op "<<"
"Objects/abstract.c", line 2856: warning: integer overflow detected: op "<<"
"Objects/abstract.c", line 2943: warning: integer overflow detected: op "<<"
"Objects/abstract.c", line 2943: warning: integer overflow detected: op "<<"
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
"Objects/bytearrayobject.c", line 294: warning: statement not reached
"Objects/stringlib/transmogrify.h", line 7: warning: invalid directive
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
"Objects/descrobject.c", line 97: warning: integer overflow detected: op "<<"
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
"Objects/genobject.c", line 238: warning: integer overflow detected: op "<<"
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
"Objects/floatobject.c", line 252: warning: end-of-loop code not reached
"Objects/floatobject.c", line 255: warning: end-of-loop code not reached
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
"Objects/dictobject.c", line 371: warning: statement not reached
"Objects/dictobject.c", line 432: warning: statement not reached
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
"Objects/object.c", line 1870: warning: integer overflow detected: op "<<"
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
"Objects/setobject.c", line 202: warning: statement not reached
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
"Objects/typeobject.c", line 122: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 435: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 442: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 507: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 515: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 648: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 648: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 1556: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 1644: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 1693: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 2752: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 3072: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 3132: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 3677: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 4012: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 4064: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 4700: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 4710: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 6104: warning: assignment type mismatch
"Objects/typeobject.c", line 6319: warning: operands have incompatible pointer types: op "=="
"Objects/typeobject.c", line 6427: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 6477: warning: integer overflow detected: op "<<"
"Objects/typeobject.c", line 6502: warning: integer overflow detected: op "<<"
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
        cc -c -belf -Ki486 -DSCO5 -DNDEBUG -O  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
"Python/Python-ast.c", line 6092: error: non-constant initializer: op "NAME"
"Python/Python-ast.c", line 6092: error: non-constant initializer: op "NAME"
"Python/Python-ast.c", line 6093: error: non-constant initializer: op "NAME"
*** Error code 1 (bu21)


make到这里出错了

[ 本帖最后由 lemon627 于 2009-12-8 10:32 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2009-12-08 14:35 |只看该作者
不要沉啊,顶起来

论坛徽章:
0
5 [报告]
发表于 2009-12-17 16:17 |只看该作者
恩,我换g++试试,多谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP