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 Feb 14 22:55:04 2009  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Peter Wainwright <pwainwright>
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu Feb 26 02:41:16 2009, 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 Feb 23 20:10:38 2009, 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 Feb 23 19:46:17 2009, 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 Feb 18 20:58:51 2009, 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 Feb 15 09:06:44 2009, 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 Feb 15 09:01:00 2009, 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 Feb 14 22:55:04 2009, 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 File(s):
   
   
Comment:
   

Attached Files
file #17536:  converters.C added by wbugar (31kB - text/plain)
file #17537:  config.log added by wbugar (204kB - application/octet-stream)
file #17538:  ScrolleGEP.h added by wbugar (2kB - text/plain)
file #17539:  make.out added by wbugar (43kB - 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 (5kB - application/octet-stream)
file #17453:  config.log added by wbugar (204kB - application/octet-stream)
file #17454:  ddd-3.3.12.make.out added by wbugar (41kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Feb 26 02:41:16 2009wbugarAttached File-=>Added converters.C, #17536
      Attached File-=>Added config.log, #17537
      Attached File-=>Added ScrolleGEP.h, #17538
      Attached File-=>Added make.out, #17539
    Mon Feb 23 20:10:38 2009pwainwrightAttached File-=>Added ddd.extern_C.patch, #17520
      StatusConfirmed=>Need Info
      Assigned toNone=>pwainwright
    Mon Feb 23 19:46:17 2009pwainwrightStatusNeed Info=>Confirmed
    Wed Feb 18 20:35:46 2009wbugarAttached File-=>Added ddd.answers, #17480
    Sun Feb 15 18:25:18 2009pwainwrightStatusNone=>Need Info
    Sat Feb 14 22:55:04 2009wbugarAttached File-=>Added config.log, #17453
      Attached File-=>Added ddd-3.3.12.make.out, #17454
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup