help-gplusplus
[Top][All Lists]
Advanced

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

undefined reference


From: Mr E_T
Subject: undefined reference
Date: Mon, 25 Jun 2001 20:35:25 +0800 (WST)

I have installed gcc-3.0 on a linux 2.4.5 with glibc 2.0.7 and I get the
following from a configure script for koffice

g++ -o conftest    conftest.C
/usr/local/lib/gcc-lib/i486-pc-linux-gnu/3.0/../../../libstdc++.so:
undefined reference to `_IO_2_1_stdout_'
/usr/local/lib/gcc-lib/i486-pc-linux-gnu/3.0/../../../libstdc++.so:
undefined reference to `_IO_2_1_stdin_'
/usr/local/lib/gcc-lib/i486-pc-linux-gnu/3.0/../../../libstdc++.so:
undefined reference to `_IO_2_1_stderr_'
collect2: ld returned 1 exit status


conftest.C -
#line 1514 "configure"
#include "confdefs.h"

int main(){return(0);}

I installed gcc-core gcc-objc gcc-g++ - according to the instaructions.

I configured and installed perl-5.6.1 using gcc 3.0 so as far as I know
that works.

I am sure that it is probably a simple solution - but I cant find any info
on it .

regs MR E_T

_______________________
\                      \
  \   OOHH I hate TYPOS  \
    \                      \
      ~~~~~~~~~~~~~~~~~~~~~~~




reply via email to

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