[Python-Dev] Has socketmodule compilation broken for anyone else lately?

Mark.Favas@csiro.au Mark.Favas@csiro.au
Fri, 19 Oct 2001 11:54:41 +0800


For the last couple of days, socketmodule hasn't compiled for me on Tru64
Unix. If I'm the only one seeing this, I'll file a bug report on sf...

building '_socket' extension
cc: Error: Modules/socketmodule.c, line 2820: An unexpected newline
character is present in a string literal. (nlstring)
"RAND_egd(path) -> bytes
^
cc: Warning: Modules/socketmodule.c, line 2821: Invalid token discarded.
(invaltoken)
\n\
^
cc: Warning: Modules/socketmodule.c, line 2822: Invalid token discarded.
(invaltoken)
Queries the entropy gather daemon (EGD) on socket path.  Returns number\n\
-----------------------------------------------------------------------^
cc: Warning: Modules/socketmodule.c, line 2823: Invalid token discarded.
(invaltoken)
of bytes read.  Raises socket.sslerror if connection to EGD fails or\n\
--------------------------------------------------------------------^
cc: Error: Modules/socketmodule.c, line 2824: An unexpected newline
character is present in a string literal. (nlstring)
if it does provide enough data to seed PRNG.";
--------------------------------------------^
cc: Error: Modules/socketmodule.c, line 3037: In this statement,
"PySocket_methods" is not declared. (undeclared)
	m = Py_InitModule3("_socket", PySocket_methods, module_doc);
------------^
/bin/cc -O -Olimit 1500 -DUSE_SSL=1 -I/usr/local/ssl/include -I.
-I/home/erebus2/groucho1/mark/src/python/CVS/python/dist/src/./Include
-I/usr/local/include -IInclude/ -c
/home/erebus2/groucho1/mark/src/python/CVS/python/dist/src/Modules/socketmod
ule.c -o build/temp.osf1-V4.0-alpha-2.2/socketmodule.o
WARNING: building of extension "_socket" failed: command '/bin/cc' failed
with exit status 1