![]() |
|
#1
|
|||
|
|||
Error: ‘::setlocale’ has not been declaredhi all,
i am getting an error when installing a software. Code:
is there anyway i can solve the problem for Code:
pls advise. |
|||
|
#2
|
||||
|
||||
Re: error while installingDid you run the configure application or is there some other kind of initialization required?
The only thing that I can GUESS from your post is that you're trying to build (not install) some kind of serial port control program and that "zm.cpp" is probably related to the zmodem protocol. Maybe you should tell us WHICH SOFTWARE you are trying to install rather than zipping up a standard library header file that probably includes locale.h somewhere before line 60. A little more information about your platform (assumed to be x86), operating system (assumed to be Windows) and development tools/environment (assumed to be GCC 4.3 using Cygwin or MinGw) would be a nice gesture, too. MxB |
|
#3
|
|||
|
|||
Re: error while installingQuote:
Quote:
the software i am using is sharc. it can download from http://sourceforge.net/projects/sharc/ Quote:
i am using xubuntu 8.10, GCC version is 4.3. |
|
#4
|
|||
|
|||
Re: error while installingQuote:
Here's what I did. Note that I always capture the results of configure and make, since errors or significant warnings may occur many lines before the end (and, therefore would have scrolled off of the screen). By capturing the output I can inspect them at leisure.
Bottom line: If you see anything that looks like errors (or significant warnings) in the configure.log or make.log files, try to resolve them. There are many warnings in make.log that can be safely ignored. If you see something that you don't understand, ask specific questions. Regards, Dave Last edited by davekw7x : 09-Jun-2009 at 10:16.
|
|
#5
|
|||
|
|||
Re: error while installingactually i did all the points you did from 1-6.
however the cpp of some of the files of the sharc was being modified by my previous research colleague, and he left me without any documentation, thus i was to try to re-installed his version of sharc, which it appear to have the error as stated in my first post. is there anyway i could do to try to remove the errors? pls advise.thx. |
|
#6
|
|||
|
|||
Re: error while installingQuote:
Quote:
Ummm---so you did not do all of the points that I did from 1-6. Quote:
Regards, Dave |
|
#7
|
|||
|
|||
Re: error while installingQuote:
i did the fresh download and did all your 9 steps correctly. however, the online version does not work very well thus it was being modified. therefore i am getting that error. is there possible ways to detect which cpp file is generating below 3 errors: /usr/include/locale.h:125: error: expected unqualified-id before ‘throw’ /usr/include/locale.h:125: error: expected initializer before ‘throw’ /usr/include/c++/4.3/clocale:60: error: ‘::setlocale’ has not been declared your help will be greatly appreciated. |
|
#8
|
|||
|
|||
Re: error while installingQuote:
Of couse I have no way of knowing what was changed or why. One other point: The current version of sharc appears to have a date code of Mar 28, 2008. If your locally-tainted version came from an earlier distribution, there may be many other differences between your legacy code and the current authentic version that have nothing to do with local changes. There also may have been changes to configure or other stuff that generated Makefile and configuration parameters used in the build. I hate to repeat myself, but I have no way of knowing... Regards, Dave Last edited by davekw7x : 09-Jun-2009 at 12:27.
|
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OS X Tiger 'make' problem. | _Sensible | FLTK Forum | 1 | 16-Aug-2008 14:36 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 08:03 |
| Problems installing linux fedora core 3 | kai85 | Computer Software Forum - Linux | 9 | 24-Mar-2005 16:58 |
| [Linux] Installing PHP --with-mcrypt | JdS | Web Hosting Forum | 0 | 20-Aug-2003 09:40 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The