error compiling linkchecker

mmarkzon at gmail.com mmarkzon at gmail.com
Mon Aug 8 22:09:36 EDT 2005


I have been struggling compiling linkchecker from
http://linkchecker.sourceforge.net/.  The last thing I get is "error:
command 'gcc' failed with exit status 1" which is not very helpful.
This is with Python 2.4.1 on Solaris 2.8.  Can anyone help?  Thank you.


-> python setup.py build
creating /home/kzvbq3/linkchecker-3.2/_linkchecker_configdata.py
running build
running build_py
running build_ext
building 'linkcheck.HtmlParser.htmlsax' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -I/home
/kzvbq3/include -I/home/kzvbq3/usr/local/include/python2.4
-Ilinkcheck/HtmlParse
r -I/home/kzvbq3/usr/local/lib/python2.4/lib-dynload/include/python2.4
-c linkch
eck/HtmlParser/htmllex.c -o
build/temp.solaris-2.8-sun4u-2.4/linkcheck/HtmlParse
r/htmllex.o -pedantic -std=gnu99
cc1: unknown C standard `gnu99'
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/stdio.h:20: warning: ignoring pragma: "@(#)stdio.h
1.7899/1
2/08 SMI
In file included from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/stdio_iso.h:32: warning: ignoring pragma:
"@(#)stdio_is
o.h     1.2     99/10/25 SMI
In file included from /home/kzvbq3/include/iso/stdio_iso.h:35,
                 from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/feature_tests.h:13: warning: ignoring pragma:
"@(#)feat
ure_tests.h     1.18    99/07/26 SMI
In file included from /home/kzvbq3/include/sys/feature_tests.h:15,
                 from /home/kzvbq3/include/iso/stdio_iso.h:35,
                 from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/isa_defs.h:9: warning: ignoring pragma:
"@(#)isa_defs.h
        1.20    99/05/04 SMI
In file included from /home/kzvbq3/include/iso/stdio_iso.h:36,
                 from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/va_list.h:9: warning: ignoring pragma:
"@(#)va_list.h1.
12      99/05/04 SMI
In file included from /home/kzvbq3/include/iso/stdio_iso.h:37,
                 from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/stdio_tag.h:9: warning: ignoring pragma:
"@(#)stdio_tag.h1.
3       98/04/20 SMI
In file included from /home/kzvbq3/include/iso/stdio_iso.h:38,
                 from /home/kzvbq3/include/stdio.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:32,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/stdio_impl.h:9: warning: ignoring pragma:
"@(#)stdio_impl.h
        1.8     99/06/10 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:37,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/string.h:16: warning: ignoring pragma:
"@(#)string.h1.2499/
08/10 SMI
In file included from /home/kzvbq3/include/string.h:18,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:37,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/string_iso.h:28: warning: ignoring pragma:
"@(#)string_
iso.h   1.2     99/11/09 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:38,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/errno.h:17: warning: ignoring pragma: "@(#)errno.h
1.1699/0
7/26 SMI
In file included from /home/kzvbq3/include/errno.h:23,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:38,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/errno.h:11: warning: ignoring pragma:
"@(#)errno.h1.200
0/02/14 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:38,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/errno.h:38: warning: function declaration isn't a
prototype

In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/stdlib.h:16: warning: ignoring pragma:
"@(#)stdlib.h1.4799/
11/03 SMI
In file included from /home/kzvbq3/include/stdlib.h:18,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/stdlib_iso.h:28: warning: ignoring pragma:
"@(#)stdlib_
iso.h   1.3     02/10/10 SMI
In file included from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/wait.h:16: warning: ignoring pragma:
"@(#)wait.h1.2197/
04/08 SMI
In file included from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/types.h:17: warning: ignoring pragma:
"@(#)types.h1.690
3/08/07 SMI
In file included from /home/kzvbq3/include/sys/types.h:25,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/machtypes.h:16: warning: ignoring pragma:
"@(#)machtype
s.h     1.13    99/05/04 SMI
In file included from /home/kzvbq3/include/sys/types.h:37,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/int_types.h:9: warning: ignoring pragma:
"@(#)int_types
.h      1.6     97/08/20 SMI
In file included from /home/kzvbq3/include/sys/types.h:549,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/select.h:12: warning: ignoring pragma:
"@(#)select.h1.1
6       98/04/27 SMI
In file included from /home/kzvbq3/include/sys/select.h:17,
                 from /home/kzvbq3/include/sys/types.h:549,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/time.h:23: warning: ignoring pragma:
"@(#)time.h2.6703/
08/07 SMI
In file included from /home/kzvbq3/include/sys/time.h:411,
                 from /home/kzvbq3/include/sys/select.h:17,
                 from /home/kzvbq3/include/sys/types.h:549,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/time.h:16: warning: ignoring pragma: "@(#)time.h
1.3999/0
8/10 SMI
In file included from /home/kzvbq3/include/time.h:20,
                 from /home/kzvbq3/include/sys/time.h:411,
                 from /home/kzvbq3/include/sys/select.h:17,
                 from /home/kzvbq3/include/sys/types.h:549,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/time_iso.h:28: warning: ignoring pragma:
"@(#)time_iso.
h       1.1     99/08/09 SMI
In file included from /home/kzvbq3/include/time.h:83,
                 from /home/kzvbq3/include/sys/time.h:411,
                 from /home/kzvbq3/include/sys/select.h:17,
                 from /home/kzvbq3/include/sys/types.h:549,
                 from /home/kzvbq3/include/sys/wait.h:20,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/time_impl.h:15: warning: ignoring pragma:
"@(#)time_imp
l.h     1.5     99/10/05 SMI
In file included from /home/kzvbq3/include/sys/wait.h:24,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/resource.h:16: warning: ignoring pragma:
"@(#)resource.
h       1.25    98/06/30 SMI
In file included from /home/kzvbq3/include/sys/wait.h:25,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/siginfo.h:16: warning: ignoring pragma:
"@(#)siginfo.h1
.54     98/03/27 SMI
In file included from /home/kzvbq3/include/sys/siginfo.h:126,
                 from /home/kzvbq3/include/sys/wait.h:25,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/machsig.h:16: warning: ignoring pragma:
"@(#)machsig.h1
.15     99/08/15 SMI
In file included from /home/kzvbq3/include/sys/wait.h:26,
                 from /home/kzvbq3/include/stdlib.h:22,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:39,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/procset.h:16: warning: ignoring pragma:
"@(#)procset.h1
.20     00/02/14 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:41,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/unistd.h:16: warning: ignoring pragma:
"@(#)unistd.h1.5899/
11/11 SMI
In file included from /home/kzvbq3/include/unistd.h:21,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:41,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/unistd.h:25: warning: ignoring pragma:
"@(#)unistd.h1.3
7       98/10/28 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:41,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/unistd.h:782: warning: ignoring pragma: )
In file included from /usr/include/math.h:229,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include
/math.h:5,
                 from
/home/kzvbq3/usr/local/include/python2.4/pyport.h:90,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:55,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/floatingpoint.h:11: warning: ignoring pragma:
"@(#)floating
point.h 2.5     99/06/22 SMI
In file included from /usr/include/math.h:229,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include
/math.h:5,
                 from
/home/kzvbq3/usr/local/include/python2.4/pyport.h:90,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:55,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/floatingpoint.h:51: warning: function declaration
isn't a p
rototype
In file included from
/home/kzvbq3/usr/local/include/python2.4/pyport.h:155,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:55,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/stat.h:18: warning: ignoring pragma:
"@(#)stat.h1.299/0
5/19 SMI
In file included from /home/kzvbq3/include/sys/stat.h:509,
                 from
/home/kzvbq3/usr/local/include/python2.4/pyport.h:155,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:55,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/sys/stat_impl.h:9: warning: ignoring pragma:
"@(#)stat_impl
.h      1.1     99/05/04 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/unicodeobject.h:5
5,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:81,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/ctype.h:16: warning: ignoring pragma: "@(#)ctype.h
1.3399/0
8/10 SMI
In file included from /home/kzvbq3/include/ctype.h:18,
                 from
/home/kzvbq3/usr/local/include/python2.4/unicodeobject.h:5
5,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:81,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/ctype_iso.h:28: warning: ignoring pragma:
"@(#)ctype_is
o.h     1.1     99/08/09 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/unicodeobject.h:1
18,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:81,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/wchar.h:9: warning: ignoring pragma: "@(#)wchar.h
1.3399/0
8/30 SMI
In file included from /home/kzvbq3/include/wchar.h:11,
                 from
/home/kzvbq3/usr/local/include/python2.4/unicodeobject.h:1
18,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:81,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/iso/wchar_iso.h:21: warning: ignoring pragma:
"@(#)wchar_is
o.h     1.2     99/11/10 SMI
In file included from /home/kzvbq3/include/iso/wchar_iso.h:25,
                 from /home/kzvbq3/include/wchar.h:11,
                 from
/home/kzvbq3/usr/local/include/python2.4/unicodeobject.h:1
18,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:81,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/include/wchar_impl.h:9: warning: ignoring pragma:
"@(#)wchar_impl.h
        1.3     99/07/26 SMI
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:82,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/usr/local/include/python2.4/intobject.h:41: warning: ANSI
C does no
t support `long long'
In file included from
/home/kzvbq3/usr/local/include/python2.4/Python.h:84,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/home/kzvbq3/usr/local/include/python2.4/longobject.h:37: warning: ANSI
C does n
ot support `long long'
/home/kzvbq3/usr/local/include/python2.4/longobject.h:38: warning: ANSI
C does n
ot support `long long'
/home/kzvbq3/usr/local/include/python2.4/longobject.h:39: warning: ANSI
C does n
ot support `long long'
/home/kzvbq3/usr/local/include/python2.4/longobject.h:40: warning: ANSI
C does n
ot support `long long'
/home/kzvbq3/usr/local/include/python2.4/longobject.h:41: warning: ANSI
C does n
ot support `long long'
In file included from
/home/kzvbq3/usr/local/include/python2.4/stringobject.h:10
,
                 from
/home/kzvbq3/usr/local/include/python2.4/Python.h:90,
                 from linkcheck/HtmlParser/htmlsax.h:20,
                 from linkcheck/HtmlParser/htmllex.c:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/stdarg.h:170:
warning
: redefinition of `va_list'
/home/kzvbq3/include/stdio.h:120: warning: `va_list' previously
declared here
error: command 'gcc' failed with exit status 1




More information about the Python-list mailing list