This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc x86 - problem on library search order


On 4/26/2016 01:46, Marco Atzeri wrote:
> Visible on 32bit and not present on 64bit
> 
> $ cat uuid.c
> #include <uuid/uuid.h>
> 
> int main ()
> {
>     uuid_t out;
>     uuid_generate_random(out);
>     return 0;
> }
> 
> 
> $ gcc uuid.c -luuid
> /tmp/ccLlmFMf.o:uuid.c:(.text+0x16): undefined reference to
> `uuid_generate_random'
> collect2: error: ld returned 1 exit status
> 

Pretty sure I removed the patch that does that, not sure where it gets
in from. It isn't in the specs file either.

-Wl,-v does say it is from gcc.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]