From owner-freebsd-ports@FreeBSD.ORG Thu Jun 3 11:02:29 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DD461065675 for ; Thu, 3 Jun 2010 11:02:29 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 3974D8FC12 for ; Thu, 3 Jun 2010 11:02:29 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@FreeBSD.org with esmtp (envelope-from ) id <1OK8Bw-0007nY-3D>; Thu, 03 Jun 2010 13:02:28 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@FreeBSD.org with esmtpsa (envelope-from ) id <1OK8Bw-0004vO-1J>; Thu, 03 Jun 2010 13:02:28 +0200 Message-ID: <4C078BC5.5040504@zedat.fu-berlin.de> Date: Thu, 03 Jun 2010 13:02:29 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100601 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: math/gmm++: gmm::SuperLU_solve() triggers an error (/usr/local/include/gmm/gmm_superlu_interface.h:198) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 11:02:29 -0000 Hello out there. I try to compile the scientific planetary softwarepackage ISIS3 (from USGS) on a FreeBSD 8.1-BETA1/amd64 box. This task performed well prior to several ports-updates that ran into the repository last weeks. I do not know whether gmm++/superLU was one of them. I receive the following error compiling src/base/objs/LeastSquares/LeastSquares.cpp (recent ISIS 3.2.0): /usr/local/include/gmm/gmm_superlu_interface.h: In function 'void gmm::SuperLU_solve(const MAT&, const VECTX&, const VECTB&, double&, int) [with MAT = gmm::row_matrix >, VECTX = std::vector >, VECTB = gmm::tab_ref_with_origin<__gnu_cxx: __normal_iterator > >, gmm::dense_matrix >]': LeastSquares.cpp:436: instantiated from here /usr/local/include/gmm/gmm_superlu_interface.h:198: error: invalid cast from type 'std::vector >' to ype 'int*' /usr/local/include/gmm/gmm_superlu_interface.h:198: error: invalid cast from type 'std::vector >' to ype 'int*' gmake[4]: *** [LeastSquares.o] Error 1 Well, my abilities in C++ are very little. Maybe there is something wrong in the LeastSquares.cpp-routine causing this error: ... gmm::SuperLU_solve(Asquare,x,gmm::mat_const_col(bAtrans,0),recond,perm); ... Can anyon help, please, or should I file a PR? Please CC/email me directly, I'm not regular subscriber of the list. Regards and thanks in advance, Oliver