This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re[2]: compiling clicq, problems with c++
Hallo Gareth,
Monday, November 18, 2002, 10:12:52 AM, you wrote:
GP> if you look at the actual contents of those files - they include each other
GP> the standard method of including socket.h is
GP> #define <sys/socket.h>
ok, changed that. Thanks.
GP> first point - a given line of output doesnt cause make to abort - its when a
GP> program returns with a return code indicating error that make aborts.
GP> second point - Gcc will continue after it finds errors - and try to report
GP> as much as possible. you've only given the last 3 lines which are both
GP> warnings. - you havent given the command invoked so we dont know if -Werror
GP> has been passed. And theres no way to know whats between the command and
GP> the first of the lines you have stated.
GP> Not enough context.
ok, sorry. i wanted to keep the mail as short as possible, here's the
call to make:
merkosh@M111 /tmp/clicq-0.1
$ make
make all-recursive
make[1]: Entering directory `/tmp/clicq-0.1'
Making all in icqlib
make[2]: Entering directory `/tmp/clicq-0.1/icqlib'
make all-recursive
make[3]: Entering directory `/tmp/clicq-0.1/icqlib'
Making all in icqlib
make[4]: Entering directory `/tmp/clicq-0.1/icqlib/icqlib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/clicq-0.1/icqlib/icqlib'
make[4]: Entering directory `/tmp/clicq-0.1/icqlib'
make[4]: Leaving directory `/tmp/clicq-0.1/icqlib'
make[3]: Leaving directory `/tmp/clicq-0.1/icqlib'
make[2]: Leaving directory `/tmp/clicq-0.1/icqlib'
Making all in src
make[2]: Entering directory `/tmp/clicq-0.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../icqlib/icqlib -g -O2 -c clicq.c
clicq.c:16:18: term.h: No such file or directory
In file included from clicq.c:20:
cmd.h:43:8: warning: extra tokens at end of #endif directive
In file included from clicq.h:7,
from clicq.c:22:
enum.h:21:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:22:
clicq.h:148:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:23:
cfg.h:14:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:24:
icqhandle.h:25:8: warning: extra tokens at end of #endif directive
clicq.c: In function `input_handler':
clicq.c:131: warning: deprecated use of label at end of compound statement
clicq.c: In function `main':
clicq.c:267: warning: assignment from incompatible pointer type
clicq.c:268: warning: assignment from incompatible pointer type
make[2]: *** [clicq.o] Error 1
make[2]: Leaving directory `/tmp/clicq-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/clicq-0.1'
make: *** [all-recursive-am] Error 2
Where's the "Error" that make indicates?
GP> third and final point
...
GP> They are probably in header files which have been included. Since you say
GP> this is c++ - they are probably members of a class which is defined in a
GP> header.
GP> but its not an issue probably.
Well, I did a full text search on the varriables in /tmp/clicq-0.1/*
and got only one match. :(
Thank you for your help
Ciao
Uwe
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/