Ticket #234 (closed defect: Fixed)

Opened 6 years ago

Last modified 39 years ago

Problem compiling console plugin

Reported by: pierre42 Owned by:
Priority: normal Milestone:
Component: build Version: devel
Keywords: Cc:

Description

Hi,

I try to compile the console plugin from licq-20020427 (daily cvs) on my linux slackware 8 with gcc-3.0.4 there was no problem with the configure, but for the make i got :

# gmake gmake all-recursive gmake[1]: Entering directory `/tmp/licq-20020427/plugins/console' Making all in src gmake[2]: Entering directory `/tmp/licq-20020427/plugins/console/src' source='console.cpp' object='console.lo' libtool=yes depfile='.deps/console.Plo' tmpdepfile='.deps/console.TPlo' depmode=gcc3 /bin/sh ../admin/depcomp /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I/tmp/licq-20020427/include -I/usr/include/ncurses -O3 -march=i686 -fno-rtti -fno-exceptions -fno-check-new -c -o console.lo `test

-f console.cpp echo './'`console.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I/tmp/licq-20020427/include -I/usr/include/ncurses -O3 -march=i686 -fno-rtti -fno-exceptions -fno-check-new -c console.cpp -MT console.lo -MF .deps/console.TPlo -MD -MP -fPIC -DPIC -o .libs/console.o In file included from console.cpp:16: console.h:41: syntax error before `;' token console.h:56: 'list' is used as a type, but is not defined as a type. console.h:73: 'list' is used as a type, but is not defined as a type. console.h:74: syntax error before `::' token console.h:75: 'list' is used as a type, but is not defined as a type. console.h:76: 'MacroList?' is used as a type, but is not defined as a type. console.h:92: `list' was not declared in this scope console.h:92: parse error before `*' token console.cpp:27:13: warning: extra tokens at end of #undef directive console.cpp: In constructor `CLicqConsole::CLicqConsole(int, char**)': console.cpp:146: `listMacros' undeclared (first use this function) console.cpp:146: (Each undeclared identifier is reported only once for each

function it appears in.)

console.cpp:160: `m_lCmdHistoryIter' undeclared (first use this function) console.cpp:160: `m_lCmdHistory' undeclared (first use this function) console.cpp: In member function `int CLicqConsole::Run(CICQDaemon*)': console.cpp:272: `list' undeclared (first use this function) console.cpp:272: parse error before `*' token console.cpp:273: `iter' undeclared (first use this function) console.cpp:273: `m_lFileStat' undeclared (first use this function) console.cpp:306: parse error before `*' token console.cpp: In member function `void CLicqConsole::DoneOptions?()': console.cpp:357: `MacroList?' undeclared (first use this function) console.cpp:357: parse error before `::' token console.cpp: At global scope: console.cpp:573: parse error before `*' token console.cpp:592:13: warning: extra tokens at end of #undef directive console.cpp: In member function `bool CLicqConsole::ParseMacro?(char*)': console.cpp:1306: parse error before `::' token gmake[2]: *** [console.lo] Error 1 gmake[2]: Leaving directory `/tmp/licq-20020427/plugins/console/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/licq-20020427/plugins/console' gmake: *** [all] Error 2

It would be great if you could help me with this !

Best regards,

Pierre.

Change History

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

I got the same problem with licq-20020428 (daily cvs).

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

I got the same problem with licq-20020429 (daily cvs).

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

I got the same problem with licq-20020430 (daily cvs).

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

I got the same problem with licq-20020501 (daily cvs).

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

I got the same problem with licq-20020502 (daily cvs).

Changed 6 years ago by pierre42

Logged In: YES user_id=512388

Now with licq-20020522 and gcc-3.1, i got this :

# gmake gmake all-recursive gmake[1]: Entering directory `/tmp/licq-20020522/plugins/console' Making all in src gmake[2]: Entering directory `/tmp/licq-20020522/plugins/console/src' source='console.cpp' object='console.lo' libtool=yes depfile='.deps/console.Plo' tmpdepfile='.deps/console.TPlo' depmode=gcc3 /bin/sh ../admin/depcomp /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I/tmp/licq-20020522/include -I/usr/include/ncurses -O3 -march=i686 -O3 -march=i686 -fno-rtti -fno-exceptions -fno-check-new -c -o console.lo test -f console.cpp || echo './'console.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I/tmp/licq-20020522/include -I/usr/include/ncurses -O3 -march=i686 -O3 -march=i686 -fno-rtti -fno-exceptions -fno-check-new -c console.cpp -MT console.lo -MF .deps/console.TPlo -MD -MP -fPIC -DPIC -o .libs/console.o In file included from /usr/local/include/g++-v3/backward/vector.h:59,

from console.cpp:8:

/usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/local/include/g++-v3/fstream:48,

from

/usr/local/include/g++-v3/backward/fstream.h:32,

from console.cpp:9:

/usr/local/include/g++-v3/bits/basic_file.h:52: parse error before `{' token /usr/local/include/g++-v3/bits/basic_file.h:57: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:57: function `int std::overflow(int

= -1)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:60: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:60: function `int std::underflow()'

is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:63: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:63: function `int std::uflow()' is

initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:66: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:66: function `int

std::pbackfail(int)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:69: parse error before `*' token /usr/local/include/g++-v3/bits/basic_file.h:69: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:69: function `streamsize

std::xsputn(...)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:72: `_CharT' was not declared in

this scope

/usr/local/include/g++-v3/bits/basic_file.h:72: `s' was not declared in this

scope

/usr/local/include/g++-v3/bits/basic_file.h:72: parse error before `)' token /usr/local/include/g++-v3/bits/basic_file.h:72: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:72: function `streamsize

std::xsgetn(...)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:76: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:76: function `streamoff

std::seekoff(long int, std::_Ios_Seekdir,

std::_Ios_Openmode =

std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)((std::_Ios_Openmode)8,

(std::_Ios_Openmode)16))' is

initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:80: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:80: function `streamoff

std::seekpos(long int, std::_Ios_Openmode = std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)((std::_Ios_Openmode)8,

(std::_Ios_Openmode)16))' is

initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:83: `_CharT' was not declared in

this scope

/usr/local/include/g++-v3/bits/basic_file.h:83: `b' was not declared in this

scope

/usr/local/include/g++-v3/bits/basic_file.h:83: parse error before `)' token /usr/local/include/g++-v3/bits/basic_file.h:83: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:83: function `std::streambuf*

std::setbuf(...)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:86: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:86: function `int std::sync()' is

initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:89: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:89: function `int std::doallocate()

' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:92: `_CharT' was not declared in

this scope

/usr/local/include/g++-v3/bits/basic_file.h:92: `s' was not declared in this

scope

/usr/local/include/g++-v3/bits/basic_file.h:92: parse error before `)' token /usr/local/include/g++-v3/bits/basic_file.h:92: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:92: function `streamsize

std::sys_read(...)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:95: parse error before `*' token /usr/local/include/g++-v3/bits/basic_file.h:95: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:95: function `streamsize

std::sys_write(...)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:98: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:98: function `streamoff

std::sys_seek(long int, std::_Ios_Seekdir)' is

initialized like a variable /usr/local/include/g++-v3/bits/basic_file.h:101: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:101: function `int std::sys_close()

' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:104: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:104: function `int

std::sys_stat(void*)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:107: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:107: function `int std::showmanyc()

' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:110: virtual outside class

declaration

/usr/local/include/g++-v3/bits/basic_file.h:110: function `void

std::imbue(void*)' is initialized like a variable

/usr/local/include/g++-v3/bits/basic_file.h:128: 'c_wfile_type' is used as a

type, but is not defined as a type.

/usr/local/include/g++-v3/bits/basic_file.h:133: parse error before `*' token /usr/local/include/g++-v3/bits/basic_file.h:136: parse error before `::' token /usr/local/include/g++-v3/bits/basic_file.h:141: type specifier omitted for

parameter `ios_base'

/usr/local/include/g++-v3/bits/basic_file.h:141: parse error before `::' token /usr/local/include/g++-v3/bits/basic_file.h:148: parse error before `::' token /usr/local/include/g++-v3/bits/basic_file.h:185: `streamsize' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:185: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:191: `streamsize' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:191: declaration of `int

basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous

declaration `int basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:191: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:197: `streamoff' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:197: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:204: `streamoff' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:204: declaration of `int

basic_file<_CharT>::streamoff'

/usr/local/include/g++-v3/bits/basic_file.h:197: conflicts with previous

declaration `int basic_file<_CharT>::streamoff'

/usr/local/include/g++-v3/bits/basic_file.h:204: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:220: `streamsize' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:220: declaration of `int

basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous

declaration `int basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:220: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:226: `streamsize' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:226: declaration of `int

basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:185: conflicts with previous

declaration `int basic_file<_CharT>::streamsize'

/usr/local/include/g++-v3/bits/basic_file.h:226: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:232: `streamoff' declared as a

`virtual' field

/usr/local/include/g++-v3/bits/basic_file.h:232: declaration of `int

basic_file<_CharT>::streamoff'

/usr/local/include/g++-v3/bits/basic_file.h:197: conflicts with previous

declaration `int basic_file<_CharT>::streamoff'

/usr/local/include/g++-v3/bits/basic_file.h:232: parse error before `(' token /usr/local/include/g++-v3/bits/basic_file.h:246: parse error before `}' token In file included from /usr/local/include/g++-v3/bits/basic_file.h:250,

from /usr/local/include/g++-v3/fstream:48, from

/usr/local/include/g++-v3/backward/fstream.h:32,

from console.cpp:9:

/usr/local/include/g++-v3/i686-pc-linux-gnu/bits/basic_file_model.h:38: parse

error before `*' token

/usr/local/include/g++-v3/i686-pc-linux-gnu/bits/basic_file_model.h:38: confused by earlier errors, bailing out gmake[2]: *** [console.lo] Error 1 gmake[2]: Leaving directory `/tmp/licq-20020522/plugins/console/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/licq-20020522/plugins/console' gmake: *** [all] Error 2

Changed 6 years ago by emostar

  • status changed from assigned to closed
Note: See TracTickets for help on using tickets.