Re: Help compiling python

Samuel Tardieu (tardieu@valjean.enst.fr)
14 Mar 1995 12:24:30 +0100

>>>>> "Morgan" == Morgan Collett <mcollett@cs.uct.ac.za> writes:

[...]

Morgan> Everything seems to proceed normally until, while in the
Morgan> Modules subdirectory, it starts screaming about:

Morgan> Undefined first referenced symbol in file accept
Morgan> libModules.a(socketmodule.o) recv " socket " etc. send
Morgan> connect listen ..... etc.

Morgan> It dies with: ld: python: fatal error: symbol referencing
Morgan> errors.

[...]

Morgan> Any wise suggestions?

In Modules/Setup, try adding at the end of the line beginning by
"socket" (but before the comment): -lnsl -lsocket.

Sam

-- 
"La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette"
                                                       Charles Baudelaire