Click here to Skip to main content
15,914,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMove a file into an other file Pin
moody12318-Mar-09 4:47
moody12318-Mar-09 4:47 
AnswerRe: Move a file into an other file Pin
led mike18-Mar-09 4:59
led mike18-Mar-09 4:59 
AnswerRe: Move a file into an other file Pin
Eytukan18-Mar-09 5:08
Eytukan18-Mar-09 5:08 
AnswerRe: Move a file into an other file Pin
Cedric Moonen18-Mar-09 5:18
Cedric Moonen18-Mar-09 5:18 
QuestionRe: Move a file into an other file Pin
David Crow18-Mar-09 5:19
David Crow18-Mar-09 5:19 
AnswerRe: Move a file into an other file Pin
moody12318-Mar-09 6:25
moody12318-Mar-09 6:25 
QuestionInsufficient system resources exist to complete the requested service. Pin
SNI18-Mar-09 4:45
SNI18-Mar-09 4:45 
Questiong++ compiling paramter -static on Solaris sparc Pin
David Wong RZ18-Mar-09 3:26
David Wong RZ18-Mar-09 3:26 
Hello, everyone
Recently I use g++ to compile cpp files with a -static paramter, and I got an compiler error as below:
/homes/judge/source/31.cpp:7:2: warning: no newline at end of file
ld: fatal: library -lm: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to /homes/judge/exe/4090
collect2: ld returned 1 exit status

I guess may be it happened by problem of system environment, the /etc/profile list out here:
<br />
MANPATH=$MANPATH:/usr/local/man<br />
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib/ld:/usr/lib<br />
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/export/home/mysql/mysql-5.1.32/lib<br />
CC=gcc<br />
<br />
export LD_LIBRARY_PATH<br />
export CC<br />
export MANPATH<br />
<br />
<br />
JAVA_HOME=/Desktop/jdk1.6.0_12<br />
<br />
<br />
CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib<br />
export CLASSPATH<br />
<br />
CATALINA_BASE=/usr/local/tomcat<br />
CATALINA_HOME=/usr/local/tomcat<br />
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$CATALINA_HOME/bin:/usr/sfw/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/sur/sbin<br />
export PATH


Any suggestion for this problem? Thanks in advance!

no cross no crown.

AnswerRe: g++ compiling paramter -static on Solaris sparc Pin
Jerry.Wang18-Mar-09 3:29
Jerry.Wang18-Mar-09 3:29 
AnswerRe: g++ compiling paramter -static on Solaris sparc Pin
Jerry.Wang18-Mar-09 3:31
Jerry.Wang18-Mar-09 3:31 
AnswerRe: g++ compiling paramter -static on Solaris sparc Pin
Stuart Dootson18-Mar-09 4:37
professionalStuart Dootson18-Mar-09 4:37 
GeneralRe: g++ compiling paramter -static on Solaris sparc Pin
David Wong RZ18-Mar-09 22:59
David Wong RZ18-Mar-09 22:59 
GeneralRe: g++ compiling paramter -static on Solaris sparc Pin
David Wong RZ19-Mar-09 1:26
David Wong RZ19-Mar-09 1:26 
GeneralRe: g++ compiling paramter -static on Solaris sparc Pin
Stuart Dootson19-Mar-09 1:36
professionalStuart Dootson19-Mar-09 1:36 
QuestionHow to create window with Transparency level starts from 0 to 100%? Pin
p_196018-Mar-09 3:20
p_196018-Mar-09 3:20 
AnswerRe: How to create window with Transparency level starts from 0 to 100%? Pin
Jerry.Wang18-Mar-09 3:25
Jerry.Wang18-Mar-09 3:25 
GeneralRe: How to create window with Transparency level starts from 0 to 100%? Pin
p_196018-Mar-09 6:50
p_196018-Mar-09 6:50 
GeneralRe: How to create window with Transparency level starts from 0 to 100%? Pin
Jerry.Wang18-Mar-09 13:43
Jerry.Wang18-Mar-09 13:43 
QuestionHow to know the type of application? Pin
Cool_Phillip18-Mar-09 2:28
Cool_Phillip18-Mar-09 2:28 
AnswerRe: How to know the type of application? Pin
David Crow18-Mar-09 2:57
David Crow18-Mar-09 2:57 
GeneralRe: How to know the type of application? Pin
Cool_Phillip18-Mar-09 18:14
Cool_Phillip18-Mar-09 18:14 
GeneralRe: How to know the type of application? Pin
David Crow19-Mar-09 2:19
David Crow19-Mar-09 2:19 
GeneralRe: How to know the type of application? Pin
Cool_Phillip20-Mar-09 2:09
Cool_Phillip20-Mar-09 2:09 
AnswerRe: How to know the type of application? Pin
Jerry.Wang18-Mar-09 3:06
Jerry.Wang18-Mar-09 3:06 
GeneralRe: How to know the type of application? Pin
Cool_Phillip18-Mar-09 18:15
Cool_Phillip18-Mar-09 18:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.