473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

What is wrong with compile?

I'm moving some software from one directory to another(consolidating
efforts). It works where it is but when I move it it fails. It seems
to be coming from the locale_facets.h

uname -a
uname -a
Linux game03.dal.design.ti.com 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT
2004 i686 i686 i386 GNU/Linux

g++ 3.2.3

perl 5.8.0

g++ -c -I/home/bpatton/tool_box -I/home/bpatton/tool_box/pcre-5.0
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g3 -O2
-shared -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fpic
"-I/apps/perl/5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE" Laff.c
In file included from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/istream:44,
from /usr/include/c++/3.2.3/fstream:45,
from /home/bpatton/tool_box/Ui.h:10,
from Laff.xs:13:
/usr/include/c++/3.2.3/bits/locale_facets.h:1631:40: macro "do_open"
requires 7 arguments, but only 2 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1643:34: macro "do_close"
requires 2 arguments, but only 1 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1650:55: macro "do_open"
requires 7 arguments, but only 2 given
Jul 7 '06 #1
2 1685

Billy N. Patton wrote:
I'm moving some software from one directory to another(consolidating
efforts). It works where it is but when I move it it fails. It seems
to be coming from the locale_facets.h

uname -a
uname -a
Linux game03.dal.design.ti.com 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT
2004 i686 i686 i386 GNU/Linux

g++ 3.2.3

perl 5.8.0

g++ -c -I/home/bpatton/tool_box -I/home/bpatton/tool_box/pcre-5.0
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g3 -O2
-shared -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fpic
"-I/apps/perl/5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE" Laff.c
In file included from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/istream:44,
from /usr/include/c++/3.2.3/fstream:45,
from /home/bpatton/tool_box/Ui.h:10,
from Laff.xs:13:
/usr/include/c++/3.2.3/bits/locale_facets.h:1631:40: macro "do_open"
requires 7 arguments, but only 2 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1643:34: macro "do_close"
requires 2 arguments, but only 1 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1650:55: macro "do_open"
requires 7 arguments, but only 2 given
Looks like the include files are probably different. Try turning on
some verbosity option on your compiler so it shows you every file it's
including (see g++ docs or ask in the g++ newsgroup), and then compare
the old list and the new. I bet that will show the problem. Also, why
are you including a file with .xs extension? That's certainly not
common practice.

Cheers! --M

Jul 7 '06 #2
Check your gcc version
Billy N. Patton wrote:
I'm moving some software from one directory to another(consolidating
efforts). It works where it is but when I move it it fails. It seems
to be coming from the locale_facets.h

uname -a
uname -a
Linux game03.dal.design.ti.com 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT
2004 i686 i686 i386 GNU/Linux

g++ 3.2.3

perl 5.8.0

g++ -c -I/home/bpatton/tool_box -I/home/bpatton/tool_box/pcre-5.0
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g3 -O2
-shared -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fpic
"-I/apps/perl/5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE" Laff.c
In file included from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/istream:44,
from /usr/include/c++/3.2.3/fstream:45,
from /home/bpatton/tool_box/Ui.h:10,
from Laff.xs:13:
/usr/include/c++/3.2.3/bits/locale_facets.h:1631:40: macro "do_open"
requires 7 arguments, but only 2 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1643:34: macro "do_close"
requires 2 arguments, but only 1 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1650:55: macro "do_open"
requires 7 arguments, but only 2 given
Jul 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: marco | last post by:
the problem: I use a typedef inside a class template, than I use this type (dim_v<N1>::Type) to define the argument of a template function f but when I call this function from main, the compiler...
72
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
0
by: Sam | last post by:
Hi there, For some very bizzare reason I can't get ASP.NET to read an XSLT stylesheet properly. I always get a the message below. Any ideas as to how to get around this problem? Thanks in...
10
by: Protoman | last post by:
Could you tell me what's wrong with this program, it doesn't compile: #include <iostream> #include <cstdlib> using namespace std; class Everything { public: static Everything* Instance()
3
by: farseer | last post by:
i am getting "error C2057: expected constant expression" with the following code: ifstream f( argv ); f.seekg( 0, ios::end ); const long fSize = f.tellg(); f.close(); char content;
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
7
by: Altemir | last post by:
SOME BACKGROUND: I am new to ASP.NET, but somehow managed to install a perfectly working ..aspx page on our production server that I compiled in Visual Studio. However, I recently needed to...
4
by: grizggg | last post by:
I have searched and not found an answer to this question. I ran upon the following statement in a *.cpp file in a member function: static const char * const pacz_HTMLContentTypeHeader =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.