From: SourceForge.net <no...@so...> - 2006-10-15 17:18:14
|
Bugs item #1028770, was opened at 2004-09-15 21:40 Message generated for change (Comment added) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1028770&group_id=4664 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Hans-Bernhard Broeker (broeker) Summary: AIX: libfl.a found, but not flex Initial Comment: After run ./configure successfully, "make" failed and showed the following errors: ld: 0711-317 ERROR: Undefined symbol: .yyreject ld: 0711-317 ERROR: Undefined symbol: .yyless ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. dpbmdb2:/usr/local/hx/pbs/fge/tools/cscope-15.5 $ ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2006-10-15 19:18 Message: Logged In: YES user_id=27517 Closed as unfixable for lack of feedback. ---------------------------------------------------------------------- Comment By: Hans-Bernhard Broeker (broeker) Date: 2004-09-22 12:00 Message: Logged In: YES user_id=27517 OK. But that doesn't tell us why you have a libfl on your box, but no 'flex'. Overriding LEXLIB in the make line fixes the symptom, but not the disease. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-09-20 20:31 Message: Logged In: NO It works with "make LEXLIB=-ll". Thank you very much! Jeff ---------------------------------------------------------------------- Comment By: Hans-Bernhard Broeker (broeker) Date: 2004-09-19 15:04 Message: Logged In: YES user_id=27517 Hmm... so you seem to have no 'flex' binary, but you have flex's support library, named libfl.a, in the linker search path somewhere (--> LEXLIB = '-lfl' found). That looks like a partial, and thus broken, installation of flex on your system. I think you'll either have to get rid of that libfl.a, or set up a complete, working installation of flex. I would recommend the latter. Failing that, I think you can override configure's result for LEXLIB manually, either at ./configure time or during the 'make' run: make LEXLIB=-ll may already work. Don't worry too much about the other errors listed in config.log --- getting errors or not is the usual way of 'configure' to find out about the things it wants to test for. ---------------------------------------------------------------------- Comment By: ge1688 (ge1688) Date: 2004-09-17 20:04 Message: Logged In: YES user_id=1122531 I work On AIX Unix and the config.log file shows: configure:2833: checking for flex configure:2862: result: no configure:2833: checking for lex configure:2849: found /usr/bin/lex configure:2859: result: lex also there are some errors in the log file: configure:2134: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2137: $? = 1 configure:2561: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before `me' configure:2564: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3023: checking whether yytext is a pointer configure:3039: gcc -o conftest -g -O2 conftest.c -lfl >&5 conftest.c:698: conflicting types for `yytext' conftest.c:57: previous declaration of `yytext' configure:3042: $? = 1 configure:3152: checking how to run the C preprocessor configure:3188: gcc -E conftest.c configure:3194: $? = 0 configure:3226: gcc -E conftest.c configure:3228: ac_nonexistent.h: No such file or directory configure:3232: $? = 1 checking for regcomp in -lregex configure:4254: gcc -o conftest -g -O2 conftest.c -lregex >&5 collect2: Library libregex not found configure:4257: $? = 1 checking sys/window.h usability configure:4873: gcc -c -g -O2 conftest.c >&5 configure:4922: sys/window.h: No such file or directory configure:4876: $? = 1 checking sys/termios.h usability configure:4873: gcc -c -g -O2 conftest.c >&5 configure:4922: sys/termios.h: No such file or directory configure:4876: $? = 1 checking for setmode configure:5377: gcc -o conftest -g -O2 conftest.c >&5 ld: 0711-317 ERROR: Undefined symbol: setmode ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status configure:5380: $? = 1 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run tar' AUTOCONF='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run autoconf' AUTOHEADER='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run autoheader' AUTOMAKE='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run automake-1.7' AWK='nawk' CC='gcc' CCDEPMODE='depmode=gcc' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CURSES_INCLUDEDIR='' CURSES_LIBS='-lcurses' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='ECHO_N='' ECHO_T='' EGREP='grep -E' EXEEXT='' GNOME_LINUX_FALSE='' GNOME_LINUX_TRUE='#' HAS_CURSES_FALSE='#' HAS_CURSES_TRUE='' HAS_GNOME_FALSE='' HAS_GNOME_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LEX='lex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS=' lstat$U.o' LIBS='' LTLIBOBJS=' lstat$U.lo' MAKEINFO='${SHELL} /usr/local/hx/pbs/fge/tools/cscope- 15.5/missing --run makeinfo' OBJEXT='o' PACKAGE='cscope' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/sh' STRIP='' USING_GNOME2_FALSE='' USING_GNOME2_TRUE='#' USING_LEX_FALSE='#' USING_LEX_TRUE='' VERSION='15.5' YACC='yacc' ac_ct_CC='gcc' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__quote='' bindir='${exec_prefix}/bin' build='powerpc-ibm-aix5.2.0.0' build_alias='' build_cpu='powerpc' build_os='aix5.2.0.0' build_vendor='ibm' datadir='${prefix}/share' exec_prefix='${prefix}' gnome1='' gnome2='' host='powerpc-ibm-aix5.2.0.0' host_alias='' host_cpu='powerpc' host_os='aix5.2.0.0' host_vendor='ibm' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/local/hx/pbs/fge/tools/cscope-15.5/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAS_CURSES 1 #define HAVE_DIRENT_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GETCWD 1 #define HAVE_INTTYPES_H 1 #define HAVE_LSTAT 1 #define HAVE_MEMCPY 1 #define HAVE_MEMORY_H 1 #define HAVE_MEMSET 1 #define HAVE_REGCMP 1 #define HAVE_REGCOMP 1 #define HAVE_SNPRINTF 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRCHR 1 #define HAVE_STRERROR 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VSNPRINTF 1 #define PACKAGE "cscope" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define RETSIGTYPE void #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define USE_SYSV_CURSES 1 #define USING_LEX 1 #define VERSION "15.5" configure: exit 0 ----- Please let me know if you need more information. Thanks, Jeff ---------------------------------------------------------------------- Comment By: Hans-Bernhard Broeker (broeker) Date: 2004-09-16 11:35 Message: Logged In: YES user_id=27517 I'll second Darryl's request: please tell us what platform that is you're experiencing this on. And prepare having a good look at 'config.log' so you can tell us all ./configure found out about flex and lex on your system. Without that information, it's quite impossible to address this meaningfully. ---------------------------------------------------------------------- Comment By: Darryl O (darrylo) Date: 2004-09-15 23:11 Message: Logged In: YES user_id=27401 This smells like AIX. Is it? If so, you might want to try using flex and byacc/bison, if you're not already doing so. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1028770&group_id=4664 |