[Dragan Noveski]
   This
looks interesting .. what version of g++ are you using?
        
 4.1.1-21 from debian
      
 
 Hmm ... the same version works without a glitch on this 32-bit box
 (even at -O6).
    Does the
compiler stop producing duplicates if you lower the -O level?
        
 can you please give me more exactly information on what to do with the
'-0
 level'?
      
 
 Not the zero-level but the Oh-level, as in -O3 -> -O2 -> -O1 -> -O0
    
changing the line 4 in makefile to:
OPTS = -O0 .....
gives the same duplicates, although only for the first time i run 'make'.
if i run 'make clean' and than 'make' again, everything looks normally!
cheers,
doc