* [ECOS] Trying to build ecosconfig (again).
@ 2007-09-14 20:36 Grant Edwards
2007-09-14 20:57 ` [ECOS] " Grant Edwards
2007-09-14 21:01 ` [ECOS] " Andrew Lunn
0 siblings, 2 replies; 4+ messages in thread
From: Grant Edwards @ 2007-09-14 20:36 UTC (permalink / raw)
To: ecos-discuss
Once again, I need to build ecosconfig. Once again, it's a
struggle.
I create an empty directory and do
"configure path/to/host/configure"
That seems to go OK, but then the subsequent "make" sprays
warnings for a couple minutes and then fails like this:
c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -L/usr/lib -ltcl8.4 -L/home/grante/ecos/build/libcdl -L/home/grante/ecos/build/infra
c++: ecosconfig.o: No such file or directory
c++: cdl_exec.o: No such file or directory
make[2]: *** [ecosconfig] Error 1
make[2]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common'
make: *** [all-recursive] Error 1
Sure enough, neither ecosconfig.o nor cdl_exec.o are anywhere
to be found in the build tree. Neither can I find any thing in
the output from the make that indicates an attempt to build
either one of them.
IIRC, this is with a CVS snapshot from May 2007.
--
Grant Edwards grante Yow! I'm having a RELIGIOUS
at EXPERIENCE ... and I don't
visi.com take any DRUGS
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: Trying to build ecosconfig (again).
2007-09-14 20:36 [ECOS] Trying to build ecosconfig (again) Grant Edwards
@ 2007-09-14 20:57 ` Grant Edwards
2007-09-14 21:09 ` Grant Edwards
2007-09-14 21:01 ` [ECOS] " Andrew Lunn
1 sibling, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2007-09-14 20:57 UTC (permalink / raw)
To: ecos-discuss
On 2007-09-14, Grant Edwards <grante@visi.com> wrote:
> That seems to go OK, but then the subsequent "make" sprays
> warnings for a couple minutes and then fails like this:
>
> c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -L/usr/lib -ltcl8.4 -L/home/grante/ecos/build/libcdl -L/home/grante/ecos/build/infra
> c++: ecosconfig.o: No such file or directory
> c++: cdl_exec.o: No such file or directory
> make[2]: *** [ecosconfig] Error 1
> make[2]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common'
> make: *** [all-recursive] Error 1
Ah ha. There were ecosconfig.o and cdl_exe.o files in the
source tree. Apparently the dependancies in the makefile are
satisfied by object files that are in places the linker
commands don't look for them.
Deleting all of the .o files from the source tree allowed the
build to complete.
It would be really nice if a statically linked ecosconfig was
built as well. That way one could archive a set of tools that
wouldn't break when they needed to be used on a machine with a
different version of libtcl (or no libtcl at all).
Not sure if I know enough autoconf spells to do that...
--
Grant Edwards grante Yow! INSIDE, I have the
at same personality disorder
visi.com as LUCY RICARDO!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Trying to build ecosconfig (again).
2007-09-14 20:36 [ECOS] Trying to build ecosconfig (again) Grant Edwards
2007-09-14 20:57 ` [ECOS] " Grant Edwards
@ 2007-09-14 21:01 ` Andrew Lunn
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2007-09-14 21:01 UTC (permalink / raw)
To: Grant Edwards; +Cc: ecos-discuss
On Fri, Sep 14, 2007 at 08:36:07PM +0000, Grant Edwards wrote:
> Once again, I need to build ecosconfig. Once again, it's a
> struggle.
>
> I create an empty directory and do
>
> "configure path/to/host/configure"
>
> That seems to go OK, but then the subsequent "make" sprays
> warnings for a couple minutes and then fails like this:
I get lots of warnings, mostly about flags which are no longer valid,
but i do get an image. I tried with Debian unstable, and Ubuntu Feisty
Fawn.
What distribution are you using?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: Trying to build ecosconfig (again).
2007-09-14 20:57 ` [ECOS] " Grant Edwards
@ 2007-09-14 21:09 ` Grant Edwards
0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2007-09-14 21:09 UTC (permalink / raw)
To: ecos-discuss
On 2007-09-14, Grant Edwards <grante@visi.com> wrote:
> It would be really nice if a statically linked ecosconfig was
> built as well. That way one could archive a set of tools that
> wouldn't break when they needed to be used on a machine with a
> different version of libtcl (or no libtcl at all).
>
> Not sure if I know enough autoconf spells to do that...
Rats. I hacked up the makefile to also build a statically
linked ecosconfig, but my system (Gentoo) doesn't _have_ a
static version of libtcl.
--
Grant Edwards grante Yow! Am I having fun yet?
at
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-14 21:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-14 20:36 [ECOS] Trying to build ecosconfig (again) Grant Edwards
2007-09-14 20:57 ` [ECOS] " Grant Edwards
2007-09-14 21:09 ` Grant Edwards
2007-09-14 21:01 ` [ECOS] " Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).