迪斯林汇编
大家好你们好 我想在Linux下重新编译Python的Dislin图形模块,因为 我认为这是目前最好的图形库之一. 随附的模块为2.0版,我希望它以2.2或2.3的价格为2.2. 问题是,我使用的是小型make_py脚本 致电GCC编译器 cc =" gcc -fpic -c -o" pyth_inc ="/usr/local/include/python2.0" pyth_conf ="/usr/local/lib/python2.0/config" gcc -shared -wl,-soname,dislinmodule.so -o dislinmodule.so *.o \ -l $ dislin -ldislnc 但是我认为许多变量配置了, 因此,随后发生了一系列错误(我将前几行复制到 结束) 我没有Makefiles的经验,所以我想问我什么 必须以短暂的方式做. 提前致谢 欧文 我的系统: Suse Linux 8.1在AMD机器上 这是GCC输出的前几行 dislinmodule.c:1:20:python.h:没有这样的文件或目录 dislinmodule.c:21:"*"令牌之前的解析错误 dislinmodule.c:21:"*"令牌之前的解析错误 dislinmodule.c:21:警告:数据定义没有类型或存储类 dislinmodule.c:22:"*"令牌之前的解析错误 dislinmodule.c:22:"*"令牌之前的解析错误 dislinmodule.c:22:警告:数据定义没有类型或存储类 dislinmodule.c:23:"*"令牌之前的解析错误 dislinmodule.c:23:"*"令牌之前的解析错误 dislinmodule.c:23:警告:数据定义没有类型或存储类 dislinmodule.c:31:"*"令牌之前的解析错误 dislinmodule.c:31:警告:数据定义没有类型或存储类 dislinmodule.c:32:"*"令牌之前的解析错误 dislinmodule.c:32:警告:数据定义没有类型或存储类 dislinmodule.c:34:"*"令牌之前的解析错误 dislinmodule.c:在函数" getLength"中: dislinmodule.c:37:`o'未宣布(此功能首次使用) dislinmodule.c:37 :(每个未宣布的标识符仅报告一次 dislinmodule.c:37:对于每个功能,它都会出现.) dislinmodule.c:38:`pyexc_valueError'undeclared(在此功能中首次使用) dislinmodule.c:在最高级别: dislinmodule.c:51:"*"令牌之前的解析错误 dislinmodule.c:在函数" fltarray"中: dislinmodule.c:53:`pyObject'undeclared(在此功能中首次使用)