From behgi161@student.liu.se Sun Oct 22 21:07:16 2000
Received: from m125.ryd.student.liu.se ([130.236.214.125])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 13nW55-0000z8-00
	for <bug-commoncpp@gnu.org>; Sun, 22 Oct 2000 21:07:16 -0400
Received: (qmail 1805 invoked by uid 1002); 23 Oct 2000 01:06:22 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 23 Oct 2000 01:06:22 -0000
Date: Mon, 23 Oct 2000 03:06:22 +0200 (CEST)
From: Behrang Gilanpour <behgi161@student.liu.se>
X-Sender: behgi161@m125.ryd.student.liu.se
To: bug-commoncpp@gnu.org
Subject: misc.h
Message-ID: <Pine.LNX.4.21.0010230304480.1791-100000@m125.ryd.student.liu.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>, <mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>, <mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: http://mail.gnu.org/pipermail/bug-commoncpp/

Hi...

I have been experiancing severe difficulties compiling parts of lib.
Using files like socket.h/macro.h/config.h works perfectly but as soon
as i include the file misc.h there is no way that I can compile my code.

I compile with the following line:

c++ -g -O4 -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE 
  -lccxx -pthread -Wall -ldl -lz -lpthread file.cpp -o file

but even a file such as:

#include "cc++/misc.h"
int main() {}

doesnt compile, it gives the error:

/tmp/ccWULIGZ.o: In function `main':
/home/behgi161/test/file.cpp:12: undefined reference to `cc_MemPager type_info node'
collect2: ld returned 1 exit status
make: *** [file] Error 1

I have tried to include other files from commonc++ but nothing seems to
help, and i get the same error no matter what i include/exclude. I was
hoping that you could shed some light on this matter, and maybe give me
alittle guidance on how to successfully include misc.h in my codes.

I am running: P2-400Mhz  128Mb RAM
              Linux (Slackware v7.0)
              Kernel 2.2.16
              c++ compiler 2.95.2 (GCC)

Best regards,
	Behrang              

PS. Also, the email adress in your README file says that one should use 
    bug-commonc++@gnu.org  to get intouch with you guys, but that adress
    doesn't exist. I tried with VRFY on the mailserver and found out that
    bug-commoncpp@gnu.org exists instead. DS.



