About biology/molden

Eduardo Lemos de Sa eduardo.lemosdesa at gmail.com
Fri Nov 6 18:53:03 UTC 2015


Dear FreeBSDers

Thank you for provide us a useful tool to port several softwares to FreeBSD.

I am running

FreeBSD matata 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #15 r290372: Wed
Nov  4 19:42:10 BRST 2015     edulsa at matata:/usr/obj/usr/src/sys/GENERIC
amd64


Late on time, I got the port biology/molden (version 5.0.7) compiled in
FreeBSD. Since there, I noticed that a new version of this software is
avaliable (5.3). So, I tried to compiled applying hints presente in
makefile using gcc48/gfortran48. But, I stuck in a error message related to
xwin.c:

xwin.c:(.text+0x854b4): warning: warning: mktemp() possibly used unsafely;
consider using mkstemp()
xwin.o: In function `mloop':
xwin.c:(.text+0x401c7): undefined reference to `Timer'
xwin.c:(.text+0x40423): undefined reference to `Timer'
collect2: error: ld returned 1 exit status
makefile:270: recipe for target 'molden' failed
gmake: *** [molden] Error 1

So, is there a problem related to Timer calls. But, I compared the new
xwin.c with the 5.0.7 xwin.c file: there is no difference related to Timer
calls (of course, there are additions, but none of them is calling Timer).
So, I conclude that the problem is due some system variable or library that
I did not set. Please, do you have some hints to solve this problem?

The makefile that I am using is attached in this email, as well the total
output from compilation process.

Thank you in advance

Cheers

Eduardo



-- 
Eduardo Lemos de Sa
Associated Professor Level 4
Dep. Quimica da Universidade Federal do Paraná
fone: +55(41)3361-3300
fax:   +55(41)3361-3186
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 8944 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151106/bdb279d7/attachment.obj>


More information about the freebsd-ports mailing list