[uWSGI] uwsgi does not compile on linux with the latest version

Yann Malet yann.malet at gmail.com
Mon Jan 11 15:56:42 CET 2010


Hello Roberto,
I can compile up to changeset 109.

In fact it would be great if you could use tag and branch in hg. This will
enable use to keep track of which changeset is usable.

Shall I conclude that the "best" changeset is 109 ?

Regards,
--yml

yml at thomas:uwsgi$ hg co 109
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
yml at thomas:uwsgi$ make -f Makefile.Linux-LLVM.Py26
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc `python2.6-config --libs`
`xml2-config --libs` utils.o socket.o pymodule.o main.o -o uwsgi26
yml at thomas:uwsgi$ hg co 110
abort: crosses branches (use 'hg merge' or 'hg update -C')
yml at thomas:uwsgi$ hg update -C
18 files updated, 0 files merged, 8 files removed, 0 files unresolved
yml at thomas:uwsgi$ make -f Makefile.Linux-LLVM.Py26
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc -c `python2.6-config --cflags`
`xml2-config --cflags` utils.c
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc -c `python2.6-config --cflags`
`xml2-config --cflags` socket.c
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc -c `python2.6-config --cflags`
`xml2-config --cflags` -o pymodule.o uwsgi_pymodule.c
uwsgi_pymodule.c: In function 'py_uwsgi_workers':
uwsgi_pymodule.c:607: warning: format '%d' expects type 'int', but argument
3 has type 'Py_ssize_t'
uwsgi_pymodule.c:608: warning: format '%d' expects type 'int', but argument
3 has type 'Py_ssize_t'
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc -c `python2.6-config --cflags`
`xml2-config --cflags` -o main.o uwsgi.c
/usr/lib/llvm/llvm/gcc-4.2/bin/llvm-gcc `python2.6-config --libs`
`xml2-config --libs` utils.o socket.o pymodule.o main.o -o uwsgi26
pymodule.o: In function `py_uwsgi_send_message':
/opt/src_install/uwsgi//uwsgi_pymodule.c:561: undefined reference to
`uwsgi_send_message'
pymodule.o: In function `py_uwsgi_send_multi_message':
/opt/src_install/uwsgi//uwsgi_pymodule.c:406: undefined reference to
`uwsgi_enqueue_message'
/opt/src_install/uwsgi//uwsgi_pymodule.c:452: undefined reference to
`uwsgi_parse_response'
pymodule.o: In function `py_uwsgi_send_spool':
/opt/src_install/uwsgi//uwsgi_pymodule.c:337: undefined reference to
`spool_request'
main.o: In function `spooler_start':
/opt/src_install/uwsgi//uwsgi.c:2648: undefined reference to `spooler'
main.o: In function `main':
/opt/src_install/uwsgi//uwsgi.c:1890: undefined reference to
`uwsgi_parse_response'
/opt/src_install/uwsgi//uwsgi.c:1890: undefined reference to `spool_request'
collect2: ld returned 1 exit status
make: *** [uwsgi] Error 1
yml at thomas:uwsgi$


On Mon, Jan 11, 2010 at 10:44 AM, Roberto De Ioris <roberto at unbit.it> wrote:

> On Mon, 2010-01-11 at 10:43 -0400, Yann Malet wrote:
> > Hello,
> > I am having difficulty to compile the latest version of uWSGI. I am
> > getting the error below.
> > Also it would be great if you could add the ubuntu packages that are
> > required to compile it from source,  this could be an addition to this
> > page : http://projects.unbit.it/uwsgi/wiki/Install
> >
> >
> > So far I think that the following packages are required :
> >
> >
> > sudo aptitude install python python-dev libxml libxml-dev llvm_gcc
> >
> >
> > Am I missing some ?
>
>
>
>
> Hi Yann, the LLVM compiler is experimental, you should not use it.
>
> >
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: roberto at jabber.unbit.it
>
> _______________________________________________
> uWSGI mailing list
> uWSGI at lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unbit.it/pipermail/uwsgi/attachments/20100111/4d780022/attachment.htm 


More information about the uWSGI mailing list