[Flex-help] Three Tests Fail: test-c++-multiple-scanners, test-pthread, & test-alloc-extra
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Micah H. <mic...@gm...> - 2008-01-05 18:51:38
|
I'm having some problems getting three of the tests to pass for flex-2.5.34. I'm compiling on a 64-bit architecture, so my CFLAGS are simple "-m64". Output for test-c++-multiple-scanners: scanner-1.l:1: bad character: / scanner-1.l:1: unknown error processing section 1 ... scanner-1.l:1: bad character: . scanner-1.l:2: bad character: / ... scanner-1.l:3: bad character: / scanner-1.l:3: unknown error processing section 1 ... make[5]: *** [scanner-1.cpp] Error1 There are "bad characters" and "unknown errors" all the way through line 20. Output for test-pthread: scanner.l:55: bad character: / scanner.l:55: bad character: * scanner.l:55: unknown error processing section 1 ... scanner.l:55: bad character: . scanner.l:55: bad character: * scanner.l:55: bad character: / make[5]: *** [scanner.c] Error 1 Output for test-alloc-extra: gcc -m64 -c -o scanner.o -I. -I../.. -I../.. -g -O2 scanner.c scanner.l:47: error: conflicting types for 'testalloc' scanner.c:303: error: previous declaration of 'testalloc' was here scanner.l:94: error: conflicting types for 'testalloc' scanner.c:303: error: previous declaration of 'testalloc' was here make[5]: *** [scanner.o] Error 1 I'm not sure where to go from here... This is preventing UnixODBC from compiling. Thanks for any help, Micah Henning |