Hi Steffen:

On Sep 4, 2009, at 7:43 AM, Steffen Schmidt wrote:

> Hi ccp4 build fails (see below) - I recompiled fink on snow leopard  
> (core duo) using fink in 64bit only configuration. Besides there is  
> also the problem that e.g. gd2 compilations fails and that it  
> complains the the .la (here /usr/lib/libiconv.la) is missing...
>
> Steffen
>
> fort77 -o xloggraph msg_box.o ZDr2d.o EditString.o hardcopy_ctrl.o  
> xloggraph.o log_file.o tom_fortran_interface.o bits_and_pieces.o  
> graphics.o -g -Os -I/usr/include/X11R6 -L/usr/X11R6/lib -lXaw -lXmu - 
> lXt -lSM -lICE -lXpm -lXext -lX11 -lm -lgfortran -L/sw64/lib/gcc4.4/ 
> lib
> ld: warning: in bits_and_pieces.o, file is not of required  
> architecture
> ld: warning: in graphics.o, file is not of required architecture

That's worrying, because it suggests for some reason it is building  
the object files in 32-bit and therefore can't link.

FWIW, it did work on my machine, and gives something having 64-bit  
architecture:

% file /sw64/share/xtal/ccp4-6.1.2/bin/xloggraph.exe
/sw64/share/xtal/ccp4-6.1.2/bin/xloggraph.exe: Mach-O 64-bit executable


So it would be worth finding out what is going on.

I have no /usr/lib/libiconv.la either, but I do have /sw64/lib/ 
libiconv.la

It is installed by the package libiconv-dev

I may be missing a dependency.  Sorry.

Could you try installing libiconv-dev and see if that cures the problem?

Thanks.

Bill

PS:  I also have precompiled debians available if you want to use those:

http://tinyurl.com/precomp


but if you could help debug this first I would be grateful.







> Undefined symbols:
>  "_draw_graph_", referenced from:
>      _interpret_log_graph in log_file.o
>  "_zeroy_", referenced from:
>      _interpret_log_graph in log_file.o
>  "_graphic_start_up_", referenced from:
>      _interpret_log_graph in log_file.o
>  "_autoscale_", referenced from:
>      _interpret_log_graph in log_file.o
>  "_text_string_", referenced from:
>      _interpret_log_graph in log_file.o
>      _interpret_log_graph in log_file.o
>      _interpret_log_graph in log_file.o
>  "_draw_limits_", referenced from:
>      _interpret_log_graph in log_file.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
>    #
>      sleep 10
>    #
>      cp xloggraph $CBIN/xloggraph.exe
> cp: xloggraph: No such file or directory
> ### execution of /var/tmp/tmp.2.g4sx9t failed, exit code 1
>
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to