[lsb-discuss] How to generate binary from the source?

Hao Liu hliu at redhat.com
Fri Aug 15 00:09:19 PDT 2008


Hi, guys,
  I'm working on debugging a test case, which is 
/tset/LI18NUX2K.L1/base/swscanf/T.swscanf,  given by LSB.
According to http://bugs.linuxbase.org/show_bug.cgi?id=1558#c6 ,  I 
patched the source .c file, revised scen.bld
and scen.exec, after these steps, I tried to generate the test case from 
the revised source file with
  tcc -b -s $HOME/scen.bld $*
I checked the build journal, it says:

0|3.6-lite 15:04:45 20080815|User: vsx0 (500) TCC Start, Command line: 
tcc -b -s scen.bld
5|Linux IPv6testee.nay.redhat.com 2.6.18-92.el5 #1 SMP Tue Apr 29 
13:21:29 EDT 2008 ppc64|System Information
20|/home/tet/test_sets/tetbuild.cfg 0|Config Start
30||VSX_OPER=hliu
30||VSX_ORG=Red Hat
30||VSX_SYS=Unknown
30||TEST_XNFS=n
30||VSXDIR=/home/tet/test_sets/SRC
30||PATH=/home/tet/bin:/home/tet/test_sets/BIN:/home/tet/test_sets/TESTROOT/BIN:/home/tet/bin:/opt/lsb-tet3-lite/bin:/home/tet/test_sets/BIN:/home/tet/test_sets/TESTROOT/BIN:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/tet/test_sets:/sbin/:/usr/sbin:/home/tet/test_sets/BIN
30||TET_SIG_IGN=
30||TET_SIG_LEAVE=
30||TET_BUILD_TOOL=vbuild
30||TET_OUTPUT_CAPTURE=False
30||TET_API_COMPLIANT=True
30||TET_PASS_TC_NAME=False
30||TET_VERSION=3.6-lite
40||Config End
110|0 /tset/LI18NUX2K.L1/base/swscanf/T.swscanf 15:04:45|Build Start, 
scenario ref 1-0
15|0 3.6-lite 1|TCM Start
400|0 0 1 15:04:45|IC Start
200|0 1 15:04:45|TP Start
520|0 1 00031892 1 1|/usr/bin/cc  
-I/home/tet/test_sets/SRC/../../inc/tet3 -I/home/tet/test_sets/SRC/INC 
-I/home/tet/test_sets/SRC/SYSINC -I. -D_XOPEN_SOURCE=500 -DUNDEF_MACROS  
-ansi -I/usr/include/gdbm    -c -o swscanf.o swscanf.c
520|0 1 00031892 1 2|make: *** No rule to make target 
`/home/tet/test_sets/SRC/../../lib/tet3/tcm.o', needed by `T.swscanf'.  
Stop.
220|0 1 1 15:04:45|FAIL
410|0 0 1 15:04:45|IC End
130|0 0 15:04:46|Build End, scenario ref 1-0
900|15:04:46|TCC End


Can somebody tell me what's going wrong with my operations? Thank you.

All the best,
Hao Liu


More information about the lsb-discuss mailing list