LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2006, 04:03 PM   #1
whitesuit
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 8

Rep: Reputation: 0
problem building ddd


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 ?
 
Old 10-09-2006, 02:07 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I guess you did, but just in case, did you run ./configure?
By the way, there's a newer version (3.3.11): http://www.gnu.org/software/ddd/

Last edited by gbonvehi; 10-09-2006 at 02:10 AM.
 
Old 10-09-2006, 10:08 PM   #3
whitesuit
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gbonvehi
I guess you did, but just in case, did you run ./configure?
Yes

Quote:
Originally Posted by gbonvehi
By the way, there's a newer version (3.3.11): http://www.gnu.org/software/ddd/
Problems solved. The new version compiled without a hitch. Thanks a lot for your reply.
 
  


Reply



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
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
Problem moving data displays with mouse in DDD _john_i_ Programming 0 05-19-2004 09:53 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 - Distributions > Slackware

All times are GMT -5. The time now is 05:10 PM.

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