Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#11489 closed defect (fixed)

BUG/UPDATE: math/yacas build failure intel, 1.0.58 -> 1.0.63

Reported by: rick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: Cc: olt@…
Port:

Description

Build error cause of using gcc instead of g++, also included update


gcc -g -O2 -Wall -o example1 example1.o  -L/opt/local/lib
-L/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_yacas/work/yacas-1.0.63/src
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_yacas/work/yacas-1.0.63/src/.libs/libcyacas.a
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_yacas/work/yacas-1.0.63/src/.libs/libyacas.a
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_yacas/work/yacas-1.0.63/src/.libs/libyacasplatform.a
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_yacas/work/yacas-1.0.63/src/.libs/libyacasnumbers.a
../libltdl/.libs/libltdlc.a -ldl -lm -lstdc++
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
make[2]: *** [example1] Error 1

make[1]: * [all-recursive] Error 1 make: * [all] Error 2

--- yacas.old/files/patch-Makefile.in   1970-01-01 01:00:00.000000000 +0100
+++ yacas/files/patch-Makefile.in       2007-03-06 21:34:45.000000000 +0100
@@ -0,0 +1,11 @@
+--- /Users/rick/Makefile.in.orig       2007-03-06 21:30:23.000000000 +0100
++++ embed/Makefile.in  2007-03-06 21:30:46.000000000 +0100
+@@ -181,7 +181,7 @@
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
+       $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
++CCLD = $(CXX)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+       $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ CFLAGS = @CFLAGS@

Attachments (1)

yacas.patch (1.4 KB) - added by rick@… 18 years ago.
patch

Download all attachments as: .zip

Change History (4)

Changed 18 years ago by rick@…

Attachment: yacas.patch added

patch

comment:1 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 18 years ago by roederja

Resolution: fixed
Status: newclosed

Commited in r23849.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.