Python with cdaudio on Solaris 7/X86

Ben Taylor bent at clark.net
Fri Jun 30 16:19:33 EDT 2000


I can compile Python 1.52 on Solaris 7/X86 correctly with several
modules enabled. However, I'm having a problem enabling the
cdaudio module.  When I compile cdmodule.c, I get a lot of
errors that look like Python.h isn't getting read, although
I can see from the preprocessor output that is is included. 
I'm using libcdaudio-0.99.4.

Ideas?

Ben Taylor
bent at clark.net

Here are the error messages:

gcc   -I/opt/local/include -O2 -D_REENTRANT -I./../Include -I.. -DHAVE_CONFIG_H 
-c ./cdmodule.c
./cdmodule.c:43: parse error before `CDPLAYER'
./cdmodule.c:43: warning: no semicolon at end of struct or union
./cdmodule.c:44: warning: data definition has no type or storage class
./cdmodule.c:50: parse error before `cdplayerobject'
./cdmodule.c:50: warning: data definition has no type or storage class
./cdmodule.c:52: parse error before `{'
./cdmodule.c:56: parse error before `->'
./cdmodule.c:56: warning: data definition has no type or storage class
./cdmodule.c:58: parse error before `&'
./cdmodule.c:64: parse error before `cdplayerobject'
./cdmodule.c:64: warning: data definition has no type or storage class
./cdmodule.c:66: parse error before `{'
./cdmodule.c:70: parse error before `->'
./cdmodule.c:70: warning: data definition has no type or storage class
./cdmodule.c:72: parse error before `&'
./cdmodule.c:78: parse error before `cdplayerobject'
./cdmodule.c:78: warning: data definition has no type or storage class
./cdmodule.c:80: parse error before `{'
./cdmodule.c:89: parse error before `cdplayerobject'
./cdmodule.c:89: warning: data definition has no type or storage class
./cdmodule.c:91: parse error before `{'
./cdmodule.c:101: parse error before `&'
./cdmodule.c:107: parse error before `cdplayerobject'
./cdmodule.c:107: warning: data definition has no type or storage class
./cdmodule.c:109: parse error before `{'
./cdmodule.c:124: parse error before `&'
./cdmodule.c:130: parse error before `cdplayerobject'
./cdmodule.c:130: warning: data definition has no type or storage class
./cdmodule.c:132: parse error before `{'
./cdmodule.c:153: parse error before `cdplayerobject'
./cdmodule.c:153: warning: data definition has no type or storage class
./cdmodule.c:155: parse error before `{'
./cdmodule.c:157: warning: data definition has no type or storage class
./cdmodule.c:158: parse error before `status'
./cdmodule.c:158: warning: data definition has no type or storage class




More information about the Python-list mailing list