Opened 15 years ago

Closed 15 years ago

#20203 closed defect (fixed)

lang/clisp 2.47 fails to build with undefined symbols

Reported by: easye 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 (1)

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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

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

Assigning to maintainer.

Changed 15 years ago by michal@…

Attachment: Portfile-clisp.diff added

Don't define _NONSTD_SOURCE

comment:2 Changed 15 years ago by michal@…

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

comment:3 Changed 15 years ago by michal@…

Cc: michal@… added

Cc Me!

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Thanks, applied the fix in r55984.

Note: See TracTickets for help on using tickets.