When on Mac OS X 10.4.8 Xprt is built by GCC 4.0.1 from dynamic and
static libraries I get one message
/sw/lib/odcctools/bin/ld: multiple definitions of symbol
_serverGeneration
/usr/X11R7/lib/libXfont.dylib(miscutil.o) definition of
_serverGeneration
../../dix/.libs/libdix.a(globals.o) definition of _serverGeneration
in section (__DATA,__data)
and many more like
/sw/lib/odcctools/bin/ld: multiple definitions of symbol _Xalloc
/usr/X11R7/lib/libXfont.dylib(miscutil.o) definition of _Xalloc
../../os/.libs/libos.a(utils.o) definition of _Xalloc in section
(__TEXT,__text)
/sw/lib/odcctools/bin/ld: multiple definitions of symbol _Xcalloc
/usr/X11R7/lib/libXfont.dylib(miscutil.o) definition of _Xcalloc
../../os/.libs/libos.a(utils.o) definition of _Xcalloc in section
(__TEXT,__text)
In the end making of Xprt fails:
collect2: ld returned 1 exit status
make[3]: *** [Xprt] Error 1
What is/can be the cause? Warnings like these above, for both
sections, happen also for other targets (Xvfb, Xnest, Xdmx), but
these get made. In making libdix.a warnings are emitted:
ar cru .libs/libdix.a .libs/atom.o .libs/colormap.o .libs/
cursor.o .libs/devices.o .libs/dispatch.o .libs/dixfonts.o .libs/
dixutils.o .libs/events.o .libs/extension.o .libs/ffs.o .libs/
gc.o .libs/globals.o .libs/glyphcurs.o .libs/grabs.o .libs/
initatoms.o .libs/main.o .libs/pixmap.o .libs/privates.o .libs/
property.o .libs/resource.o .libs/swaprep.o .libs/swapreq.o .libs/
tables.o .libs/window.o .libs/strcasecmp.o
/sw/lib/odcctools/bin/ranlib: file: .libs/libdix.a(strcasecmp.o) has
no symbols
ranlib .libs/libdix.a
ranlib: file: .libs/libdix.a(strcasecmp.o) has no symbols
creating libdix.la
which also happens for some other (static) libraries. CFLAGS used
are: -pipe -fPIC -O0, in LDFLAGS -dead_strip is used; G4/7450,
MACOSX_DEPLOYMENT_TARGET is set to 10.4.
Some day we may discover how to make magnets that can point in any
direction.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden