Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 21:56:14 -0700
From:      "Chris H." <chris#@1command.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: can't compile mico app
Message-ID:  <20061016215614.qspq9131cgwwwgw8@webmail.1command.com>
In-Reply-To: <Pine.SOC.4.64.0610161625450.1792@libra.sfsu.edu>
References:  <Pine.SOC.4.64.0610161625450.1792@libra.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings,
...

Quoting KAYVEN  RIESE <kayve@sfsu.edu>:

>
> it's not finding CORBA.h
>
> .h:121: error: `CORBA' has not been declared
> account.h:121: error: ISO C++ forbids declaration of `Long' with no type
> account.h:121: error: `Long' declared as a `virtual' field
> account.h:121: error: expected `;' before "balance"
> account.h:133: error: `CORBA' has not been declared
>
> i can't seem to redirect the compilation errors to a file

Try the following. Works without fail for me:

script /path/to/my/chosen/logfile.name job that I'm attempting to log 
results from

In your case:

script ./err mico-c++ -I. -c client.cc

When the job completes, script will exit informing you. The results
(in the second example) will be in the file named: err in the current
directory.

Hope this helps.

--Chris

>
> tried
>
>  mico-c++ -I. -c client.cc > err
>
> and
>
>   mico-c++ -I. -c client.cc 2> err
>
> what directory are you talking about when u do something
> like this:
>
> #include <CORBA.h>
>
> ?
>
> is it /usr/local/indclude ?
>
> because i tried having the above line in and it still
> didn't find it even tho i checked and CORBA.h was there
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



-- 
panic: kernel trap (ignored)



-----------------------------------------------------------------
FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
/////////////////////////////////////////////////////////////////




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061016215614.qspq9131cgwwwgw8>