I've finally gotten my build "machine" running again.     I've made a couple of minor changes to get it to build using only the applications from  FreeBSD's "ports" ( and I haven't committed them yet). Heartbeat is building now, almost...

Its getting to the heartbeat directory and trying to build, but this command:

matt:tuxie-fb6:/home/matt/linux-ha/heartbeat > gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -DVAR_RUN_D=\"/var/run\" -DVAR_LIB_D=\"/var/lib/heartbeat\" -DHA_D=\"/usr/local/etc/ha.d\" -DHALIB=\"/usr/local/lib/heartbeat\" -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -o .libs/heartbeat .libs/heartbeatS.o heartbeat-heartbeat.o heartbeat-auth.o heartbeat-config.o heartbeat-ha_msg_internal.o heartbeat-hb_api.o heartbeat-hb_resource.o heartbeat-hb_signal.o heartbeat-module.o heartbeat-hb_uuid.o heartbeat-hb_rexmit.o ../lib/stonith/.libs/libstonith.so -L../../lib/pils/ -L../../lib/pils/.libs/ -lbz2 -lz -lxml2 -lintl -luuid -lc -L/usr/local/lib -lltdl -lutil -lpils -lglib-2.0 -liconv -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../lib/pils/.libs/libpils.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil -lglib-2.0 -liconv -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../lib/clplumbing/.libs/libplumb.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../../lib/pils/.libs/libpils.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../lib/clplumbing/.libs/libplumbgpl.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../../lib/pils/.libs/libpils.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../lib/apphb/.libs/libapphb.so -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil ../replace/.libs/libreplace.al -lbz2 -lz -lxml2 -lintl -luuid -lc -lltdl -lutil -L/usr/local/lib -lglib-2.0 -liconv -lbz2 -lz -lxml2 -lintl -luuid -lc -L/usr/local/lib -lltdl -lutil -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib

Fails with the following 2 messages
gcc: ../../lib/pils/.libs/libpils.so: No such file or directory
gcc: ../../lib/pils/.libs/libpils.so: No such file or directory

This seems to make sense since from the heartbeat directory, as there is no ../../lib/pils/.libs/ directory, but there IS one in ../lib/pils/.libs/libpils.so .

And, for some reason it appears that there are at least 11 copies of the libraries being included here ( for example there are  11 copies -lbz2 there ).

I cannot find where this would be happening.  Any ideas ?

Matt
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to