[OpenAFS] suse9/amd64 & 1.2.10 client

Derek Atkins warlord@MIT.EDU
Thu, 15 Jan 2004 10:48:23 -0500


Marc,

What do you get from:

find /usr/include -name \*.h -print | xargs grep res_search

-derek

Marc Schmitt <mschmitt@inf.ethz.ch> writes:

> Thanks for the hint, I set up that simple test environment used by
> configure and compared the output on RH 7.3/i386 with the output on
> ELWS/x86_64. On i386, conftest.c compiles fine and ldd shows that it
> went for /lib/libresolv.so.2, on x86_64 compilation fails as we have
> seen with "undefined reference to `res_search'". Using __res_search
> (); instead of res_search (); in conftest.c works and ldd shows that
> /lib64/libresolv.so.2 is taken.
>
> I found a reference to this in the change log of 1.2.10:
>
> 2003-05-15 15:51  shadow
>
> 	* acinclude.m4, src/cf/ressearch.m4: DELTA
> 	STABLE12-autoconf-deal-with-res-search-as-macro-20030428 AUTHOR
> 	shadow@dementia.org FIXES
> 	
> 	on some platforms, res_search is a macro for __res_search, find it
> 	anyway
>
>
> Probably this patch needs to be "expanded" for x86_64?
>
>     Marc
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available