bugXBoard - Bugs: bug #27951, xboard-4.4.1 won't build on OS X

 
 

bug #27951: xboard-4.4.1 won't build on OS X

Submitted by:  None
Submitted on:  Thu 05 Nov 2009 04:34:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 06 Nov 2009 03:05:52 AM UTC, comment #1:

added -lXmu to the git version. Can you test it? Thanks for reporting.

Arun Persaud <apersaud>
Project Administrator
Thu 05 Nov 2009 04:34:43 PM UTC, original submission:

Tried the usual

./configure
make

Got

gcc -o xboard backend.o book.o childio.o gamelist.o lists.o moves.o parser.o pgntags.o uci.o xboard.o xedittags.o xengineoutput.o xgamelist.o xhistory.o xoptions.o zippy.o -lm -lXpm -lSM -lICE -lXaw -L/usr/X11/lib -R/usr/X11/lib -lX11 -lXt
Undefined symbols:
"__XA_UTF8_STRING", referenced from:
__XA_UTF8_STRING$non_lazy_ptr in xboard.o
"__XA_TARGETS", referenced from:
__XA_TARGETS$non_lazy_ptr in xboard.o
"_XmuInternAtom", referenced from:
_SendPositionSelection in xboard.o
_SendPositionSelection in xboard.o
_SendPositionSelection in xboard.o
_CopyPositionProc in xboard.o
_PastePositionProc in xboard.o
_SendGameSelection in xboard.o
_SendGameSelection in xboard.o
_SendGameSelection in xboard.o
_CopyGameProc in xboard.o
_PasteGameProc in xboard.o
"__XA_CLIPBOARD", referenced from:
__XA_CLIPBOARD$non_lazy_ptr in xboard.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [xboard] Error 1
make: *** [all] Error 2

The fix was to add -lXmu to

xboard_LDADD = -lm -lXpm -lSM -lICE -lXaw -lXmu -L/usr/X11/lib -R/usr/X11/lib -lX11 -lXt

in the Makefile.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by apersaud (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 07 Mar 2010 02:36:43 AM UTCapersaudStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 06 Nov 2009 03:05:52 AM UTCapersaudStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1