Home | Software Map | Motif Forums | Bug Home sponsored by ICS 
Full Text Bug Listing
 
Compiling libUil fails on mac OS X 10.5
Bug#: 1479 Product: OpenMotif Version: 2.1.30 Platform: All
OS/Version: other Status: RESOLVED Severity: major Priority: Low
Resolution: FIXED Assigned To: openmotif-devel@motifzone.net Reported By: saadz@mail.nih.gov
Component: MotifCode Target milestone:2.3.0
URL: 
Summary: Compiling libUil fails on mac OS X 10.5
Description:
-- The following sequence produces the compilation error on mac OS X leopard. No
such problem was encountered compiling on Fedora Core 10.

cvs -d:pserver:anonymous@openmotif.cvs.sourceforge.net:/cvsroot/openmotif login 
cvs -z3 -d:pserver:anonymous@openmotif.cvs.sourceforge.net:/cvsroot/openmotif co
-P openmotif

autogen.sh --enable-static
make

-- The make commands terminates with:
 
 gcc -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm
-DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\"
-I./../../include -I./../../lib -I./../../tools/wml -I../../include -I../../lib
-I../../tools/wml -I/usr/X11/include -I/usr/X11/include -g -O2 -Wall -g
-fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include
-I/usr/X11/include -MT UilLexAna.lo -MD -MP -MF .deps/UilLexAna.Tpo -c
UilLexAna.c  -fno-common -DPIC -o .libs/UilLexAna.o
UilLexAna.c: In function 'yylex':
UilLexAna.c:1488: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1489: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1510: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1513: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1526: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1540: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1560: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1578: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1643: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1644: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1653: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1666: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1841: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1842: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1876: error: request for member 'value' in something not a structure
or union
UilLexAna.c:1877: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:1891: error: request for member 'az_source_record' in something not
a structure or union
UilLexAna.c:1892: error: request for member 'b_source_pos' in something not a
structure or union
UilLexAna.c:1893: error: request for member 'b_source_end' in something not a
structure or union
UilLexAna.c:1894: error: request for member 'b_tag' in something not a structure
or union
UilLexAna.c:1911: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c: In function 'lex_initialize_analyzer':
UilLexAna.c:2005: error: request for member 'b_tag' in something not a structure
or union
UilLexAna.c:2040: error: request for member 'b_source_end' in something not a
structure or union
UilLexAna.c:2041: error: request for member 'az_source_record' in something not
a structure or union
UilLexAna.c: In function 'lex_issue_error':
UilLexAna.c:2148: error: request for member 'b_type' in something not a
structure or union
UilLexAna.c:2158: error: request for member 'az_source_record' in something not
a structure or union
UilLexAna.c:2159: error: request for member 'b_source_pos' in something not a
structure or union
UilLexAna.c: In function 'create_str_entry':
UilLexAna.c:2545: error: request for member 'az_source_record' in something not
a structure or union
UilLexAna.c:2546: error: request for member 'b_source_pos' in something not a
structure or union
UilLexAna.c:2547: error: request for member 'b_source_end' in something not a
structure or union
make[3]: *** [UilLexAna.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


------- Additional Comments From Rob Arthan 2009-11-08 08:40 -------
Created an attachment (id=259)
this patch allows UIL to compile on Mac OS X


------- Additional Comments From Ihor Hayvuk 2010-09-29 11:33 -------
Rob,
Thank you for the patch.
Fixed as proposed in CVS HEAD and openmotif_2_3 branches.


Update this bug

Submit a Patch for this bug

Note: All patches are submitted under the MIT License.