469,962 Members | 2,299 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,962 developers. It's quick & easy.

Python26 compilation problem

I am getting
Modules/config.c:39: error: expected declaration specifiers or '...'
before numeric constant

because of
extern void initsocket(2)(void);

in config.c

What is this? How do I fix it?
Mathew
Oct 23 '08 #1
1 977
On 2008-10-23 18:32, Mathew wrote:
I am getting
Modules/config.c:39: error: expected declaration specifiers or '...'
before numeric constant

because of
extern void initsocket(2)(void);

in config.c

What is this? How do I fix it?
Without more information on platform, compiler, OS there's not
a lot we can do to help.

Note that you normally shouldn't have such a line in config.c,
unless you've modified Modules/Setup.

--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source (#1, Oct 24 2008)
>>Python/Zope Consulting and Support ... http://www.egenix.com/
mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
__________________________________________________ ______________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
Oct 23 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Joachim | last post: by
reply views Thread by Mythran | last post: by
3 posts views Thread by seema | last post: by
4 posts views Thread by Bob | last post: by
6 posts views Thread by maxwell | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.