help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Problem while running configure


From: Ralf Wildenhues
Subject: Re: Problem while running configure
Date: Sun, 13 Apr 2008 15:44:05 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* ksashtekar@gmail.com wrote on Sun, Apr 13, 2008 at 03:20:17PM CEST:
> 
> I am compiling a package and i run the configure script. i Get the
> following error:

> configure:3995: checking for ID3Tag_New in -lid3
> configure:4030: gcc -o conftest -g -O2    conftest.c -lid3   -
> lvorbisfile  -lvorbis -lm >&5
> /usr/local/lib/libid3.so: undefined reference to
> `std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >::copy(char*, unsigned int, unsigned int) const'

> I googled it. Seems an error related to libstdc++.

It seems the configure script tries to link against a C++ library with
the C compiler.  Tests in configure.ac that need C++ should be wrapped
in
  AC_LANG_PUSH([C++])
  ...
  AC_LANG_POP([C++])

Cheers,
Ralf




reply via email to

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