[torqueusers] help! torque-2.2.1 will not build

Garrick Staples garrick at usc.edu
Sat Nov 3 19:14:39 MDT 2007


On Sat, Nov 03, 2007 at 11:51:35AM -0700, Steven DuChene alleged:
> I am trying to build Torque-2.2.1 for a demo system for SC07 and I am 
> getting the following error:
> 
> mkdir .libs
> gcc -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long 
> -pedantic -Werror -o .libs/pbs_demux pbs_demux.o  linux/libmommach.a 
> /usr/lib64/libcpuset.so /usr/lib64/libbitmask.so -lutil 
> ../lib/Libattr/libattr.a ../lib/Libsite/libsite.a 
> ../lib/Libpbs/.libs/libtorque.so
> gcc -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long 
> -pedantic -Werror -o .libs/pbs_mom catch_child.o mom_comm.o mom_inter.o 
> mom_main.o mom_server.o prolog.o requests.o start_exec.o tmsock_recov.o 
> attr_recov.o dis_read.o job_attr_def.o job_func.o job_recov.o 
> process_request.o reply_send.o req_quejob.o resc_def_all.o 
> job_qs_upgrade.o  linux/libmommach.a /usr/lib64/libcpuset.so 
> /usr/lib64/libbitmask.so -lutil ../lib/Libattr/libattr.a 
> ../lib/Libsite/libsite.a ../lib/Libpbs/.libs/libtorque.so
> creating pbs_demux
> catch_child.o: In function `init_abort_jobs':
> catch_child.c:(.text+0x2333): undefined reference to 
> `initialize_root_cpuset'
> start_exec.o: In function `TMomFinalizeChild':
> start_exec.c:(.text+0x27b7): undefined reference to `create_job_set'
> collect2: ld returned 1 exit status
> 
> 
> I am building this on a SuSE Linux Enterprise Server 10.0 release
> 
> I have attempted to build using the spec file to make rpms and by hand using
> configure and make from the command line.

Unfortunately I am unable to test this because I don't have a machine with
libcpuset.

Looks like something wrong with the Makefile.  Can you change:
   SUBDIRS = $(cpuset)
to:
   SUBDIRS = $(cpusetdir)
in src/resmom/linux/Makefile.in and run configure again?

If that doesn't work, please send me the generated src/resmom/linux/Makefile
(and error messages if they are different).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20071103/61a84fcc/attachment.bin


More information about the torqueusers mailing list