errors compiling on Mac OS 10.9.1
Carter Bullard
carter at qosient.com
Mon Jan 6 14:18:18 EST 2014
Hey Russell,
Could you try the argus-clients-3.0.8 candidate to see if the problem is fixed ??
http://qosient.com/argus/dev/argus-clients-latest.tar.gz
Chas indicates that its still there, but it may be easier to get you happy
with that code that the 3.0.6 line.
Carter
On Jan 6, 2014, at 2:09 PM, Russell Fulton <r.fulton at auckland.ac.nz> wrote:
>
> On 6/01/2014, at 12:09 pm, Carter Bullard <carter at qosient.com> wrote:
>
>> Hey Russell,
>> Which version are you trying to compile ??
>
> argus-clients-3.0.6.2
>
>> Mac's now don't use gcc, they are using Apple LLVM,
>> and it doesn't seem to like static declarations.
>> xdtoi() is defined in argus_filter.c, if there is a static definition,
>> just remove the word static, and see if it gets better.
>>
>
> it is declared inline rather than static. I tried removing the inline but I still get the load error:
>
> gcc -O -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lz
> Undefined symbols for architecture x86_64:
> "_xdtoi", referenced from:
> _argus_ether_aton in argus_common.a(argus_util.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [../../bin/ratemplate] Error 1
>
> It is many years since I did active work with C but I am puzzled because the loader is looking for _xdtoi but the code defines and use xdtoi. I assume this is ‘normal’.
>
>
> Russell
>
Carter Bullard
CEO/President
QoSient, LLC
150 E 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20140106/8ac91f5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20140106/8ac91f5d/attachment.sig>
More information about the argus
mailing list