Hi, I'm having problems building mico with --enable-csl2 option.
I use Linux 64 bits and my gcc version is the following: [felipe@felipedell-arch mico]$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/src/gcc-4.5-20110127/configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --enable-gold --with-plugin-ld=ld.gold --enable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --with-cloog-include=/usr/include/cloog-ppl --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info Thread model: posix gcc version 4.5.2 20110127 (prerelease) (GCC) And I get the following errors: loading cache ./config.cache checking for extra include and lib directories... checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-unknown-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style =gnu -Wl,--as-needed) works... yes checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style =gnu -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for c++... (cached) c++ checking whether the C++ compiler (c++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-sty le=gnu -Wl,--as-needed) works... yes checking whether the C++ compiler (c++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-sty le=gnu -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking for POSIXized ISC... no checking OS Type... unix checking for open in -lpthread... (cached) yes checking for pthread.h... (cached) yes checking for sched.h... (cached) yes checking for semaphore.h... (cached) yes checking for bison... (cached) bison -y checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking for ar... ar rc checking for ranlib... (cached) ranlib checking whether make sets ${MAKE}... (cached) yes checking for tclsh... (cached) /usr/bin/tclsh checking for javac... (cached) no checking for JavaCUP... no configure: warning: you have not installed JDK 1.1 and JavaCUP. java parts disabled. checking for esnacc/c++/asn-incl.h... (cached) no checking for open in -lc++asn1... (cached) no checking for esnacc... (cached) no checking for smp/AttributeCertificateDefinitions.h... (cached) no checking for open in -lcmlasn... (cached) no checking for open in -lm... (cached) yes checking for open in -lnsl... (cached) no checking for X... (cached) libraries /usr/lib, headers checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for open in -lsocket... (cached) no checking for open in -lbsd... (cached) no checking for open in -lelf... (cached) yes checking for open in -ldl... (cached) yes checking for open in -ldld... (cached) no checking for open in -lld... (cached) no checking for open in -lcrypto... (cached) yes checking for open in -lssl... (cached) yes checking for open in -lncurses... (cached) yes checking for readline in -lreadline... (cached) yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/select.h... (cached) yes checking for strings.h... (cached) yes checking for float.h... (cached) yes checking for ieeefp.h... (cached) no checking for sys/un.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for netdb.h... (cached) yes checking for dlfcn.h... (cached) yes checking for dl.h... (cached) no checking for netinet/tcp.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/time.h... (cached) yes checking for sunmath.h... (cached) no checking for sys/stat.h... (cached) yes checking for poll.h... (cached) yes checking for exception... (cached) yes checking for exception.h... (cached) no checking for terminate.h... (cached) no checking for openssl/ssl.h... (cached) yes checking for pgsql/libpq-fe.h... (cached) no checking for qapplication.h... (cached) no checking for qsocketnotifier.h... (cached) no checking for qlineedit.h... (cached) no checking for byteorder.h... (cached) no checking for iostream... (cached) yes checking for map... (cached) yes checking for string... (cached) yes checking for sstream... (cached) yes checking for Ansi C++ headers... yes checking for cxxabi.h... (cached) yes checking for __cxa_demangle... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for the third argument of getsockname... (cached) socklen_t checking for the second argument of getsockname... (cached) struct sockaddr * checking for select argument type... (cached) fd_set * checking whether gettimeofday has two args... (cached) yes checking for scanf("%Lf")... ok checking for printf("%Lf")... ok checking for vprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for gethostname... (cached) yes checking for infnan... (cached) no checking for isnan... (cached) yes checking for isinf... (cached) yes checking for finite... (cached) yes checking for infnanl... (cached) no checking for isnanl... (cached) yes checking for isinfl... (cached) yes checking for asinl... (cached) yes checking for ldexpl... (cached) yes checking for frexpl... (cached) yes checking for fabsl... (cached) yes checking for floorl... (cached) yes checking for ceill... (cached) yes checking for powl... (cached) yes checking for fmodl... (cached) yes checking for dlopen... (cached) yes checking for shl_load... (cached) no checking for ftime... (cached) yes checking for backtrace... (cached) yes checking for backtrace_symbols... (cached) yes checking size of unsigned char... (cached) 1 checking size of int... (cached) 4 checking size of unsigned int... (cached) 4 checking size of long... (cached) 8 checking size of unsigned long... (cached) 8 checking size of long long... (cached) 8 checking size of unsigned long long... (cached) 8 checking size of short... (cached) 2 checking size of unsigned short... (cached) 2 checking size of float... (cached) 4 checking size of double... (cached) 8 checking size of long double... (cached) 16 checking whether byte ordering is bigendian... (cached) no checking for floating point type... IEEE checking for gethostname prototype... yes checking for finite prototype... yes checking for strerror prototype... yes checking for ftime prototype... yes checking for bool... (cached) yes checking for typename... (cached) yes checking for guiding declarations... (cached) yes checking for namespaces... (cached) yes checking for const overload... (cached) yes checking for explicit method override... (cached) yes checking whether explicit struct methods are needed... (cached) no checking for overloaded typedefs... (cached) yes checking for dynamic_cast support... (cached) yes checking for exception handling flags... none checking for exception handling... ok checking for standard exception handling... ok checking how to create shared libraries... using admin/mico-shld.def.in with -fPIC checking build of PIC object file... ok checking creation of shared lib... ok checking if binary linked against shlib works... ok checking for exceptions in shared libraries... ok checking for dynamic loading... ok, using dlopen() family checking for thread-safe openssl... ok creating ./config.status creating MakeVars creating demo/MakeVars.install creating admin/mico-c++ creating admin/mico-shc++ creating admin/mico-ld creating admin/mico-ar creating admin/mico-setup.sh creating admin/mico-setup.csh creating admin/mico-config creating include/mico/config.h include/mico/config.h is unchanged creating include/mico/config.idl include/mico/config.idl is unchanged for i in admin include; do make -C $i adm || exit 1; done make[1]: Entering directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/admin' make[1]: Nothing to be done for `adm'. make[1]: Leaving directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/admin' make[1]: Entering directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/include' make[1]: Nothing to be done for `adm'. make[1]: Leaving directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/include' for i in orb ir idl auxdir coss ccm; do make -C $i lib || exit 1; done make[1]: Entering directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/orb' c++ -I../include -O2 -Wall -Wwrite-strings -march=x86-64 -mtune=generic -pipe -fno-strict -aliasing -D_REENTRANT -D_GNU_SOURCE -DPIC -fPIC -c fast_array.cc -o fast_array.pic.o c++ -I../include -O2 -Wall -Wwrite-strings -march=x86-64 -mtune=generic -pipe -fno-strict -aliasing -D_REENTRANT -D_GNU_SOURCE -DPIC -fPIC -c security/ODMConfig.cc -o security/ODM Config.pic.o In file included from ODMConfig.cc:243:0: /usr/include/FlexLexer.h:130:14: error: expected unqualified-id before numeric constant ODMConfig.cc: In member function ‘virtual int ODMConfig::yylex()’: ODMConfig.cc:536:10: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc:783:8: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc:806:23: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In constructor ‘odmFlexLexer::odmFlexLexer(std::istream*, std::ostream*)’: ODMConfig.cc:923:2: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In destructor ‘virtual odmFlexLexer::~odmFlexLexer()’: ODMConfig.cc:935:20: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘virtual void odmFlexLexer::switch_streams(std::istream*, s td::ostream*)’: ODMConfig.cc:942:21: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘int odmFlexLexer::yy_get_next_buffer()’: ODMConfig.cc:995:24: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘void odmFlexLexer::yyunput(int, char*)’: ODMConfig.cc:1184:15: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘int odmFlexLexer::yyinput()’: ODMConfig.cc:1226:22: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘virtual void odmFlexLexer::yyrestart(std::istream*)’: ODMConfig.cc:1285:9: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc:1288:18: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘virtual void odmFlexLexer::yy_switch_to_buffer(yy_buffer_s tate*)’: ODMConfig.cc:1295:7: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc:1298:7: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc:1306:2: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘void odmFlexLexer::yy_load_buffer_state()’: ODMConfig.cc:1320:15: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘virtual void odmFlexLexer::yy_delete_buffer(yy_buffer_stat e*)’: ODMConfig.cc:1357:12: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: In member function ‘void odmFlexLexer::yy_flush_buffer(yy_buffer_state*)’: ODMConfig.cc:1399:12: error: ‘yy_current_buffer’ was not declared in this scope ODMConfig.cc: At global scope: ODMConfig.cc:1537:14: warning: ‘void* yy_flex_realloc(void*, yy_size_t)’ defined but not use d make[1]: *** [security/ODMConfig.pic.o] Error 1 make[1]: Leaving directory `/tmp/yaourt-tmp-felipe/aur-mico/src/mico/orb' make: *** [system] Error 1 Regards, -- Felipe Magno de Almeida ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Mico-devel mailing list Mico-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mico-devel