[nhc-bugs] Java error when compiling nhc98-1.06

Jose Romildo Malaquias romildo@urano.iceb.ufop.br
Sat, 9 Jun 2001 06:22:08 -0300


On Fri, Jun 08, 2001 at 04:46:50PM -0300, Jose Romildo Malaquias wrote:
> Hello.
> 
> When compiling nhc98-1.06 in my Red Hat Linux 7.1 box
> I found the following errors:
> ====================================
> [...]
> cd src/tracer/hoodui;  make install
> make[1]: Entering directory `/home/romildo/rpms/BUILD/nhc98-1.06/src/tracer/hoodui'
> javac Message.java 
> Message.java:36: cannot resolve symbol
> symbol  : variable Hood  
> location: class Message
> 	if (Hood.build == Hood.DEBUG) {
> [...]
> ====================================
> 
> I have tried both IBM JDK 1.3 and Sun JDK 1.3.1.
> 
> Any help?

I found the problem: somehow the CLASSPATH environment
variable was wrongly set failing to include the current
directory. Having it unset was enough to produce a
successful compilation.

Romildo
-- 
Prof. José Romildo Malaquias <romildo@iceb.ufop.br>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil