Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2007 09:08:25 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108105: building biology/platon fails.
Message-ID:  <200701190008.l0J08PoU083939@polymer3.scphys.kyoto-u.ac.jp>
Resent-Message-ID: <200701190010.l0J0AKNg084349@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108105
>Category:       ports
>Synopsis:       building biology/platon fails.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 19 00:10:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.2-STABLE FreeBSD 6.2-STABLE #3: Mon Jan 15 16:38:16 JST 2007 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building biology/platon fails with next messages:
	Warning: Obsolete: arithmetic IF statement at (1)
	cc -O -pipe -I/usr/X11R6/include -c xdrvr.c
	gfortran42 -o platon platon.o xdrvr.o -L/usr/X11R6/lib -lX11
	platon.o(.text+0x6c31): In function `setupcc_':
	: undefined reference to `signal_'
	platon.o(.text+0x196f3): In function `s937_':
	: undefined reference to `system_'
	platon.o(.text+0x1971a): In function `s937_':
	: undefined reference to `system_'
	platon.o(.text+0x19729): In function `s937_':
	: undefined reference to `system_'
	platon.o(.text+0x1974d): In function `s937_':
	: undefined reference to `system_'
	platon.o(.text+0x19768): In function `s937_':
	: undefined reference to `system_'
	platon.o(.text+0x19c10): more undefined references to `system_' follow
	collect2: ld returned 1 exit status

	
>How-To-Repeat:
	always build biology/platon with no option.
	
>Fix:
	here is a patch:
	--- files/Makefile.orig Fri Jan 19 04:30:05 2007
	+++ files/Makefile Fri Jan 19 08:58:52 2007
	@@ -10,7 +10,7 @@
	 FOPT=  ${FFLAGS} -Nx800 -NL400 -Nn802
	 .endif
	 COPT=  ${CFLAGS} -I%%X11BASE%%/include
	-LOPT=  -L%%X11BASE%%/lib -lX11
	+LOPT=  -L%%X11BASE%%/lib -lX11 -lg2c
	
	 all:   ${OBJS}
	 	${FC} -o ${TARGET} ${OBJS} ${LOPT}

	I do not know whether this is good for any FreeBSD version,
	but it seems to work well on my host.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701190008.l0J08PoU083939>