bugProtux - Bugs: bug #6928, Compile error in Mustux

 
 

bug #6928: Compile error in Mustux

Submitted by:  None
Submitted on:  Tue 02 Dec 2003 07:00:56 PM UTC  
 
Severity: 3 - NormalPriority: 1 - Later
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Jason MancineOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 02 Dec 2003 07:27:45 PM UTC, comment #1:

Hi Jason,

You send it to the right place and to the right people ;-)

This problem has been discovered allready, and the solution is indeed to remove the "std::" before getenv.
Maybe I should just remove it.
Thanks for reporting,

Remon

Remon Sijrier <r_sijrier>
Tue 02 Dec 2003 07:00:56 PM UTC, original submission:

Hi, I'm not sure if I'm sending this to the right place/people, but here it is anyhow:

I am running SuSe 9.0, installed ALSA 1.0.0rc1, and in the process of attempting to install (compile) libmustux0.20.0, I received an error regarding an undefined variable "getenv" during the build for MustuxDebugger.cc.

I looked in MustuxDebugger.cc, and found getenv ref'd like this:

logFileName = QString(std::getenv("HOME")) + "/" + fn;

Since "getenv" is inluded in stdlib.h, I changed the line to this:

logFileName = QString(getenv("HOME")) + "/" + fn;

and was able to compile with no errors.

Thought I'd share it just in case anyone else has the problem.

Thanks,
-unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 02 Dec 2003 07:28:54 PM UTCr_sijrierStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1