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

[Testbed-admins] Building Windows XP image



Hi,

I am building a Windows XP image for our "Virtual Wall" emulab testbed.
 I have been following the instructions in "xpimage-notest.txt".

Instead of building elvin on cygwin i used pubsub-0.8 instead.  This
step did not gave any issues.

However, building the emulab source tree gives a compile error.  I have
attached the build output here.

Any ideas on how to proceed ?

Thanks in advance
Jos
make[1]: Entering directory `/cygdrive/c/testbed/obj/testbed-070517/lib/libtb'
gcc -c -o log.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/log.c
gcc -c -o tbdefs.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/tbdefs.c
gcc -c -o popenf.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/popenf.c
gcc -c -o systemf.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/systemf.c
gcc -c -o be_user.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/be_user.c
gcc -c -o tmcc.o   -O -g -Wall -I../.. -I/usr/local/include ../../../../src/testbed-070517-r203/lib/libtb/tmcc.c
ar crv libtb-nodb.a log.o tbdefs.o popenf.o systemf.o be_user.o tmcc.o
a - log.o
a - tbdefs.o
a - popenf.o
a - systemf.o
a - be_user.o
a - tmcc.o
ranlib libtb-nodb.a
cmp -s libtb-nodb.a libtb.a || cp -pf libtb-nodb.a libtb.a
make[1]: Leaving directory `/cygdrive/c/testbed/obj/testbed-070517/lib/libtb'
make[1]: Entering directory `/cygdrive/c/testbed/obj/testbed-070517/event'
../../../src/testbed-070517-r203/event/trafgen/tg-install ../../../src/testbed-070517-r203/event/trafgen
make[2]: Entering directory `/cygdrive/c/testbed/obj/testbed-070517/event/lib'
GNUmakefile:166: warning: overriding commands for target `distclean'
../../../../src/testbed-070517-r203/GNUmakerules:64: warning: ignoring old commands for target `distclean'
gcc   -O2 -g -static -I. -Wall -I/usr/local/include -c -o event.o ../../../../src/testbed-070517-r203/event/lib/event.c
../../../../src/testbed-070517-r203/event/lib/event.c: In function â??event_notification_insert_hmacâ??:
../../../../src/testbed-070517-r203/event/lib/event.c:1581: warning: pointer targets in passing argument 3 of â??HMAC_Finalâ?? differ in signedness
../../../../src/testbed-070517-r203/event/lib/event.c:1599: warning: pointer targets in passing argument 3 of â??pubsub_notification_add_opaqueâ?? differ in signedness
../../../../src/testbed-070517-r203/event/lib/event.c: In function â??event_notification_check_hmacâ??:
../../../../src/testbed-070517-r203/event/lib/event.c:1661: warning: pointer targets in passing argument 3 of â??HMAC_Finalâ?? differ in signedness
../../../../src/testbed-070517-r203/event/lib/event.c: At top level:
../../../../src/testbed-070517-r203/event/lib/event.c:1379: warning: â??subscription_callbackâ?? defined but not used
gcc   -O2 -g -static -I. -Wall -I/usr/local/include -c -o util.o ../../../../src/testbed-070517-r203/event/lib/util.c
ar crv libevent.a event.o util.o
a - event.o
a - util.o
ranlib libevent.a
make[2]: Leaving directory `/cygdrive/c/testbed/obj/testbed-070517/event/lib'
make[2]: Entering directory `/cygdrive/c/testbed/obj/testbed-070517/event/tbgen'
gcc -c -o tevc.o   -DDEBUG -O -g -Wall -I. -I../.. -I../../../../src/testbed-070517-r203/event/tbgen/../lib -I../../../../src/testbed-070517-r203/lib/libtb -I/usr/local/include ../../../../src/testbed-070517-r203/event/tbgen/tevc.c
../../../../src/testbed-070517-r203/event/tbgen/tevc.c: In function â??mainâ??:
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:216: warning: cast from pointer to integer of different size
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:256: warning: array subscript has type â??charâ??
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:269: warning: array subscript has type â??charâ??
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:299: warning: cast from pointer to integer of different size
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:312: warning: array subscript has type â??charâ??
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:316: warning: cast from pointer to integer of different size
../../../../src/testbed-070517-r203/event/tbgen/tevc.c:317: warning: cast from pointer to integer of different size
gcc  -L../../lib -L../../lib/libtb -L../lib -static -o tevc-debug tevc.o ../../lib/libtb/log.o \
		../../lib/libtb/tbdefs.o -levent -lcrypto -lm -L/usr/local/lib -lpubsub 
/usr/local/lib/libpubsub.a(log.o): In function `logsyslog':
/cygdrive/c/pubsub/pubsub-0.8/log.c:65: multiple definition of `_logsyslog'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:64: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `error':
/cygdrive/c/pubsub/pubsub-0.8/log.c:114: multiple definition of `_error'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:103: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `errorc':
/cygdrive/c/pubsub/pubsub-0.8/log.c:130: multiple definition of `_errorc'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:119: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `warning':
/cygdrive/c/pubsub/pubsub-0.8/log.c:98: multiple definition of `_warning'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:87: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `pwarning':
/cygdrive/c/pubsub/pubsub-0.8/log.c:161: multiple definition of `_pwarning'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:150: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `fatal':
/cygdrive/c/pubsub/pubsub-0.8/log.c:143: multiple definition of `_fatal'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:132: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `pfatal':
/cygdrive/c/pubsub/pubsub-0.8/log.c:174: multiple definition of `_pfatal'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:163: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `info':
/cygdrive/c/pubsub/pubsub-0.8/log.c:81: multiple definition of `_info'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:70: first defined here
/usr/local/lib/libpubsub.a(log.o): In function `loginit':
/cygdrive/c/pubsub/pubsub-0.8/log.c:35: multiple definition of `_loginit'
../../lib/libtb/log.o:/cygdrive/c/testbed/obj/testbed-070517/lib/libtb/../../../../src/testbed-070517-r203/lib/libtb/log.c:34: first defined here
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[2]: *** [tevc-debug] Error 1
make[2]: Leaving directory `/cygdrive/c/testbed/obj/testbed-070517/event/tbgen'
make[1]: *** [tbgen/client.MAKE] Error 2
make[1]: Leaving directory `/cygdrive/c/testbed/obj/testbed-070517/event'
make: *** [client] Error 2