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

 
 

bug #25589: 3.3.12 build errors, fedora 10

Submitted by:  bill bugar <wbugar>
Submitted on:  Sat 14 Feb 2009 10:55:04 PM UTC  
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  Peter Wainwright <pwainwright>
Open/Closed:  Open Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

( 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>In charge of this item.
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>In charge of this item.
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, http://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:
Also, the contents of /usr/include/X11/VendorP.h would be interesting.

Peter Wainwright <pwainwright>In charge of this item.
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>In charge of this item.
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 pwainwright (Posted a comment)
  • -email is unavailable- added by wbugar (Submitted the item)
  • -email is unavailable- added by wbugar
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3