bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] python and gnubg


From: Joern Thyssen
Subject: Re: [Bug-gnubg] python and gnubg
Date: Sun, 13 Jul 2003 17:08:37 +0000
User-agent: Mutt/1.4.1i

On Sat, Jul 12, 2003 at 11:25:00PM +0200, Øystein Johansen wrote
> >
> It's a bit starnge. I try unistalling Python-2.2.3 and then install 
> Python-1.5.3 instead. Then I get a gazillion symbols from nm. But I 
> still can't link gnubg. Now it complains:
> 
> Info: resolving _PyExc_StandardError by linking to 
> __imp__PyExc_StandardError (a
> uto-import)
> Info: resolving _PyExc_ValueError by linking to __imp__PyExc_ValueError 
> (auto-im
> port)
> Info: resolving _PyInt_Type by linking to __imp__PyInt_Type (auto-import)
> Info: resolving _PyFloat_Type by linking to __imp__PyFloat_Type 
> (auto-import)
> fu000001.o(.idata$3+0xc): undefined reference to `unknown_iname'
> fu000003.o(.idata$3+0xc): undefined reference to `unknown_iname'
> fu000004.o(.idata$3+0xc): undefined reference to `unknown_iname'
> fu000005.o(.idata$3+0xc): undefined reference to `unknown_iname'
> fu000007.o(.idata$3+0xc): undefined reference to `unknown_iname'
> fu000008.o(.idata$3+0xc): more undefined references to `unknown_iname' 
> follow
> nmth000000.o(.idata$4+0x0): undefined reference to 
> `_nm__PyExc_StandardError'
> nmth000002.o(.idata$4+0x0): undefined reference to `_nm__PyExc_ValueError'
> nmth000006.o(.idata$4+0x0): undefined reference to `_nm__PyInt_Type'
> nmth000009.o(.idata$4+0x0): undefined reference to `_nm__PyFloat_Type'

Hmm, I have no idea what's happening.

Try the following:

python
from distutils.sysconfig import *
get_config_vars()

will report a lot of setup parameters. Some of the interesting ones are:

get_config_var('DLLLIBRARY')
get_config_var('LINKFORSHARED')

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]