Hi list...

makeing from tip:

[...]
gcc -Wall -Wformat-security -Werror -Wstrict-prototypes -fno-strict-aliasing 
-std=gnu99 -Wno-array-bounds -O2 -m64  mlehash.o lcptools.o lcputils.o -lcrypto
-ltspi -o lcp_mlehash
mlehash.o: In function `read_file':
mlehash.c:(.text+0x91): undefined reference to `gzopen'
mlehash.c:(.text+0xd4): undefined reference to `gzeof'
mlehash.c:(.text+0xec): undefined reference to `gzread'
mlehash.c:(.text+0x126): undefined reference to `gzclose'
mlehash.c:(.text+0x261): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [lcp_mlehash] Error 1
make[2]: Leaving directory `/repo-extern/tboot.hg/lcptools'
make[1]: *** [build-lcptools] Error 2
make[1]: Leaving directory `/repo-extern/tboot.hg'
make: *** [build] Error 2



This helps:


diff -r d0e88a1b340e lcptools/Makefile
--- a/lcptools/Makefile Mon Aug 17 16:29:54 2009 -0700
+++ b/lcptools/Makefile Fri Aug 21 10:34:13 2009 +0200
@@ -24,7 +24,7 @@


 # libraries
-LIBS += -lcrypto -ltspi
+LIBS += -lcrypto -ltspi -lz


 #
diff -r d0e88a1b340e tb_polgen/Makefile
--- a/tb_polgen/Makefile        Mon Aug 17 16:29:54 2009 -0700
+++ b/tb_polgen/Makefile        Fri Aug 21 10:34:13 2009 +0200
@@ -10,7 +10,7 @@
 TARGET = tb_polgen

 # libraries
-LIBS += -lcrypto
+LIBS += -lcrypto -lz


 #

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to