LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-08-2006, 10:21 PM   #1
whitesuit
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 8

Rep: Reputation: 0
problem building ddd


Okay, this is a repost of the thread i posted on the Slackware section, because I think I really asked on the wrong section. Sorry for that. If the moderator(s) wants to delete the other post no problem.

Hi,

I'm using Slackware 11.0 and when i try to compile ddd 3.3.1 i get the following errors:

Code:
ddd.C: In function `int main(int, char**)':
ddd.C:2033: error: `ostrstream' was not declared in this scope
ddd.C:2033: error: expected `;' before "messages"
ddd.C:2036: error: `messages' was not declared in this scope
ddd.C:2033: warning: unused variable 'ostrstream'
ddd.C: In function `void ddd_check_version()':
ddd.C:3247: error: `ostrstream' was not declared in this scope
ddd.C:3247: error: expected `;' before "msg"
ddd.C:3248: error: `msg' was not declared in this scope
ddd.C:3247: warning: unused variable 'ostrstream'
ddd.C: At global scope:
ddd.C:3358: error: `ostrstream' does not name a type
ddd.C:3359: error: `devnull' was not declared in this scope
ddd.C: In function `void init_dddlog()':
ddd.C:3363: error: `devnull' was not declared in this scope
ddd.C:3363: warning: unused variable 'devnull'
ddd.C: In function `bool lock_ddd(_WidgetRec*, LockInfo&)':
ddd.C:3751: error: `ostrstream' was not declared in this scope
ddd.C:3751: error: expected `;' before "os"
ddd.C:3752: error: `os' was not declared in this scope
ddd.C:3751: warning: unused variable 'ostrstream'
ddd.C: In function `void report_languageHP(Agent*, void*, void*)':
ddd.C:5614: error: `ostrstream' was not declared in this scope
ddd.C:5614: error: expected `;' before "os"
ddd.C:5615: error: `os' was not declared in this scope
ddd.C:5614: warning: unused variable 'ostrstream'
ddd.C: In function `void setup_version_info()':
ddd.C:7212: error: `ostrstream' was not declared in this scope
ddd.C:7212: error: expected `;' before "os"
ddd.C:7213: error: `os' was not declared in this scope
ddd.C:7212: warning: unused variable 'ostrstream'
ddd.C: In function `void setup_auto_command_prefix()':
ddd.C:7656: error: `ostrstream' was not declared in this scope
ddd.C:7656: error: expected `;' before "key"
ddd.C:7657: error: `key' was not declared in this scope
ddd.C:7656: warning: unused variable 'ostrstream'
ddd.C: At global scope:
ddd.C:5595: warning: 'std::ostream& operator<<(std::ostream&, ProgramLanguage)' defined but not used
make[1]: *** [ddd.o] Error 1
make[1]: Leaving directory `/home/user/src/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1

After doing some googling it seems to be really a compiler problem. The version of gcc i have is 3.4.6. Anyone else having this problem or knows a way around it ?

Thanks

Last edited by whitesuit; 10-08-2006 at 10:22 PM.
 
Old 10-10-2006, 11:10 AM   #2
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
where did you get ddd from and what instructions are you running to try and build it ?
 
Old 10-10-2006, 11:34 PM   #3
whitesuit
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
The problem has already been solved, thank you. If you want you can see the solution here
 
Old 10-11-2006, 04:11 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

In the future if you want your threads to be moved, please use the report button instead of starting a new thread. Cheers.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem building ddd whitesuit Slackware 2 10-09-2006 10:08 PM
ddd installation problem on FC III abhere Fedora 1 10-18-2005 03:46 AM
problem with ddd morph_ind Programming 3 06-02-2005 02:12 PM
ddd problem trutnev Linux - Software 0 02-23-2004 09:38 AM
problem with running DDD tcaptain Linux - Software 2 01-31-2004 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration