Re: Problem compiling "simple" file
- From: David Bolt <blacklist-me@xxxxxxxxxx>
- Date: Thu, 30 Mar 2006 18:26:41 +0100
On Thu, 30 Mar 2006, Derk <nobody@xxxxxxxxxxx> wrote:-
David Bolt wrote:
Other than the warning about missing_fname possibly being uninitialized,Strange, I installed C++....
the others are usually only produced when "stdlib.h" isn't included.
And that's probably the cause of the warnings. It should have been
compiled with a C compiler, not a C++ compiler. Since I don't know C++,
I don't know if it has stdlib.h but, guessing from the errors, it
doesn't.
I compiled the file and the program works OK. It only gets confused by some
filenames that have "(" as a symbol for example.
Depending on how you pass the names on the command line, you may require
to either use single quotes - ' - around the name or, use a '\' in front
of any brackets - () {} [] - to stop the shell trying to process the
contents of them.
A questions that is probably dumb, but this is the very first compiling I
ever did:
-Can I delete the Folder from where I compiled or do I need to keep it if I
ever want to un-install the program?
In this case, since you used "make install" and that installs a single
executable, you can remove the folder. When you want to delete it, just
delete /usr/bin/lxsplit.
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
AMD1800 1Gb WinXP/SUSE 9.3 | AMD2400 256Mb SuSE 9.0 | A3010 4Mb RISCOS 3.11
AMD2400(32) 768Mb SUSE 10.0 | RPC600 129Mb RISCOS 3.6 | Falcon 14Mb TOS 4.02
AMD2600(64) 512Mb SUSE 10.0 | A4000 4Mb RISCOS 3.11 | STE 4Mb TOS 1.62
.
- References:
- Problem compiling "simple" file
- From: Derk
- Re: Problem compiling "simple" file
- From: David Bolt
- Re: Problem compiling "simple" file
- From: Derk
- Problem compiling "simple" file
- Prev by Date: Re: Linux News Reader
- Next by Date: chkstat questions
- Previous by thread: Re: Problem compiling "simple" file
- Next by thread: Re: Problem compiling "simple" file
- Index(es):
Relevant Pages
|