Bug 72216 - math/spooles: missing symbols in the library.
Summary: math/spooles: missing symbols in the library.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Maho Nakata
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 00:00 UTC by Thierry Thomas
Modified: 2004-10-19 03:11 UTC (History)
1 user (show)

See Also:


Attachments
spooles.diff (4.81 KB, patch)
2004-10-01 00:00 UTC, Thierry Thomas
no flags Details | Diff
file.diff (372 bytes, patch)
2004-10-01 00:00 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2004-10-01 00:00:44 UTC
	Trying to link a program with spooles, I get this kind of messages:
	/usr/local/lib/libspooles.a(A2_QRreduce.o)(.text+0xc91): In function `computeW1':
	: undefined reference to `DVaxpy13
	/usr/local/lib/libspooles.a(A2_QRreduce.o)(.text+0xd2c): In function `computeW1':
	: undefined reference to `DVaxpy12'
	/usr/local/lib/libspooles.a(A2_QRreduce.o)(.text+0x10e7): In function `computeW1':
	: undefined reference to `ZVaxpy13'
	/usr/local/lib/libspooles.a(A2_QRreduce.o)(.text+0x119e): In function `computeW1':
	: undefined reference to `ZVaxpy12'
	etc.

	With spooles-mpich, I get the same messages, plus others:
	undefined reference to `FrontMtx_MPI_factorInpMtx'
	etc.

	Actually, some files makeGlobalLib used to avoid perl are uncomplete,
	and the following patches fix the problem.

	Since I'm there, add CONFLICTS and pet portlint.
	Warning: USE_MPI and USE_THREADS are replaced by WITH_MPI and
	WITH_THREADS.

	Bump PORTREVISION.

Fix: Please apply the following patches:
How-To-Repeat: 	Before the patch:

	nm -A /usr/local/lib/libspooles.a | grep DVaxpy
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy11
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy12
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy13
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy21
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy31
	/usr/local/lib/libspooles.a:Chv_factor.o:         U DVaxpy
	/usr/local/lib/libspooles.a:Chv_factor.o:         U DVaxpy2
	/usr/local/lib/libspooles.a:Utilities_DV.o:00000073 T DVaxpy
	/usr/local/lib/libspooles.a:Utilities_DV.o:00001388 T DVaxpy2
	/usr/local/lib/libspooles.a:Utilities_DV.o:00000109 T DVaxpyi

	nm -A /usr/local/lib/libspooles.a | grep FrontMtx_MPI_factorInpMtx
	
	After applying the patch:

	nm -A /usr/local/lib/libspooles.a | grep DVaxpy
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy11
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy12
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy13
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy21
	/usr/local/lib/libspooles.a:A2_QRreduce.o:         U DVaxpy31
	/usr/local/lib/libspooles.a:Chv_factor.o:         U DVaxpy
	/usr/local/lib/libspooles.a:Chv_factor.o:         U DVaxpy2
	/usr/local/lib/libspooles.a:Utilities_DV.o:00000073 T DVaxpy
	/usr/local/lib/libspooles.a:Utilities_DV.o:00001388 T DVaxpy2
	/usr/local/lib/libspooles.a:Utilities_DV.o:00000109 T DVaxpyi
	/usr/local/lib/libspooles.a:Utilities_axpy.o:000003b9 T DVaxpy11
	/usr/local/lib/libspooles.a:Utilities_axpy.o:00000370 T DVaxpy12
	/usr/local/lib/libspooles.a:Utilities_axpy.o:00000314 T DVaxpy13
	/usr/local/lib/libspooles.a:Utilities_axpy.o:000002c8 T DVaxpy21
	/usr/local/lib/libspooles.a:Utilities_axpy.o:00000258 T DVaxpy22
	/usr/local/lib/libspooles.a:Utilities_axpy.o:000001c0 T DVaxpy23
	/usr/local/lib/libspooles.a:Utilities_axpy.o:0000015c T DVaxpy31
	/usr/local/lib/libspooles.a:Utilities_axpy.o:000000c6 T DVaxpy32
	/usr/local/lib/libspooles.a:Utilities_axpy.o:00000000 T DVaxpy33

	nm -A /usr/local/lib/libspooles.a | grep FrontMtx_MPI_factorInpMtx
	/usr/local/lib/libspooles.a:MPI_factorMPI.o:00000000 T FrontMtx_MPI_factorInpMtx
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2004-10-01 00:06:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->maho


Over to the maintainer.
Comment 2 Maho Nakata freebsd_committer freebsd_triage 2004-10-19 03:11:26 UTC
State Changed
From-To: open->closed

Committed, thanks!