bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

misc.h


From: Behrang Gilanpour
Subject: misc.h
Date: Mon, 23 Oct 2000 03:06:22 +0200 (CEST)

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 
    address@hidden  to get intouch with you guys, but that adress
    doesn't exist. I tried with VRFY on the mailserver and found out that
    address@hidden exists instead. DS.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]