Opened 15 years ago

Closed 15 years ago

#23601 closed defect (fixed)

vis5d can't build universal

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: vis5d

Description

[snip]
/usr/bin/make  all-am
/bin/ksh ../libtool --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386 -Wall  -I/opt/local/include  -L/opt/local/lib -arch x86_64 -arch i386 -o vis5d -o vis5d  main.o  libvis5dgui.a ../lui5/liblui.a libvis5d.la libv5d.la  -lnetcdf -ltcl -ldl  -lGLU -lGL -L/opt/local/lib  -lSM -lICE -lXext -lX11   -lpng -lz -lm 
/bin/ksh ../libtool --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386 -Wall  -I/opt/local/include  -L/opt/local/lib -arch x86_64 -arch i386 -o v5dimport -o v5dimport  v5dimport.o libvis5dgui.a ../lui5/liblui.a libvis5d.la libv5d.la  -lnetcdf -ltcl -ldl  -lGLU -lGL -L/opt/local/lib  -lSM -lICE -lXext -lX11   -lpng -lz -lm 
/usr/bin/gcc-4.2 -O2 -arch x86_64 -arch i386 -Wall -I/opt/local/include -arch x86_64 -arch i386 -o .libs/vis5d -o .libs/vis5d main.o  -L/opt/local/lib libvis5dgui.a ../lui5/liblui.a -L./.libs -lvis5d -lv5d -lnetcdf -ltcl -ldl -lGLU -lGL -lSM -lICE -lXext -lX11 -lXau -lXdmcp -lpng -lz -lm
ld: warning: in libvis5dgui.a, file is not of required architecture
ld: warning: in ../lui5/liblui.a, file is not of required architecture
Undefined symbols for architecture x86_64:
  "_the_gui_dpy_name", referenced from:
      _main in main.o
      _main in main.o
  "_GuiDpy", referenced from:
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
  "_map_all_windows", referenced from:
      _main in main.o
[snip]

Change History (1)

comment:1 Changed 15 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Static libraries liblui.a and libvis5dgui.a were not randomized because the configure script was unable to find ranlib. The fixed Portfile passes environmental variable RANLIB=/usr/bin/ranlib. Commited in r63569.

Note: See TracTickets for help on using tickets.