[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: Mac OS X: Failed link, linking against a plists impersonating object files???



The same problem occurs on Ubuntu 12.10 (x64):

$ uname -a
Linux ubuntu 3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux

Is this library compatible with Clang???


On Sun, Sep 22, 2013 at 5:59 AM, Jeffrey Walton <noloader@xxxxxxxxx> wrote:
> Hi All,
>
> I'm building on Mac OS X 10.8.4 (x64). The library configured OK, but
> it attempts to link against some plist files which are named like
> object files.
>
> libevent-2.0.21-stable$ file .libs/event.o
> .libs/event.o: XML  document text
> libevent-2.0.21-stable$ cat .libs/event.o
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
> <plist version="1.0">
> <dict>
>  <key>clang_version</key>
> <string>clang version 3.3 (tags/RELEASE_33/final)</string>
> ...
>
> Any ideas??? Searching has not returned up much.
>
> Jeff
>
> libtool: link: /usr/local/bin/clang -dynamiclib -Wl,-undefined
> -Wl,dynamic_lookup -o .libs/libevent-2.0.5.dylib  .libs/event.o
> .libs/evthread.o .libs/buffer.o .libs/bufferevent.o
> .libs/bufferevent_sock.o .libs/bufferevent_filter.o
> .libs/bufferevent_pair.o .libs/listener.o .libs/bufferevent_ratelim.o
> .libs/evmap.o .libs/log.o .libs/evutil.o .libs/evutil_rand.o
> .libs/strlcpy.o .libs/select.o .libs/poll.o .libs/kqueue.o
> .libs/signal.o .libs/event_tagging.o .libs/http.o .libs/evdns.o
> .libs/evrpc.o    -O2   -install_name
> /usr/local/lib/libevent-2.0.5.dylib -compatibility_version 7
> -current_version 7.9 -Wl,-single_module
>
> ld: warning: ld: warning: ignoring file .libs/event.o, file was built
> for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65
> 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/event.oignoring file
> .libs/evthread.o, file was built for unsupported file format ( 0x3c
> 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22
> 0x31 ) which is not the architecture being linked (x86_64):
> .libs/evthread.o
>
> ld: warning: ignoring file .libs/buffer.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/buffer.o
> ld: warning: ignoring file .libs/bufferevent.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/bufferevent.o
> ld: warning: ignoring file .libs/bufferevent_sock.o, file was built
> for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65
> 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/bufferevent_sock.o
> ld: warning: ignoring file .libs/bufferevent_filter.o, file was built
> for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65
> 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/bufferevent_filter.o
> ld: warning: ld: warning: ignoring file .libs/bufferevent_pair.o, file
> was built for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20
> 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/bufferevent_pair.oignoring
> file .libs/listener.o, file was built for unsupported file format (
> 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x3d
> 0x22 0x31 ) which is not the architecture being linked (x86_64):
> .libs/listener.o
>
> ld: warning: ignoring file .libs/bufferevent_ratelim.o, file was built
> for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65
> 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/bufferevent_ratelim.o
> ld: warning: ignoring file .libs/evmap.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/evmap.o
> ld: warning: ignoring file .libs/log.o, file was built for unsupported
> file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72 0x73 0x69
> 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture being linked
> (x86_64): .libs/log.o
> ld: warning: ignoring file .libs/evutil.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/evutil.o
> ld: warning: ignoring file .libs/evutil_rand.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/evutil_rand.o
> ld: warning: ignoring file .libs/strlcpy.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/strlcpy.o
> ld: warning: ignoring file .libs/select.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/select.o
> ld: warning: ignoring file .libs/poll.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/poll.o
> ld: warning: ignoring file .libs/signal.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/signal.o
> ld: warning: ld: warning: ignoring file .libs/kqueue.o, file was built
> for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65
> 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/kqueue.old: warning:
> ignoring file .libs/event_tagging.o, file was built for unsupported
> file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72 0x73 0x69
> 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture being linked
> (x86_64): .libs/event_tagging.o
> ignoring file .libs/http.o, file was built for unsupported file format
> ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e
> 0x3d 0x22 0x31 ) which is not the architecture being linked (x86_64):
> .libs/http.o
> ld: warning:
> ld: warning: ignoring file .libs/evdns.o, file was built for
> unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 0x72
> 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the architecture
> being linked (x86_64): .libs/evdns.oignoring file .libs/evrpc.o, file
> was built for unsupported file format ( 0x3c 0x3f 0x78 0x6d 0x6c 0x20
> 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x31 ) which is not the
> architecture being linked (x86_64): .libs/evrpc.o
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.