bugDDD - Bugs: bug #25589, 3.3.12 build errors, fedora 10

 
 

bug #25589: 3.3.12 build errors, fedora 10

Submitter:  bill bugar <wbugar>
Submitted:  Sat 14 Feb 2009 10:55:04 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 26 Feb 2009 02:41:16 AM UTC, comment #6: 

Patch worked. Attached are the two new files. Thanks.

I had to use "--enable-rpath=/usr/local/lib" with configure so that "ddd" could find libXm.so.

Also, there seems to be quite a lot of warnings.

(file #17536, file #17537, file #17538, file #17539)

bill bugar <wbugar>
Mon 23 Feb 2009 08:10:38 PM UTC, comment #5: 

Looking again, it seems lesstif is not the problem.  We are directly including the Motif private headers XmP.h from our "ScrolleGEP.h". In that case one small patch should do it. Does ddd.extern_C.patch work?

(file #17520)

Peter Wainwright <pwainwright>
Mon 23 Feb 2009 07:46:17 PM UTC, comment #4: 

Well, that's interesting.  There is no extern "C" {} or _XFUNCPROTOBEGIN/END around the declarations in your VendorP.h

My Ubuntu system has _XFUNCPROTOBEGIN/END around these declarations. But looking at the source this appears to be an Ubuntu patch not in the upstream.

I think in an ideal world there would be no need for the patched libXt, because lesstif should not expose the contents of the "*P.h" headers (the P stands for "private", after all).

However, I think we could fix DDD for all platforms by putting extern "C" {} around all the Motif headers just in case.  Ugly but safe.

Peter Wainwright <pwainwright>
Wed 18 Feb 2009 08:58:51 PM UTC, comment #3: 

libXt is 1.0.5 from fedora

lesstif is 0.95.0-1 (lesstif-0.95.0.tar.bz2) from, I think, www.lesstif.org

bill bugar <wbugar>
Sun 15 Feb 2009 09:06:44 AM UTC, comment #2: 

I wrote some unintended Savane markup.  I meant, can you report the results of:

rpm -qf /usr/lib*/libXt.so.* /usr/lib*/libXm.so.*

Also, the contents of /usr/include/X11/VendorP.h would be interesting.

Peter Wainwright <pwainwright>
Sun 15 Feb 2009 09:01:00 AM UTC, comment #1: 

This is a duplicate of https://savannah.gnu.org/bugs/?24874.

Its a bug in libXt (so, it would in theory affect any C++ application which used Lesstif. However, DDD is the only one which matches that description...)

I'm very surprised it still happens on Fedora 10 though.  What versions of libXt and of Motif (lesstif) are you using?  Did you get them from the Fedora repositories or elsewhere? 

rpm -qf /usr/lib*/libXt.so.* /usr/lib*/libXm.so.*

Peter Wainwright <pwainwright>
Sat 14 Feb 2009 10:55:04 PM UTC, original submission:  

Getting compile errors, using fedora 10.

bill bugar <wbugar>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #17536:  converters.C added by wbugar (31KiB - text/plain)
file #17537:  config.log added by wbugar (204KiB - application/octet-stream)
file #17538:  ScrolleGEP.h added by wbugar (2KiB - text/plain)
file #17539:  make.out added by wbugar (43KiB - application/octet-stream)
file #17520:  ddd.extern_C.patch added by pwainwright (810B - text/x-diff - Patch to ensure extern "C" around Motif private headers)
file #17480:  ddd.answers added by wbugar (5KiB - application/octet-stream)
file #17453:  config.log added by wbugar (204KiB - application/octet-stream)
file #17454:  ddd-3.3.12.make.out added by wbugar (41KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eickeler (Updated the item)
  • -email is unavailable- added by pwainwright (Posted a comment)
  • -email is unavailable- added by wbugar (Submitted the item)
  • -email is unavailable- added by wbugar
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 16 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-25 eickeler StatusNeed Info Fixed
    2021-01-25 eickeler Assigned topwainwright None
        Open/ClosedOpen Closed
    2009-02-26 wbugar Attached File- Added converters.C, #17536
        Attached File- Added config.log, #17537
        Attached File- Added ScrolleGEP.h, #17538
        Attached File- Added make.out, #17539
    2009-02-23 pwainwright Attached File- Added ddd.extern_C.patch, #17520
        StatusConfirmed Need Info
        Assigned toNone pwainwright
    2009-02-23 pwainwright StatusNeed Info Confirmed
    2009-02-18 wbugar Attached File- Added ddd.answers, #17480
    2009-02-15 pwainwright StatusNone Need Info
    2009-02-14 wbugar Attached File- Added config.log, #17453
        Attached File- Added ddd-3.3.12.make.out, #17454
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code