[Python-bugs-list] [Bug #113793] getopt.c compile fails on Solaris 2.6/gcc 2.95.2

noreply@sourceforge.net noreply@sourceforge.net
Sat, 16 Sep 2000 16:12:36 -0700


Bug #113793, was updated on 2000-Sep-07 06:09
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 6
Summary: getopt.c compile fails on Solaris 2.6/gcc 2.95.2

Details: I configured python with the following options:
/ldatae/Misc/python/Python-1.6/configure  --program-prefix=g --target=sparc-su
n-solaris2.6 --prefix=/projects/gnu/sparc-sun-solaris2.6 --exec-prefix=/projects
/gnu/sparc-sun-solaris2.6 --with-gnu-gettext --with-rx --with-curses=/projects/g
nu/sparc-sun-solaris2.6/lib --with-shared --with-profile --enable-nls --x-includ
es=/usr/openwin/include --x-libraries=/usr/openwin/lib --with-wctype-functions -
-with-x-toolkit=motif --with-x --with-threads
After compiling for a while, the build stops with this error:

gcc -g -O2 -I/ldatae/Misc/python/Python-1.6/Python/../Include -I.. -DHAVE_CONFIG
_H   -c -o getopt.o getopt.c
getopt.c: In function `getopt':
getopt.c:51: argument `argv' doesn't match prototype
/usr/include/stdio.h:329: prototype declaration
getopt.c:51: argument `optstring' doesn't match prototype
/usr/include/stdio.h:329: prototype declaration
make[1]: *** [getopt.o] Error 1
make[1]: Leaving directory `/ldatae/Misc/python/Python-1.6/Python'
make: *** [Python] Error 


I can supply more details if someone emails me at lvirden@cas.org .

Thank you.

Follow-Ups:

Date: 2000-Sep-07 15:01
By: jhylton

Comment:
Please do triage on this bug.
-------------------------------------------------------

Date: 2000-Sep-16 16:12
By: bwarsaw

Comment:
getopt.c doesn't seem to get compiled on Solaris 2.6 in Python 2.0.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113793&group_id=5470