[ML-General] very strange Linux problem
Joshua Pritt
ramgarden at gmail.com
Wed Feb 17 21:11:50 CST 2016
It might be a library/header location problem.
in the source if it says
#include <filename.h>
then it looks in a specified place.
if it says
#include "filename.h"
then it looks in the same path given with the -I option.
So it sounds like it might be related to locations of header / include
files.
Here's the link that reminded me of that:
http://stackoverflow.com/questions/13938298/g-cant-find-headers-even-when-its-specified
On Wed, Feb 17, 2016 at 4:45 PM, Matthew O'Gorman <mog at rldn.net> wrote:
> david <ainut at knology.net> writes:
>
> > I'm trying to setup a cross-compile from the pc running Debian jessie to
> > an RPi2 also running jessie. This is for a Qt environment so I'm using
> > Qt recipe on page wiki.qt.io/RaspberryPi2EGLFS. Everything works fine
> > until I get to the ".configure" command in step 7. Phase 1 of the
> > .configure works fine, but in phase 2, where it tries to "make" using a
> > g++ command, it returns an error "file not found!" I can go to that
> > directory and actually SEE the actual g++ file exists!
> > Further, when I type (this is all using bash shell) "./g++" command name
> > (leaving out the full name only in this email), it also says "file not
> > found!" And I still see it in an "ls" command as well as in the
> > windowed "file manager."
> >
> > This is bizarre. Unless there is an embedded control character or
> > something in the filename, I'm totally lost. I have *never* seen any
> > version of any operating system do this.
> > Oh, and that entire directory tree was built using automagic build tools
> > downloaded from Qt's git site.
> >
> > Not even sure how to rename that file if I keep getting "file not found"
> > errors while using shell command line interface.
> >
>
> What does ls -l say? If I had to guess your g++ is not an executable.
>
> --
> Matthew O'Gorman
> BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
> TorChat: 5w3dtk7nhkkijcpc
> Site: https://b.rldn.net
> Xim/Email: mog at rldn.net
> mog at rldn:~$ fortune wisdom -s|cowsay -f /dev/null
> ________________________________________
> / He is truly wise who gains wisdom from \
> \ another's mishap. /
> ----------------------------------------
>
> _______________________________________________
> general mailing list - general at lists.makerslocal.org
> A service of Makers Local 256 - https://256.makerslocal.org/
> http://lists.makerslocal.org/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.makerslocal.org/pipermail/general/attachments/20160217/c186531b/attachment.html>
More information about the general
mailing list