[Fresco-devel] Re: Trouble compiling Fresco
"Der Benutzer" <[email protected]> Thu, 17 Apr 2003 21:46:00 +0000
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for taking the time to respond. From the config.log file, it seems like the __cplusplus compiler flag isn't defined. I also seem to be missing the ggi/system.h and ggi/gii.h. Should those have come with the GGI library? Here are the error messages from the log file: configure:2219: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:2222: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif [......] configure:2438: g++ -V </dev/null >&5 g++: argument to `-V' missing [......] configure:2619: g++ -c -g -O2 conftest.cc >&5 configure: In function `int main()': configure:2614: `exit' undeclared (first use this function) configure:2614: (Each undeclared identifier is reported only once for each function it appears in.) configure:2622: $? = 1 configure: failed program was: | #line 2602 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } [......] configure:2730: gcc -E conftest.c configure:2732:28: ac_nonexistent.h: No such file or directory configure:2736: $? = 1 configure: failed program was: | #line 2721 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> [......] configure:2837: gcc -E conftest.c configure:2839:28: ac_nonexistent.h: No such file or directory configure:2843: $? = 1 configure: failed program was: | #line 2828 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> [......] configure:2960: g++ -E conftest.cc configure:2962:28: ac_nonexistent.h: No such file or directory configure:2966: $? = 1 configure: failed program was: | #line 2951 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> [......] configure:3067: g++ -E conftest.cc configure:3069:28: ac_nonexistent.h: No such file or directory configure:3073: $? = 1 configure: failed program was: | #line 3058 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> [......] configure:4731: g++ -c -g -O2 -D_REENTRANT conftest.cc >&5 In file included from /usr/include/ggi/ggi.h:35, from configure:4779: /usr/include/ggi/types.h:33:24: ggi/system.h: No such file or directory In file included from /usr/include/ggi/ggi.h:35, from configure:4779: /usr/include/ggi/types.h:43: parse error before `,' token /usr/include/ggi/types.h:44: syntax error before `;' token /usr/include/ggi/types.h:46: syntax error before `;' token /usr/include/ggi/types.h:61: parse error before `,' token /usr/include/ggi/types.h:62: 'uint16' is used as a type, but is not defined as a type. /usr/include/ggi/types.h:69: syntax error before `;' token /usr/include/ggi/types.h:133: 'sint32' is used as a type, but is not defined as a type. /usr/include/ggi/types.h:137: 'ggi_graphtype' is used as a type, but is not defined as a type. /usr/include/ggi/types.h:177: 'uint32' is used as a type, but is not defined as a type. In file included from configure:4779: /usr/include/ggi/ggi.h:36:21: ggi/gii.h: No such file or directory In file included from configure:4779: /usr/include/ggi/ggi.h:60: syntax error before `;' token /usr/include/ggi/ggi.h:61: syntax error before `;' token /usr/include/ggi/ggi.h:62: syntax error before `;' token /usr/include/ggi/ggi.h:63: syntax error before `;' token /usr/include/ggi/ggi.h:64: syntax error before `;' token /usr/include/ggi/ggi.h:65: syntax error before `;' token /usr/include/ggi/ggi.h:66: syntax error before `;' token /usr/include/ggi/ggi.h:67: syntax error before `;' token /usr/include/ggi/ggi.h:68: syntax error before `;' token /usr/include/ggi/ggi.h:69: syntax error before `;' token /usr/include/ggi/ggi.h:70: syntax error before `;' token /usr/include/ggi/ggi.h:186: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:189: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:192: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:197: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:200: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:203: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:206: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:209: 'ggi_pixel' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:218: parse error before `[' token /usr/include/ggi/ggi.h:222: 'uint32' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:224: 'uint32' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:282: 'uint32' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:292: 'uint32' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:296: 'uint32' is used as a type, but is not defined as a type. /usr/include/ggi/ggi.h:370: type specifier omitted for parameter `uint32' /usr/include/ggi/ggi.h:370: parse error before `)' token /usr/include/ggi/ggi.h:388: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:388: parse error before `)' token /usr/include/ggi/ggi.h:391: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:391: parse error before `,' token /usr/include/ggi/ggi.h:394: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:394: parse error before `)' token /usr/include/ggi/ggi.h:396: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:396: parse error before `,' token /usr/include/ggi/ggi.h:400: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:400: parse error before `)' token /usr/include/ggi/ggi.h:402: type specifier omitted for parameter `ggi_graphtype ' /usr/include/ggi/ggi.h:402: parse error before `,' token /usr/include/ggi/ggi.h:425: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:425: parse error before `)' token /usr/include/ggi/ggi.h:426: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:426: parse error before `*' token /usr/include/ggi/ggi.h:427: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:427: parse error before `)' token /usr/include/ggi/ggi.h:428: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:428: parse error before `*' token /usr/include/ggi/ggi.h:434: parse error before `,' token /usr/include/ggi/ggi.h:435: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:435: parse error before `,' token /usr/include/ggi/ggi.h:474: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:474: parse error before `)' token /usr/include/ggi/ggi.h:475: type specifier omitted for parameter `ggi_pixel' /usr/include/ggi/ggi.h:475: parse error before `*' token /usr/include/ggi/ggi.h:501: parse error before `,' token /usr/include/ggi/ggi.h:503: type specifier omitted for parameter ` gii_event_mask' /usr/include/ggi/ggi.h:503: parse error before `)' token /usr/include/ggi/ggi.h:504: type specifier omitted for parameter `gii_event' /usr/include/ggi/ggi.h:504: parse error before `*' token /usr/include/ggi/ggi.h:506: type specifier omitted for parameter ` gii_event_mask' /usr/include/ggi/ggi.h:506: parse error before `)' token /usr/include/ggi/ggi.h:507: parse error before `)' token /usr/include/ggi/ggi.h:508: type specifier omitted for parameter `gii_event' /usr/include/ggi/ggi.h:508: parse error before `*' token /usr/include/ggi/ggi.h:510: parse error before `,' token /usr/include/ggi/ggi.h:511: parse error before `)' token configure:4734: $? = 1 configure: failed program was: | #line 4720 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __x86__ 1 | #define __linux__ 1 | #define __OSVERSION__ 2 | #define ORB_omniORB 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # if HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <ggi/ggi.h> configure:4750: result: no configure:4754: checking ggi/ggi.h presence configure:4765: g++ -E -D_REENTRANT conftest.cc In file included from /usr/include/ggi/ggi.h:35, from configure:4781: /usr/include/ggi/types.h:33:24: ggi/system.h: No such file or directory In file included from configure:4781: /usr/include/ggi/ggi.h:36:21: ggi/gii.h: No such file or directory configure:4771: $? = 1 configure: failed program was: | #line 4756 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "Berlin-GGI" | #define PACKAGE_TARNAME "berlin-ggi" | #define PACKAGE_VERSION "M2" | #define PACKAGE_STRING "Berlin-GGI M2" | #define PACKAGE_BUGREPORT "[email protected]" | #ifdef __cplusplus | #include <stdlib.h> | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __x86__ 1 | #define __linux__ 1 | #define __OSVERSION__ 2 | #define ORB_omniORB 1 | /* end confdefs.h. */ | #include <ggi/ggi.h> configure:4790: result: no configure:4826: checking for ggi/ggi.h configure:4833: result: no configure:5167: error: this package needs GGI to compile and run _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail