[ python-Bugs-995458 ] Does not build selected SGI specific modules

SourceForge.net noreply at sourceforge.net
Wed Jul 21 20:55:38 CEST 2004


Bugs item #995458, was opened at 2004-07-21 13:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995458&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Bruce D. Ray (brucedray)
Assigned to: Nobody/Anonymous (nobody)
Summary: Does not build selected SGI specific modules

Initial Comment:
System is SGI R10K running Irix 6.5.15
Compiler is MIPSpro 7.3

Default configuration build sequence works and installs
a python
2.3.4 that does not support GL, audio, etc. because the
SGI specific
modules for those are not built in the default
configuration.  To
quote the README:

     On SGI IRIX, there are modules that interface to
many SGI
     specific system libraries, e.g. the GL library and
the audio
     hardware.  These modules will not be built by the
setup.py
     script.

Therefore, after the default configuration build and
install, I
uncommented the lines in Modules/Setup that read:

     gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK)
-lgl -lX11
     fm fmmodule.c $(GLHACK) -lfm -lgl
     sgi sgimodule.c
     al almodule.c -laudio
     cd cdmodule.c -lcdaudio -lds -lmediad
     cl clmodule.c -lcl -lawareaudio
     fpectl fpectlmodule.c -lfpe
     fpetest fpetestmodule.c

I then did a  make clean   followed by   make

Errors returned were:

         cc   -o python                         Modules/python.o                         libpython2.3.a -ldl  -lpthread
-lmpc   -lm  
ld32: WARNING 84 : /usr/lib32/libdl.so is not used for
resolving any symbol.
ld32: WARNING 84 : /usr/lib32/mips4/libmpc.a is not
used for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "initgl" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "initfm" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "initsgi" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "inital" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "initcd" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "initcl" --
1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "initfpectl"
-- 1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.   
ld32: ERROR   33 : Unresolved text symbol "initfpetest"
-- 1st referenced by libpython2.3.a(config.o).
        Use linker option -v to see when and which
objects, archives and dsos are loaded.    
ld32: INFO    152: Output file removed because of error.
*** Error code 2 (bu21)


A previous message on the build said that I would have
to rerun
make   Therefore, I again did a  make clean   followed
by make
and got the error message:

     don't know how to make glmodule.c


How is this build to be done?



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995458&group_id=5470


More information about the Python-bugs-list mailing list