Hello:

What steps did you take to do the install? Did you install glib and
expat? If so, via fink or did you compile them or use another source? 

How did you know to use 'powerpc-apple-rhapsody5.4' for the host?

Did you first install the latest developer tools from Apple (the beta)?

I'm gathering info in order to take a shot at it myself.

Thanks,

Jay Davis


On Fri, May 17, 2002, sneakerboots <[EMAIL PROTECTED]> wrote:

>Hello,
>
>I've gotten stuck in compiling Midgard 1.4.2-1 on Mac OS X 
>10.1.4.  Compiles fine, but Make fails; looks like something 
>related to pageresolve.c, but I'm at a loss.  I'm using GNU Make 
>3.79
>
>Configure works fine with:
>./configure --with-mysql=/usr/local/mysql --host=powerpc-apple-
>rhapsody5.4
>
>See the error message at the bottom of the attached dump.  
>Thanks for any help!
>
>------------------------------
>
>[localhost:/midgard/midgard-lib-1.4.2-1] root# gmake
>cd . \
>  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./
>config.status
>creating Makefile
>Making all in midgard
>perl ../tablenames.pl -h > tablenames.h
>perl ../authfailure.pl -h > authfailure.h
>Making all in src
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c midgard.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/midgard.pp -c 
>midgard.c -o midgard.o
>echo timestamp > midgard.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c format.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/format.pp -c 
>format.c -o format.o
>echo timestamp > format.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c fmt_russian.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/fmt_russian.pp -c 
>fmt_russian.c -o fmt_russian.o
>echo timestamp > fmt_russian.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c md5.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/md5.pp -c md5.c -o 
>md5.o
>echo timestamp > md5.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c tree.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/tree.pp -c tree.c -o 
>tree.o
>tree.c: In function `mgd_copy_object_article':
>tree.c:326: warning: passing arg 1 of `gmtime' makes pointer 
>from integer without a cast
>tree.c:328: warning: passing arg 1 of `gmtime' makes pointer 
>from integer without a cast
>echo timestamp > tree.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c repligard.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/repligard.pp -c 
>repligard.c -o repligard.o
>echo timestamp > repligard.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c filetemplate.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/filetemplate.pp -c 
>filetemplate.c -o filetemplate.o
>echo timestamp > filetemplate.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c iconvxml.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/iconvxml.pp -c 
>iconvxml.c -o iconvxml.o
>iconvxml.c: In function `try':
>iconvxml.c:79: warning: passing arg 3 of `libiconv' from 
>incompatible pointer type
>iconvxml.c:79: warning: passing arg 5 of `libiconv' from 
>incompatible pointer type
>echo timestamp > iconvxml.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c access.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/access.pp -c 
>access.c -o access.o
>echo timestamp > access.lo
>perl ../tablenames.pl -c > tablenames.c
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c tablenames.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/tablenames.pp -c 
>tablenames.c -o tablenames.o
>echo timestamp > tablenames.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c tree_core.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/tree_core.pp -c 
>tree_core.c -o tree_core.o
>echo timestamp > tree_core.lo
>perl ../authfailure.pl -c > authfailure.c
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c authfailure.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/authfailure.pp -c 
>authfailure.c -o authfailure.o
>echo timestamp > authfailure.lo
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c pageresolve.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/pageresolve.pp -c 
>pageresolve.c -o pageresolve.o
>pageresolve.c: In function `mgd_parse_uri':
>pageresolve.c:170: warning: implicit declaration of function 
>`strtok_r'
>pageresolve.c:170: warning: assignment makes pointer from 
>integer without a cast
>pageresolve.c:172: warning: assignment makes pointer from 
>integer without a cast
>pageresolve.c:212: warning: assignment makes pointer from 
>integer without a cast
>echo timestamp > pageresolve.lo
>flex  -Pmgdlib -olex.yy.c preparse.l && mv lex.yy.c preparse.c
>/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"midgard\" -
>DVERSION=\"1.4.2-1\" -DSTDC_HEADERS=1 -DHAVE_ZLIB_H=
>1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -
>DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/include/glib-1.2 -I/sw/lib/
>glib/include -I/usr/local/mysql/include -I/usr/local/include  -Wall -
>g -O2 -c preparse.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include -Wall -g -O2 -Wp,-MD,.deps/preparse.pp -c 
>preparse.c -o preparse.o
>lex.yy.c:4872: warning: `yyunput' defined but not used
>lex.yy.c:5295: warning: `yy_top_state' defined but not used
>echo timestamp > preparse.lo
>/bin/sh ../libtool --mode=link cc  -Wall -g -O2 -L/usr/local/mysql/
>lib -lmysqlclient -L/usr/local/lib -o libmidgard.la -rpath /usr/local/
>lib -version-info 5:0:0 midgard.lo format.lo fmt_russian.lo md5.lo 
>tree.lo repligard.lo filetemplate.lo iconvxml.lo access.lo 
>tablenames.lo tree_core.lo authfailure.lo pageresolve.lo 
>preparse.lo  -lexpat -lmysqlclient -lz -L/sw/lib -lglib -liconv
>mkdir .libs
>ar cru .libs/libmidgard.a  midgard.o format.o fmt_russian.o 
>md5.o tree.o repligard.o filetemplate.o iconvxml.o access.o 
>tablenames.o tree_core.o authfailure.o pageresolve.o 
>preparse.o 
>ranlib .libs/libmidgard.a
>creating libmidgard.la
>(cd .libs && rm -f libmidgard.la && ln -s ../libmidgard.la 
>libmidgard.la)
>/midgard/midgard-lib-1.4.2-1/src/.libs
>Making all in repligard
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c common.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c read.c
>read.c:557: illegal expression, found `}'
>cpp-precomp: warning: errors during smart preprocessing, 
>retrying in basic mode
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c import.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c rpconfig.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c exporthook.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c schema.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c export.c
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c main.c
>/bin/sh ../libtool --mode=link cc  -Wall -g -O2 -L/usr/local/mysql/
>lib -lmysqlclient -L/usr/local/lib -o repligard  common.o read.o 
>import.o rpconfig.o exporthook.o schema.o export.o main.o ../src/
>libmidgard.la  -lexpat -lmysqlclient -lz -L/sw/lib -lglib -liconv
>mkdir .libs
>cc -Wall -g -O2 -L/usr/local/mysql/lib -lmysqlclient -L/usr/local/lib 
>-o repligard common.o read.o import.o rpconfig.o exporthook.o 
>schema.o export.o main.o ../src/.libs/libmidgard.a -lmysqlclient -
>lexpat -lmysqlclient -lz -L/sw/lib -lglib -liconv -lexpat -lmysqlclient 
>-lz -L/sw/lib -lglib -liconv
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_getopt
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _getopt 
>in section (__TEXT,__text)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _getopt
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optarg
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of 
>_optarg in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optarg
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_opterr
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _opterr 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _opterr
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optind
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _optind 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optind
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optopt
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _optopt 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optopt
>Making all in test
>cc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-1\" -
>DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_ICONV=1 -
>DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1  -I. -I.  -I..  -I/sw/
>include/glib-1.2 -I/sw/lib/glib/include -I/usr/local/mysql/include -I/
>usr/local/include  -Wall -g -O2 -c pageresolve.c
>/bin/sh ../libtool --mode=link cc  -Wall -g -O2 -L/usr/local/mysql/
>lib -lmysqlclient -L/usr/local/lib -o pageresolve  pageresolve.o ../
>src/libmidgard.la -lexpat -lmysqlclient -lz -L/sw/lib -lglib -liconv
>mkdir .libs
>cc -Wall -g -O2 -L/usr/local/mysql/lib -lmysqlclient -L/usr/local/lib 
>-o pageresolve pageresolve.o ../src/.libs/libmidgard.a -
>lmysqlclient -lexpat -lmysqlclient -lz -L/sw/lib -lglib -liconv -lexpat 
>-lmysqlclient -lz -L/sw/lib -lglib -liconv
>/usr/bin/ld: Undefined symbols:
>_strtok_r
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_getopt
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _getopt 
>in section (__TEXT,__text)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _getopt
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optarg
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of 
>_optarg in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optarg
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_opterr
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _opterr 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _opterr
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optind
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _optind 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optind
>/usr/bin/ld: warning unused multiple definitions of symbol 
>_optopt
>/usr/local/mysql/lib/libmysqlclient.a(getopt.o) definition of _optopt 
>in section (__DATA,__data)
>/usr/lib/libSystem.dylib(getopt.o) unused definition of _optopt
>gmake[1]: *** [pageresolve] Error 1
>gmake: *** [all-recursive] Error 1
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to