Python论坛  - 讨论区

标题:[python-chinese] 关于在C程序中调用Python的问 题

2006年10月19日 星期四 13:16

刘鑫 march.liu在gmail.com
星期四 十月 19 13:16:02 HKT 2006

ºÃÎÄÕ£¬ÊÕ²ØÁË¡£

2006/10/19, Jin Qing <jinq0123在163.com>:
>
>
> undefined symbol ÎÊÌâÒѽâ¾ö¡£ÆäÖаüº¬ÁËһЩÓйرàÒëÁ´½ÓµÄ֪ʶ£¬ÈÃÎÒÔö³¤Á˵ãѧʶ¡£
>
> ±ê×¼½â´ð¼ûPythonÊֲᣬExtending and Embedding£¬5.6 Linking Requirements
> ¾ßÌå¼û£º
> http://blog.csdn.net/jq0123/archive/2006/10/19/1340839.aspx
>
>
> ½ðÇì http://blog.csdn.net/jq0123
> 2006-10-19
>
>
> ======= 2006-10-19 09:57:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
>
> >ÎÒÓÃ
> >g++ testpy.cpp -I/usr/include/python2.2 -L/usr/lib/python2.2/config -
> lpython2.2 -lpthread -ldl -lutil
> >
> >ÔËÐÐʱÓдíÎó£¬ÊÇPython importʱµÄ´íÎ󣬸ÄΪһ¸ö"print 'Hello world!'"¾Í¿ÉÒÔÁË¡£
> >Traceback (most recent call last):
> >  File "", line 1, in ?
> >ImportError: /usr/lib/python2.2/lib-dynload/timemodule.so: undefined
> symbol: Pyg
> >
> >
> = = = = = = = = = = = = = = = = = = = =
>
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
»¶Ó­·ÃÎÊ£º
http://blog.csdn.net/ccat

ÁõöÎ
March.Liu
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061019/32b52c5f/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号