MySQL 4.1, GCC 3.x, FreeBSD 4.x
Simon Barner
barner at FreeBSD.org
Wed Sep 21 13:55:24 PDT 2005
John Nielsen wrote:
[...]
> if gcc34 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
> -I/usr/local/include -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT
> -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O3
> -fno-omit-frame-pointer -MT conf_to_src.o -MD -MP -MF
> ".deps/conf_to_src.Tpo" -c -o conf_to_src.o conf_to_src.c; then mv -f
> ".deps/conf_to_src.Tpo" ".deps/conf_to_src.Po"; else rm -f
> ".deps/conf_to_src.Tpo"; exit 1; fi
> /usr/local/bin/libtool15 --preserve-dup-deps --mode=link gcc34 -DDBUG_OFF
> -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
> -I/usr/local/include/pthread/linuxthreads -O3 -fno-omit-frame-pointer
> -L/usr/local/lib -o conf_to_src conf_to_src.o xml.o ctype.o bcmp.o
> -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread
> -llgcc_r -lcrypt -lm -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread
> -llgcc_r
> libtool15: link: unable to infer tagged configuration
> libtool15: link: specify a tag with `--tag'
[...]
I recently had the same problem, but the other way round (gcc295 on
FreeBSD 6).
I fixed it by pkg_deleting libtool, autoconf, automake and reinstalling
them with the same compiler that you want to use later.
This is most easily done, when you simply run
make CC=gcc34 CXX=g++34 in the mysql port directory, since this will
pull in missing dependencies.
Don't forget to delete them again when you're done -- otherwise you
will break other ports (that use the stock gcc).
HTH, and best regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050921/e6270561/attachment.bin
More information about the freebsd-stable
mailing list