ldconfig problems
Andreas Schwab
schwab@suse.de
Mon Jul 10 05:31:00 GMT 2000
Andreas Jaeger <aj@suse.de> writes:
|> >>>>> Andreas Schwab writes:
|>
|> AS> Andreas Jaeger <aj@suse.de> writes:
|> AS> |> Index: sysdeps/generic/dl-cache.h
|> AS> |> --- sysdeps/generic/dl-cache.h 2000/05/17 11:04:01 1.3
|> AS> |> +++ sysdeps/generic/dl-cache.h 2000/07/10 07:38:49
|> AS> |> @@ -27,7 +27,7 @@
|> AS> |> #endif
|> AS> |>
|> AS> |> #ifndef LD_SO_CACHE
|> AS> |> -# define LD_SO_CACHE "/etc/ld.so.cache"
|> AS> |> +# define LD_SO_CACHE SYSCONFDIR ## "ld.so.cache"
|> AS> ^^
|> AS> Please remove this.
|>
|> If I remove it, I get this warning:
|> ../sysdeps/generic/dl-cache.c:153: warning: left-hand operand of comma expression has no effect
|>
|> The line is:
|> _dl_debug_message (1, " search cache=", LD_SO_CACHE, "\n", NULL);
|>
|>
|> What shall I do?
That looks like a bug in gcc, unless SYSCONFDIR is not what it is supposed
to be.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
More information about the Libc-hacker
mailing list