From: <YuJ...@it...> - 2006-08-22 03:25:45
|
Hi Kent, I have tried $ ./configure --enable-debug $ make It is ok now! Can you explain the purpose of these flags "--enable-prof --enable-gcov"? My job is to run testsuite-27022006 to test some TPM.. Are these flags=0D needed for my job? If the answer is yes, how does I fix this problem? Change gcc version? Thank you! Best Regards, Jessie. ----- Original Message -----=0D From: "Kent Yoder" <shp...@gm...> To: "=E8=91=89=E4=BA=8E=E6=A6=95" <YuJ...@it...> Cc: <tro...@li...> Sent: Friday, August 18, 2006 11:44 PM Subject: Re: [TrouSerS-users] Compile trousers-0.2.7 error! > Hi, try > > $ ./configure --enable-debug > $ make > > unless you intend to profile or test the TSS, you won't need the other=0D > flags. > > Kent > > On 8/18/06, =E8=91=89=E4=BA=8E=E6=A6=95 <YuJ...@it...> wrote: >> >> Hi all, >> >> I used kernel 2.6.16-1.2111_FC5smp and gcc 4.1.0 to compile=0D >> trousers-0.2.7. >> I followed the readme file: >> >> $ sh bootstrap.sh >> $ ./configure --enable-debug --enable-prof --enable-gcov >> $ make >> >> The error message happened: >> >> Making all in tools >> make[1]: Entering directory `/home/yjyeh/project/trousers-0.2.7/tools' >> if >> gcc -DPACKAGE_NAME=3D\"trousers\" -DPACKAGE_TARNAME=3D\"trousers\"= -DPACKAGE_VERS >> ION=3D\"0.2.7\" -DPACKAGE_STRING=3D\"trousers\ >> 0.2.7\" -DPACKAGE_BUGREPORT=3D\"trouser >> s-...@li...\" -DPACKAGE=3D\"trousers\" -DVERSION=3D\"0.2.7\"= -DSTDC_HEADERS=3D >> 1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1= -DHAVE_STRING_H=3D1 >> - >> DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1= -DHAVE_STDINT_H=3D1=0D >> -DHAVE >> _UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -I. -I. -I../src/include -O0 -g= -DTSS_DEBUG >> -Wr >> eturn-type -ftest-coverage -fprofile-arcs -I../include -W -Wall -Werror= -Wno-unu >> sed-parameter -DTCSD_DEFAULT_PORT=3D30003 -DTSS_VER_MAJOR=3D0= -DTSS_VER_MINOR=3D2 >> -DTS >> S_REV_MAJOR=3D7 -DTSS_REV_MINOR=3D0 -MT ps_inspect-ps_inspect.o -MD -MP= -MF >> ".deps/p >> s_inspect-ps_inspect.Tpo" -c -o ps_inspect-ps_inspect.o `test -f >> 'ps_inspect.c' >> || echo './'`ps_inspect.c; \ >> then mv -f ".deps/ps_inspect-ps_inspect.Tpo" >> ".deps/ps_inspect-ps_inspect.Po"; e >> lse rm -f ".deps/ps_inspect-ps_inspect.Tpo"; exit 1; fi >> /bin/sh ../libtool --tag=3DCC --mode=3Dlink >> gcc -O0 -g -DTSS_DEBUG -Wreturn-type -f >> test-coverage -fprofile-arcs -I../include -W -Wall -Werror= -Wno-unused-parameter >> -DTCSD_DEFAULT_PORT=3D30003 -DTSS_VER_MAJOR=3D0 -DTSS_VER_MINOR=3D2= -DTSS_REV_MAJOR=3D7 >> -DTSS_REV_MINOR=3D0 -o ps_inspect ps_inspect-ps_inspect.o >> ../src/tspi/libtspi.la >> mkdir .libs >> gcc -O0 -g -DTSS_DEBUG -Wreturn-type -ftest-coverage -fprofile-arcs= -I../include >> -W -Wall -Werror -Wno-unused-parameter -DTCSD_DEFAULT_PORT=3D30003= -DTSS_VER_MAJO >> R=3D0 -DTSS_VER_MINOR=3D2 -DTSS_REV_MAJOR=3D7 -DTSS_REV_MINOR=3D0 -o >> .libs/ps_inspect ps >> _inspect-ps_inspect.o >> ../src/tspi/.libs/libtspi.so -lcrypto -lpthread -lgtk-x11 >> -2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0= -lpango-1.0 >> - >> lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--rpath= -Wl,/usr/local/lib >> >> /usr/bin/ld: .libs/ps_inspect: hidden symbol `__gcov_init' in >> /usr/lib/gcc/i386-redhat-linux/4.1.0/libgcov.a(_gcov.o) is referenced by= =0D >> DSO >> /usr/bin/ld: final link failed: Nonrepresentable section on output >> collect2: ld returned 1 exit status >> make[1]: *** [ps_inspect] Error 1 >> make[1]: Leaving directory `/home/yjyeh/project/trousers-0.2.7/tools' >> make: *** [all-recursive] Error 1 >> >> How do I resolve this problem ? >> >> Thank you! >> >> >> %;+H%s%i/`%]'t$u,c0|>w1K8j0T!A+D+|)w$'&,%s*L!A= =3DP$E(O%N)N4&ES%;+H%s$:.e!A(C=3DP>P74&9+H%s!C >> This email may contain confidential information. Please do not use or=0D >> disclose it in any way and delete it if you are not the intended=0D >> recipient. >> >> >> >>= ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services,= security? >> Get stuff done quickly with pre-integrated technology to make your job=0D >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache=0D >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 >> >> _______________________________________________ >> TrouSerS-users mailing list >> Tro...@li... >> https://lists.sourceforge.net/lists/listinfo/trousers-users >> >> >> > > > --=0D > Kent Yoder > IBM LTC Security Dev.=0D =E6=9C=AC=E4=BF=A1=E4=BB=B6=E5=8F=AF=E8=83=BD=E5=8C=85=E5=90=AB=E5=B7=A5=E7= =A0=94=E9=99=A2=E6=A9=9F=E5=AF=86=E8=B3=87=E8=A8=8A=EF=BC=8C=E9=9D=9E=E6=8C= =87=E5=AE=9A=E4=B9=8B=E6=94=B6=E4=BB=B6=E8=80=85=EF=BC=8C=E8=AB=8B=E5=8B=BF= =E4=BD=BF=E7=94=A8=E6=88=96=E6=8F=AD=E9=9C=B2=E6=9C=AC=E4=BF=A1=E4=BB=B6=E5= =85=A7=E5=AE=B9=EF=BC=8C=E4=B8=A6=E8=AB=8B=E9=8A=B7=E6=AF=80=E6=AD=A4=E4=BF= =A1=E4=BB=B6=E3=80=82 This email may contain confidential information. Please do not use or= disclose it in any way and delete it if you are not the intended= recipient. |