Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42186 closed defect (fixed)

Port 2.2.99's libmachista cannot be built on Tiger PPC because of undefined symbol _fls

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.99
Keywords: Cc: neverpanic (Clemens Lang), cooljeanius (Eric Gallager)
Port: port

Description

This is leading to the error:

===> making all in src/machista1.0
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic  -fPIC -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common libmachista.c -o libmachista.o
libmachista.c: In function ‘macho_strerror’:
libmachista.c:535: warning: implicit declaration of function ‘fls’
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic  -fPIC -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common hashmap.c -o hashmap.o
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic  -fPIC -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common machista_wrap.c -o machista_wrap.o
cc -dynamiclib  libmachista.o hashmap.o machista_wrap.o -o machista.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4  
ld: Undefined symbols:
_fls
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
make[2]: *** [machista.dylib] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

Change History (2)

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

In r116109 and the commits before, thanks for the report.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.