netbpm fails to build on Leopard

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Oct 9 09:44:01 UTC 2018



On 09/10/18 09:54, Riccardo Mottola via macports-users wrote:
> Hi!
> 
> with the latest update round, I have this new issue.
> 
> Any clues? Should I just try a different compiler? a dependency mssing?
> 
> I can open a ticket of course.
> 
> I tried configure.compiler=macports-gcc-6 but the issue persists 
> unchancged. I then tried macports-clang-3.9, but it doesn't help either.

The log snippet you post below is clearly showing neither of these two 
compiler options is used. /usr/bin/gcc-4.2 is being used.

Same comment as before. Please post trac tickets at

https://trac.macports.org/

with *full* *clean* log files.

Chris

> 
> 
> Riccardo
> 
> 
> /usr/bin/gcc-4.2 -o pamtris pamtris.o boundaries.o framebuffer.o input.o 
> triangle.o utils.o 
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r3369/lib 
> -lnetpbm -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386  -lm
> Undefined symbols:
>    "_getline", referenced from:
>        _process_next_command in input.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> gnumake[2]: *** [pamtris] Error 1
> gnumake[2]: Leaving directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r3369/generator/pamtris' 
> 
> gnumake[1]: *** [pamtris/all] Error 2
> 


More information about the macports-users mailing list