Re: -ldir
Micah Dowty <[email protected]>
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 12, 2003 at 10:23:18AM +0200, Roland Seuhs wrote:
> What should have gone to the mailing list:
> > -ldir means it's looking for a library called libdir
> >
> > See if you have it installed - libdir.so or libdir.a
>
> I did - the only think even remotely similar (on my x86 where cli_c compiles fine) is "libdirectfb" which is obviously something very different.
> It must be something inbuilt like libmath, at least on my x86-installation. (?) It should work with a "libdir.so", too, but I don't know where to get it.
>
> Google only yields a million entries with library paths, but absolutely no reference where to find libdir, so I'm stuck :-/
>
>
> Am Samstag, 12. April 2003 01:31 schrieb viking:
> > Well, Roland DID say he was cross-compiling for an ARM target - however
> > it was not clear whether this WAS a Linux target - presumably it was.
>
> Yes it is.
Try to figure out why the build system is adding -ldir, or if you just want a quick solution, force it to link without that. There's no reason it should need it, as opendir() is part of glibc in linux.
--
"For every problem, there is a solution that is simple, elegant, and wrong."
-- H.L. Mencken
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com