Hi
I try building uwsgi to 64 bits arch with CFLAGS="-arch x86_64"
CXXFLAGS="-arch x86_64" python uwsgiconfig.py --build but return the
error:
lz -lpthread -liconv -lm -lsqlite3 -ldl -framework CoreFoundation
-L/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config
-lpython2.6
ld: warning: in utils.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in protocol.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in socket.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in logging.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in master.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in master_utils.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in emperor.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in notify.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in plugins.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in lock.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in cache.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in queue.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in event.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in signal.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in rpc.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in gateway.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in loop.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in lib/rbtree.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in lib/amqp.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in rb_timers.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in main.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in proto/base.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in proto/uwsgi.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in proto/http.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in proto/fastcgi.o, file was built for unsupported file
format which is not the architecture being linked (i386)
ld: warning: in async.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in ini.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in yaml.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in ldap.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in snmp.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in sendfile.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in xmlconf.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in sqlite3.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in spooler.o, file was built for unsupported file format
which is not the architecture being linked (i386)
ld: warning: in plugins/python/python_plugin.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/pyutils.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/pyloader.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/wsgi_handlers.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/wsgi_headers.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/wsgi_subhandler.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/gil.o, file was built for unsupported
file format which is not the architecture being linked (i386)
ld: warning: in plugins/python/uwsgi_pymodule.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/python/profiler.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/ping/ping_plugin.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/cache/cache.o, file was built for unsupported
file format which is not the architecture being linked (i386)
ld: warning: in plugins/nagios/nagios.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/rpc/rpc_plugin.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/fastrouter/fastrouter.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in plugins/http/http.o, file was built for unsupported
file format which is not the architecture being linked (i386)
ld: warning: in plugins/ugreen/ugreen.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in /opt/local/lib/libxml2.dylib, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in /opt/local/lib/libiconv.dylib, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in /opt/local/lib/libsqlite3.dylib, file was built for
unsupported file format which is not the architecture being linked
(i386)
ld: warning: in /opt/local/lib/libpython2.6.dylib, file was built for
unsupported file format which is not the architecture being linked
(i386)
Undefined symbols:
"_main", referenced from:
__start in crt1.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
*** error linking uWSGI ***
Any suggestions?
Thanks
--
SIN ETIQUETAS.[ PUNTO ]
http://flavors.me/jyr
http://pythoncocoa.com
http://opentumblr.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi