Bugs item #1408372, was opened at 2006-01-17 18:55
Message generated for change (Comment added) made by broeker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1408372&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: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compilation issue
Initial Comment:
I have downloaded Cscope and tried to compile it. I'm
doing this on an HP-UX system. I typed "CFLAGS='-Ae -
DYYCHAR_ARRAY' CURSES_LIBS=-lHcurses ./configure"
which executed successfully. I then typed "make" and
recevied the following:
Making all in src
source='scanner.c' object='scanner.o'
libtool=no \
depfile='.deps/scanner.Po'
tmpdepfile='.deps/scanner.TPo' \
depmode=hp /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -Ae -
DYYCHAR_ARRAY -c `test -f 'scanner.c' ||
echo './'`scanner.c
cc: "scanner.h", line 82: error 1584: Inconsistent
type declaration: "yytext".
cc: "scanner.h", line 84: error 1584: Inconsistent
type declaration: "yyleng".
*** Error exit code 1
When I configured with simply "./configure", I get the
following when I type "make":
Making all in src
source='scanner.c' object='scanner.o'
libtool=no \
depfile='.deps/scanner.Po'
tmpdepfile='.deps/scanner.TPo' \
depmode=hp /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -g -c
`test -f 'scanner.c' || echo './'`scanner.c
cc: "scanner.h", line 84: error 1584: Inconsistent
type declaration: "yyleng".
cc: "scanner.c", line 192: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 192: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 193: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 193: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 195: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 195: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 203: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 203: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 205: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 205: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 206: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 206: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 207: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 207: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 556: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 556: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 587: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 587: warning 563: Argument #1 is
not the correct type.
cc: "scanner.c", line 696: warning 604: Pointers are
not assignment-compatible.
cc: "scanner.c", line 696: warning 563: Argument #1 is
not the correct type.
*** Error exit code 1
Any idea why this is happening? I hear cscope is a
great tool and I would like to use it. Your help is
appreciated.
-Lou
sellingthdrama@...
----------------------------------------------------------------------
>Comment By: Hans-Bernhard Broeker (broeker)
Date: 2006-01-18 15:37
Message:
Logged In: YES
user_id=27517
I have no HP-UX machine myself to test this on, so you'll
probably have to do a bit of investigation on your own to
find out in which interesting ways HP mutilated this edition
of their 'lex', to make it incompatible with what cscope
expects. It probably needs yet one more -D option set now
--- but only someone with the HP-UX lex documentation can
possibly find out what that may be.
It's incompatibilities like this that make me generally
recommend using 'flex' instead.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1408372&group_id=4664
|