Menu

Compiling issue on Mac OSX 10.5.3

Developers
T.J. Yang
2008-06-15
2013-04-22
  • T.J. Yang

    T.J. Yang - 2008-06-15

    autogent.sh was complaining not able to fine glibtoolize, so I linked it to glibtoo from macport by

    sudo ln -s /opt/local/bin/glibtoolize /usr/bin/libtoolize

    ./configure;make stop with error messages.

    <snip>

    /bin/sh ../../libtool --silent --tag=CC  --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS   -pipe -fno-strict-aliasing -fno-common -fexceptions -g -MT dg_obj.lo -MD -MP -MF .deps/dg_obj.Tpo -c -o dg_obj.lo dg_obj.c
    mv -f .deps/dg_obj.Tpo .deps/dg_obj.Plo
    /bin/sh ../../libtool --silent --tag=CC  --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS   -pipe -fno-strict-aliasing -fno-common -fexceptions -g -MT draw.lo -MD -MP -MF .deps/draw.Tpo -c -o draw.lo draw.c
    draw.c: In function 'ged_eraseobjpath':
    draw.c:144: warning: incompatible implicit declaration of built-in function 'strdup'
    draw.c:149: warning: incompatible implicit declaration of built-in function 'strchr'
    draw.c: At top level:
    draw.c:224: error: static declaration of 'ged_drawtrees' follows non-static declaration
    draw.c:68: error: previous declaration of 'ged_drawtrees' was here
    draw.c:764: error: static declaration of 'ged_nmg_region_start' follows non-static declaration
    draw.c:72: error: previous declaration of 'ged_nmg_region_start' was here
    draw.c: In function 'ged_bot_check_leaf':
    draw.c:1039: warning: passing argument 3 of 'ged_drawtrees' from incompatible pointer type
    draw.c:1066: warning: passing argument 3 of 'ged_drawtrees' from incompatible pointer type
    draw.c:1078: warning: passing argument 3 of 'ged_drawtrees' from incompatible pointer type
    make[2]: *** [draw.lo] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1
    imac:brlcad tj_yang$

     
    • Sean Morrison

      Sean Morrison - 2008-06-15

      That was due to a commit late on Friday that hadn't yet gone through compilation testing on Mac yet.  Should be fixed now.

      Cheers!
      Sean

       

Log in to post a comment.