[MacPorts] #14671: oski: new port
#14671: oski: new port -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- Antoine Dechaume [http://lists.macosforge.org/pipermail/macports- users/2008-March/009459.html requested] assistance building oski on Mac OS X. I started a portfile for oski and encountered the same error he did: {{{ ld: Undefined symbols: _MAIN__ /usr/bin/libtool: internal link edit command failed make[1]: *** [liboski.la] Error 1 make: *** [all-recursive] Error 1 Warning: the following items did not execute (for oski): org.macports.destroot org.macports.build Error: Status 1 encountered during processing. $ }}} Apparently the developer of oski [http://lists.macosforge.org/pipermail /macports-users/2008-March/009462.html doesn't know] why this is happening either. I'll attach my partial portfile if anyone else wants to look into it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14671> MacPorts </projects/macports> Ports system for Mac OS
#14671: oski: new port --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): Searching Google for this error I found [http://macresearch.org/xcode_gfortran_plugin_update?page=1 a page] with a suggestion to replace "program foo" with "subroutine foo" in the Fortran program, and then write a small C program which calls this Fortran subroutine: {{{ int main (int argc, const char * argv[]) { foo_(); return 0; } }}} But to try this, I would need to know what the name of the main Fortran program is. I don't even know where the Fortran code is for this program. I'm not a Fortran programmer so I don't even know what to look for. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14671#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14671: oski: new port --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): In the configure output I see this: {{{ checking for dummy main to link with Fortran 77 libraries... none }}} On the topic of dummy main functions I found [http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf... this reference]. Not sure if any of that is relevant. Just grasping at straws. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14671#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14671: oski: new port --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): It looks like the "`ld: Undefined symbols: _MAIN__`" problem was already [http://sourceforge.net/mailarchive/forum.php?thread_name=m2slfbwtfh.wl%25jow... =oski-users reported] back in December 2006 on the oski mailing list. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14671#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts