[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:02365] Leopard and HTS 2.1.1


Hi Keiichiro and hts users.

When we compiled HTS-2.1.1 on Leopard, you would have
warnings related to HMGenS like this.

f [ xHMGenS = xHSLab ] ; then \
gcc -o HMGenS -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/ include/malloc -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN -I../HTKLib - DPHNALG HMGenS.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib -lm -lX11 ; \
	elif [ xHMGenS = xHMGenS ] ; then \
gcc -o HMGenS -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/ include/malloc -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN -I../HTKLib - DPHNALG HMGenS.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib -lm -L/usr/ local/lib/gcc/i686-apple-darwin8/4.2.3 -L/usr/local/lib/gcc/i686-apple- darwin8/4.2.3/../../.. -lm -lgfortranbegin -lgfortran ; \
		else \
gcc -o HMGenS -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/ include/malloc -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN -I../HTKLib - DPHNALG HMGenS.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib -lm ; fi

ld warning: can't find atom for N_GSYM stabs
lb3:G(0,40)=s32mp:(0,3),0,32;lp:(0,3),32,32;gtol:(0,5),64,64;stpmin: (0,5),128,64;stpmax:(0,5),192,64;; in ../HTKLib/HTKLib.a(lbfgs.o) ld warning: can't find atom for N_GSYM stabs mp:G(0,3) in ../HTKLib/ HTKLib.a(lbfgs.o) ld warning: can't find atom for N_GSYM stabs mp:G(0,3) in ../HTKLib/ HTKLib.a(lbfgs.o) ld warning: can't find atom for N_GSYM stabs mp:G(0,3) in ../HTKLib/ HTKLib.a(lbfgs.o) ld warning: can't find atom for N_GSYM stabs mp:G(0,3) in ../HTKLib/ HTKLib.a(lbfgs.o)

In order to avoid this, please modify configure.ac like this and
re-create ./configure file using autoconf.


               i386*darwin*)
CFLAGS="-ansi -g -O2 -DNO_AUDIO - D'ARCH=\"darwin\"' -I/usr/include/malloc $CFLAGS"
-                               FFLAGS="-g -O2 $FFLAGS"
+                               FFLAGS="-gdwarf-2 -O2 $FFLAGS"
                                LDFLAGS="-L/usr/X11R6/lib $LDFLAGS"
                                ARCH=darwin
                                Objcopy=echo
                                PRILF="-x"
                                CPU=darwin
                                SHRLF="-shared"
                                LIBEXT=dylib
                ;;
                *darwin*)
CFLAGS="-ansi -g -O2 -DNO_AUDIO - D'ARCH=\"darwin\"' -I/usr/include/malloc $CFLAGS"
-                               FFLAGS="-g -O2 $FFLAGS"
+                               FFLAGS="-gdwarf-2 -O2 $FFLAGS"
                                LDFLAGS="-L/usr/X11R6/lib $LDFLAGS"
                                ARCH=darwin
                                Objcopy=echo
                                PRILF="-x"
                                CPU=darwin
                                SHRLF="-shared"
                                LIBEXT=dylib
                ;;

Regards,
Junichi
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.