Trouble with TimeStamp.o on install?
I've been spending the night trying to get Zope to compile on my system. It is an Intel based Solaris 8 box. I'm (now), using Python 2.1.2. I've poked and prodded at it every which way I can think of, but always end up with the following error: gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -c ././cPersistence.c -o ./cPersistence.o gcc -shared ./cPersistence.o -o ./cPersistence.so ld: warning: global symbol `_DYNAMIC' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -c ././cPickleCache.c -o ./cPickleCache.o gcc -shared ./cPickleCache.o -o ./cPickleCache.so ld: warning: global symbol `_DYNAMIC' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -DUSE_EXTENSION_CLASS -c ././TimeStamp.c -o ./TimeStamp.o Assembler: TimeStamp.c "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic "/var/tmp/ccHjoJfg.s", line 1003 : Syntax error "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic make: *** [TimeStamp.o] Error 1 Traceback (most recent call last): File "wo_pcgi.py", line 45, in ? File "wo_pcgi.py", line 33, in main File "/usr/local/tars/Zope-2.5.0-src/inst/build_extensions.py", line 32, in ? make('lib','python','ZODB') File "/usr/local/tars/Zope-2.5.0-src/inst/do.py", line 63, in make do('make') File "/usr/local/tars/Zope-2.5.0-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 512 If anyone can shead some light on this I would be very happy. Thank you, Joshua Longley Aliant/MTT
which tar did you use when uncompressing the files? it must be gnu tar, and not the standard tar that ships with solaris. jens On Saturday, April 13, 2002, at 03:49 , Longley, Josh wrote:
I've been spending the night trying to get Zope to compile on my system. It is an Intel based Solaris 8 box. I'm (now), using Python 2.1.2. I've poked and prodded at it every which way I can think of, but always end up with the following error:
gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -c ././cPersistence.c -o ./cPersistence.o gcc -shared ./cPersistence.o -o ./cPersistence.so ld: warning: global symbol `_DYNAMIC' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -c ././cPickleCache.c -o ./cPickleCache.o gcc -shared ./cPickleCache.o -o ./cPickleCache.so ld: warning: global symbol `_DYNAMIC' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.1/../../../libgcc_s.so value=LOCL); gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -DUSE_EXTENSION_CLASS -c ././TimeStamp.c -o ./TimeStamp.o Assembler: TimeStamp.c "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic "/var/tmp/ccHjoJfg.s", line 1003 : Syntax error "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic make: *** [TimeStamp.o] Error 1 Traceback (most recent call last): File "wo_pcgi.py", line 45, in ? File "wo_pcgi.py", line 33, in main File "/usr/local/tars/Zope-2.5.0-src/inst/build_extensions.py", line 32, in ? make('lib','python','ZODB') File "/usr/local/tars/Zope-2.5.0-src/inst/do.py", line 63, in make do('make') File "/usr/local/tars/Zope-2.5.0-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 512
If anyone can shead some light on this I would be very happy.
Thank you,
Joshua Longley Aliant/MTT
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Longley, Josh writes:
I've been spending the night trying to get Zope to compile on my system. It is an Intel based Solaris 8 box. I'm (now), using Python 2.1.2. I've poked and prodded at it every which way I can think of, but always end up with the following error: ..... gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H -I../../Components/ExtensionClass/src -DUSE_EXTENSION_CLASS -c ././TimeStamp.c -o ./TimeStamp.o Assembler: TimeStamp.c "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic "/var/tmp/ccHjoJfg.s", line 1003 : Syntax error "/var/tmp/ccHjoJfg.s", line 1003 : Illegal mnemonic Apparently, "gcc" generates assembler code which this does not like.
It might be possible that the Gnu Assember (part of the "binutils" package) solves the problem. An alternative might be to run your sytem under Linux rather than Solaris. Dieter
participants (3)
-
Dieter Maurer -
Jens Vagelpohl -
Longley, Josh