excuse the frustration that may be evident but I am wasting my time
here this afternoon.
I ahve recently compiled bind 4.9.3-REL plus patch, installed and got
it working, for some reason I decided to recompile on a different
machine. I am using gcc-2.7.2 and trying to compile on a sun running
2.4 solaris. I want to install the shared library stuff, which is
fine but I get this wonderful error message during the make.
gcc -DSVR4 -D_SYS_STREAM_H -Dgethostbyname=res_gethostbyname -Dgethostbyaddr=re
s_gethostbyaddr -Dgetnetbyname=res_getnetbyname -Dgetnetbyaddr=res_getnetbyaddr
-Dsethostent=res_sethostent -Dendhostent=res_endhostent -Dgethostent=res_getho
stent -Dsetnetent=res_setnetent -Dendnetent=res_endnetent -Dgetnetent=res_getn
etent -Xlinker -R/usr/lib -DSVR4 -D_SYS_STREAM_H -Dgethostbyname=res_gethostbyna
me -Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname -Dgetnetb
yaddr=res_getnetbyaddr -Dsethostent=res_sethostent -Dendhostent=res_endhostent
-Dgethostent=res_gethostent -Dsetnetent=res_setnetent -Dendnetent=res_endnetent
-Dgetnetent=res_getnetent -g -I../include -I../compat/include -DUSE_OPTIONS_H
-c res_query.c
gcc: -R/usr/lib: linker input file unused since linking not done
Now, I have been round the makefiles and I can't figure out what is
going wrong. It's got to be something so obvious that I can't see it
but I am giving up at this time before I throw the machine out the
bloody window.
If anyone has any suggestions (apart from taking up knitting) I would
be most appreciative! I can't for the life of me see what I have done
wrong, I have done this all before more than once without a problem.
Arrrggghhhhh.............
Regards,
Brad.
[...]
> -c res_query.c
> gcc: -R/usr/lib: linker input file unused since linking not done
[...]
I got the same warning several times throughout the build of both 4.9.3REL
and P1 with gcc2.7.2 on Solaris 2.5. The compile went through OK, and after
installing by hand, everything works fine.
Just warnings that I ignored.
-cjw
It just means that /usr/lib linking was ignored.. it should have
been done in the final ldlink, and not specified in every *.c..
>
> Just warnings that I ignored.
>
> -cjw
>
--
Jamie Rishaw [ja...@in-addr.arpa.com] - Senior Network Admin, Multiverse Inc.
rdm: "Religion is obsolete." gsr: "By what?" jgr: "Solaris."
PGP Fingerprint: C4 48 1B 26 18 7B 1F D9 BA C4 9C 7A B1 07 07 E8
"Poor is the man whose pleasures depend on the permission of another" -M.