by Clay » Thu Oct 11, 2001 9:37 pm
After finding the latest version, I had similar results ... but was concerned about these warning messages:
/usr/bin/ld: warning multiple definitions of symbol _regcomp
regex.o private external definition of _regcomp in section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.o) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
regex.o private external definition of _regexec in section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.o) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
regex.o private external definition of _regfree in section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.o) definition of _regfree
/usr/bin/ld: warning unused multiple definitions of symbol _err
msg.o definition of _err in section (__TEXT,__text)
/usr/lib/libm.dylib(err.o) unused definition of _err
/usr/bin/ld: warning unused multiple definitions of symbol _getopt
getopt.o definition of _getopt in section (__TEXT,__text)
/usr/lib/libm.dylib(getopt.o) unused definition of _getopt
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
getopt.o definition of _opterr in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optind
getopt.o definition of _optind in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
getopt.o definition of _optopt in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optopt
/usr/bin/ld: warning unused multiple definitions of symbol _optarg
"link editor" definition of _optarg in section (__DATA,__common)
/usr/lib/libm.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
regex.o definition of _regerror in section (__TEXT,__text)
/usr/lib/libm.dylib(regerror.o) unused definition of _regerror
source='eval_p.c' object='eval_p.o' libtool=no \
depfile='.deps/eval_p.Po' tmpdepfile='.deps/eval_p.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I./intl -g -O2 -c -o eval_p.o `test -f eval_p.c || echo './'`eval_p.c
source='profile_p.c' object='profile_p.o' libtool=no \
depfile='.deps/profile_p.Po' tmpdepfile='.deps/profile_p.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I./intl -g -O2 -c -o profile_p.o `test -f profile_p.c || echo './'`profile_p.c
cc -g -O2 -o pgawk array.o awkgram.o builtin.o dfa.o ext.o field.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval_p.o profile_p.o ./intl/libintl.a -lm
/usr/bin/ld: warning multiple definitions of symbol _regcomp
regex.o private external definition of _regcomp in section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.o) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
regex.o private external definition of _regexec in section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.o) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
regex.o private external definition of _regfree in section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.o) definition of _regfree
/usr/bin/ld: warning unused multiple definitions of symbol _err
msg.o definition of _err in section (__TEXT,__text)
/usr/lib/libm.dylib(err.o) unused definition of _err
/usr/bin/ld: warning unused multiple definitions of symbol _getopt
getopt.o definition of _getopt in section (__TEXT,__text)
/usr/lib/libm.dylib(getopt.o) unused definition of _getopt
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
getopt.o definition of _opterr in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optind
getopt.o definition of _optind in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
getopt.o definition of _optopt in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optopt
/usr/bin/ld: warning unused multiple definitions of symbol _optarg
"link editor" definition of _optarg in section (__DATA,__common)
/usr/lib/libm.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
regex.o definition of _regerror in section (__TEXT,__text)
/usr/lib/libm.dylib(regerror.o) unused definition of _regerror
... that seemed like an awful lot of warnings. Nothing to be worried about?
Thanks,
Clay