PyType_Type?

William Dandreta wjdandreta at worldnet.att.net
Wed Jun 28 11:53:58 EDT 2000


Hi Thomas,

>The type of a type object is not defined in a module, but in an Object
file.
>'Objects/typeobject.c' to be exact.
>
>Do you get any other error messages ? What version of Python ?

Sorry for the module confusion, my C compiler (BC4.5) refers to .c files as
modules .

I am trying to compile Python 1.5.2 for DOS without a DOS extender. To do
that I need to use overlays. I started out by including all the .c files in
the source and made several changes and deletions. Currently I am left with
the following modules, which all compile without errors and four linking
errors:

Linking pyth152.exe:
Linker Error: Undefined symbol _initstruct in module SOURCE\PC\CONFIG.C
Linker Error: Undefined symbol _initsignal in module SOURCE\PC\CONFIG.C
Linker Error: Undefined symbol _initnt in module SOURCE\PC\CONFIG.C
Linker Error: Undefined symbol _crypt in module SOURCE\MODULES\CRYPTM~1.C

Any suggestions you might make would be appreciated.

Bill
----------------------------------------------------------
Compiling source\python\SIGCHECK.C:
Compiling source\python\MYSTRT~1.C:
Compiling source\python\STRUCT~1.C:
Compiling source\python\TRACEB~1.C:
Compiling source\python\PYSTATE.C:
Compiling source\python\SYSMOD~1.C:
Compiling source\python\PYTHON~1.C:
Compiling source\python\MODSUP~1.C:
Compiling source\python\ATOF.C:
Compiling source\python\BLTINM~1.C:
Compiling source\python\CEVAL.C:
Compiling source\python\COMPILE.C:
Compiling source\python\ERRORS.C:
Compiling source\python\FMOD.C:
Compiling source\python\FROZEN.C:
Compiling source\python\FROZEN~1.C:
Compiling source\python\GETARGS.C:
Compiling source\python\GETCOM~1.C:
Compiling source\python\GETCOP~1.C:
Compiling source\python\GETMTIME.C:
Compiling source\python\GETOPT.C:
Compiling source\python\GETPLA~1.C:
Compiling source\python\GETVER~1.C:
Compiling source\python\GRAMINIT.C:
Compiling source\python\HYPOT.C:
Compiling source\python\IMPORT.C:
Compiling source\python\IMPORTDL.C:
Compiling source\python\MARSHAL.C:
Compiling source\python\MEMMOVE.C:
Compiling source\pc\CONFIG.C:
Compiling source\pc\GETPATHP.C:
Compiling source\parser\ACCELER.C:
Compiling source\parser\BITSET.C:
Compiling source\parser\FIRSTS~1.C:
Compiling source\parser\GRAMMAR.C:
Compiling source\parser\GRAMMAR1.C:
Compiling source\parser\INTRCH~1.C:
Compiling source\parser\LISTNODE.C:
Compiling source\parser\METAGR~1.C:
Compiling source\parser\MYREAD~1.C:
Compiling source\parser\NODE.C:
Compiling source\parser\PARSER.C:
Compiling source\parser\PARSETOK.C:
Compiling source\parser\PGEN.C:
Compiling source\parser\PRINTG~1.C:
Compiling source\parser\TOKENI~1.C:
Compiling source\objects\ABSTRACT.C:
Compiling source\objects\BUFFER~1.C:
Compiling source\objects\CLASSO~1.C:
Compiling source\objects\COBJECT.C:
Compiling source\objects\COMPLE~1.C:
Compiling source\objects\DICTOB~1.C:
Compiling source\objects\FILEOB~1.C:
Compiling source\objects\FLOATO~1.C:
Compiling source\objects\FRAMEO~1.C:
Compiling source\objects\FUNCOB~1.C:
Compiling source\objects\INTOBJ~1.C:
Compiling source\objects\LISTOB~1.C:
Compiling source\objects\LONGOB~1.C:
Compiling source\objects\METHOD~1.C:
Compiling source\objects\MODULE~1.C:
Compiling source\objects\OBJECT.C:
Compiling source\objects\RANGEO~1.C:
Compiling source\objects\SLICEO~1.C:
Compiling source\objects\STRING~1.C:
Compiling source\objects\TUPLEO~1.C:
Compiling source\objects\TYPEOB~1.C:
Compiling source\objects\XXOBJECT.C:
Compiling source\modules\_LOCAL~1.C:
Compiling source\modules\ARRAYM~1.C:
Compiling source\modules\AUDIOOP.C:
Compiling source\modules\BINASCII.C:
Compiling source\modules\CMATHM~1.C:
Compiling source\modules\CPICKLE.C:
Compiling source\modules\CRYPTM~1.C:
Compiling source\modules\CSTRIN~1.C:
Compiling source\modules\ERRNOM~1.C:
Compiling source\modules\FPECTL~1.C:
Compiling source\modules\FPETES~1.C:
Compiling source\modules\GETBUI~1.C:
Compiling source\modules\IMAGEOP.C:
Compiling source\modules\MAIN.C:
Compiling source\modules\MATHMO~1.C:
Compiling source\modules\MD5C.C:
Compiling source\modules\MD5MOD~1.C:
Compiling source\modules\NEWMOD~1.C:
Compiling source\modules\OPERATOR.C:
Compiling source\modules\PARSER~1.C:
Compiling source\modules\PCREMO~1.C:
Compiling source\modules\PUREMO~1.C:
Compiling source\modules\PYPCRE.C:
Compiling source\modules\PYTHON.C:
Compiling source\modules\REGEXM~1.C:
Compiling source\modules\REGEXPR.C:
Compiling source\modules\RGBIMG~1.C:
Compiling source\modules\ROTORM~1.C:
Compiling source\modules\SHAMOD~1.C:
Compiling source\modules\SOUNDEX.C:
Compiling source\modules\STROPM~1.C:
Compiling source\modules\TIMEMO~1.C:
Compiling source\modules\XXMODULE.C:
Compiling source\modules\YUVCON~1.C:






More information about the Python-list mailing list