Ticket #1415 (closed defect: fixed)

Opened 2 years ago

Last modified 10 months ago

asprintf scope problem in licq_message.h

Reported by: anonymous Assigned to: erijo
Priority: normal Milestone: 1.3.5
Component: build Version: 1.3.4
Keywords: Cc:

Description

Compilation of licq.cpp in licq-1.3.4/src fails with:

../include/licq_message.h: In constructor 'CContact::CContact(long unsigned int, const char*)': ../include/licq_message.h:399: error: 'asprintf' was not declared in this scope

Compiler: gcc 4.0.3 Platofmr: Sparc/Solaris 5.8

Change History

2006-10-18 01:32:15 changed by erijo

  • status changed from new to assigned.
  • owner set to erijo.

(follow-up: ↓ 3 ) 2006-10-18 01:36:09 changed by erijo

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r4709.

(in reply to: ↑ 2 ; follow-up: ↓ 5 ) 2006-10-23 21:36:00 changed by jhatlak

  • status changed from closed to reopened.
  • resolution deleted.

Replying to erijo:

Fixed in r4709.

Now I get:

In file included from eventdesc.cpp:6: /software/work/packages/BUILD/licq-1.3.4/include/licq_message.h:6: sstream: No such file or directory

which I don't really understand since ctime and list are found. :-/

2006-10-23 21:47:51 changed by root_42

What does "find /usr/include -name sstream" return? The file sstream is e.g. in debian included in the libstdc++*-dev packages. On otherdistribution this is similar. I cannot reproduce this misbehavior. Did you do a make clean or make -f Makefile.cvs?

(in reply to: ↑ 3 ) 2007-09-26 06:23:27 changed by erijo

  • status changed from reopened to closed.
  • resolution set to fixed.

Replying to jhatlak:

In file included from eventdesc.cpp:6: /software/work/packages/BUILD/licq-1.3.4/include/licq_message.h:6: sstream: No such file or directory

Most probably a problem with your installation. Make sure that you have the development packages for stdc++ installed.