Re: [Lurker-users] Build on FreeBSD 5

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Dorne
Date:  
To: lurker-users
Subject: Re: [Lurker-users] Build on FreeBSD 5
On Wed, Jan 26, 2005 at 06:14:48AM +0100, Wesley W. Terpstra wrote:
>
> Erm. That's odd.
> Could you try compiling a c++ file which just does '#include <string>'
> with the same compile line?


Sure.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mimelib -I/usr/local/include -I/usr/include -MT xx.o -MD -MP -MF ".deps/xx.Tpo" -c -o xx xx.cpp

works just fine.

> It might be the -I/usr/include, perhaps that makes g++ search too late?
> Are you certain that particular option is required?


I do need a -I/usr/local/include and a -L/usr/local/lib to get configure to run. The /usr/include earlier came from some experimentation, I think.

Anyway, removing that doesn't work:

if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I../mimelib  -I/usr/local/include -MT Parameters.o -MD -MP -MF ".deps/Parameters.Tpo" -c -o Parameters.o Parameters.cpp;  then mv -f ".deps/Parameters.Tpo" ".deps/Parameters.Po"; else rm -f ".deps/Parameters.Tpo"; exit 1; fi
In file included from /usr/include/c++/3.4/bits/postypes.h:46,
                 from /usr/include/c++/3.4/iosfwd:50,
                 from /usr/include/c++/3.4/bits/stl_algobase.h:70,
                 from /usr/include/c++/3.4/bits/char_traits.h:46,
                 from /usr/include/c++/3.4/string:47,
                 from esort.h:28,
                 from Parameters.cpp:28:
/usr/include/c++/3.4/cwchar:166: error: `::vfwscanf' has not been declared
/usr/include/c++/3.4/cwchar:170: error: `::vswscanf' has not been declared
/usr/include/c++/3.4/cwchar:174: error: `::vwscanf' has not been declared
/usr/include/c++/3.4/cwchar:191: error: `::wcstof' has not been declared
*** Error code 1
-- 
Peace, love & happiness to you from me =)
-Sweetpea    http://sweetpea.tentacle.net


"You too can enjoy the benefits of having scads of tasty raw meat pumped directly into your home." - G