[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtools 1.5.23a, 1.5.23c, and 1.5.22 use -bundle while creating xdm

From: Peter O'Gorman
Subject: Re: Libtools 1.5.23a, 1.5.23c, and 1.5.22 use -bundle while creating xdm of XOrg 7.1
Date: Mon, 5 Mar 2007 22:36:22 +0900

On Mar 3, 2007, at 1:37 AM, Peter Dyballa wrote:


Here are the lines from the compilation buffer:

gcc ${wl}-undefined ${wl}dynamic_lookup -o .libs/libXdmGreet.so - bundle .libs/Login.o .libs/greet.o .libs/verify.o -L/sw/lib/ freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/ncurses -L/usr/ local/lib -L/sw/lib -L/usr/X11R7/lib /usr/X11R7/lib/libXext.dylib / usr/X11R7/lib/libxcb-xlib.dylib /usr/X11R7/lib/libxcb.dylib /usr/ X11R7/lib/libXaw8.dylib /usr/X11R7/lib/libXp.dylib /usr/X11R7/lib/ libXmu.dylib /usr/X11R7/lib/libXt.dylib /usr/X11R7/lib/libSM.dylib / usr/X11R7/lib/libICE.dylib /usr/X11R7/lib/libXau.dylib /usr/X11R7/ lib/libXdmcp.dylib /usr/X11R7/lib/libXinerama.dylib /usr/X11R7/lib/ libXft.dylib /sw/lib/libexpat.dylib /usr/X11R7/lib/ libXrender.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/ lib/freetype219/lib/libfreetype.dylib -lz /usr/X11R7/lib/ libXpm.dylib /usr/X11R7/lib/libX11.dylib -mcpu=7450 -mtune=7450 /sw/lib/odcctools/bin/ld: multiple definitions of symbol ___xdm_getpwnam .libs/Login.o definition of ___xdm_getpwnam in section (__DATA,__common) .libs/greet.o definition of ___xdm_getpwnam in section (__DATA,__data)
        collect2: ld returned 1 exit status
        make[2]: *** [libXdmGreet.la] Error 1
        make[1]: *** [all-recursive] Error 1
        make: *** [all] Error 2

Hi Peter,
Is the symbol actually defined in each object file? It shouldn't be. if you do:
nm .libs/Login.o | grep getpwnam
nm .libs/greet.o | grep getpwnam

does it show both with capital letters? If so there is something bad happening in the headers that these files include to define this symbol twice.

I'm sorry, I haven't had the time to build x.org lately. Ben wasn't building on tiger though, I'm not sure if he's had the chance to do so. Anyway, I don't think this one is actually GNU libtool's fault.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]