New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20203 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

lang/clisp 2.47 fails to build with undefined symbols

Reported by: easieste@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: michal@…
Port: clisp

Description

clisp build on 10.5.7 Intel failing as follows:

make[2]: Nothing to be done for `all-am'.
/usr/bin/gcc-4.0 -D_NONSTD_SOURCE -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o unixaux.o built.o ari80386.o gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.o modules.o -L/opt/local/lib -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lreadline -lncurses /opt/local/lib/libavcall.a /opt/local/lib/libcallback.a -L/opt/local/lib -liconv -L/opt/local/lib -lsigsegv -lc -R/opt/local/lib -o lisp.run
Undefined symbols:
  "_R_R_rem_R", referenced from:
      _C_rem in lisparit.o
  "_R_R_mod_R", referenced from:
      _C_mod in lisparit.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Attachments

Portfile-clisp.diff (300 bytes) - added by michal@… 4 years ago.
Don't define _NONSTD_SOURCE

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to waqar@…

Assigning to maintainer.

Changed 4 years ago by michal@…

Don't define _NONSTD_SOURCE

comment:2 Changed 4 years ago by michal@…

Defining _NONSTD_SOURCE seems to be the problem. A simple patch attached.

comment:3 Changed 4 years ago by michal@…

  • Cc michal@… added

Cc Me!

comment:4 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

Thanks, applied the fix in r55984.

Note: See TracTickets for help on using tickets.