g++ -O -I. -c  io.cc
io.cc: In function `void callback_Buttons (FL_OBJECT *, long int)':
io.cc:1723: incompatible types in assignment of `const char[6]' to 
`char[6]'
make: *** [io.o] Error 1
Exit 2
           
change
char number[6];
to
char number[7];

change
number=".000.";
to
strcpy(number,".000.");

g++ -O -I. -c  morphvec.cc
morphvec.cc:20: ISO C++ forbids declaration of `max_x' with no type
morphvec.cc:20: ISO C++ forbids declaration of `max_y' with no type
make: *** [morphvec.o] Error 1
Exit 2

change
extern max_x,max_y;
to 
extern int max_x,max_y;

g++ -O -I. -c  init.cc
init.cc: In method `void VisualInfoClass::GetVisualInfo ()':
init.cc:37: `exit' undeclared (first use this function)
init.cc:37: (Each undeclared identifier is reported only once for each 
function it appears in.)
make: *** [init.o] Error 1
Exit 2

Add:
#include 

g++ -O -I. -c  xmrm_main.cc
xmrm_main.cc: In function `int main (int, char **)':
xmrm_main.cc:311: calling type `ControlClass' like a method
make: *** [xmrm_main.o] Error 1
Exit 2

Constructor is automatically called:
//control.ControlClass(); // call constructor

gcc -s -o xmrm xmrm.o xmrm_cb.o io.o morphvec.o init.o wavemorph.o wave_rts.o wave.o areas.o xmrm_main.o -L/usr/lib -ltiff -ljpeg -lgz -lforms -lXpm -L/usr/X11R6/lib -lX11 -lm
/usr/bin/ld: cannot find -lgz
collect2: ld returned 1 exit status
make: *** [xmrm] Error 1
Exit 2

remove -lgz 
What is it good for?


g++ -O -I. -c  xmrm_mpeg_main.cc
xmrm_mpeg_main.cc: In function `int Extract_Number (char **, char *)':
xmrm_mpeg_main.cc:71: incompatible types in assignment of `const 
char[6]' to `char[6]'
xmrm_mpeg_main.cc: In function `int Get_END_Frame ()':
xmrm_mpeg_main.cc:199: `FALSE' undeclared (first use this function)
xmrm_mpeg_main.cc:199: (Each undeclared identifier is reported only 
once for each function it appears in.)
xmrm_mpeg_main.cc:207: `TRUE' undeclared (first use this function)
xmrm_mpeg_main.cc: In function `int Make_YUV_File (int)':
xmrm_mpeg_main.cc:420: incompatible types in assignment of `const 
char[6]' to `char[6]'
make: *** [xmrm_mpeg_main.o] Error 1
Exit 2

add
#include "const.h"

change
char number_str[6];
to 
char number_str[7];

change
backup_class->number_str = ".000.";
to
strcpy(backup_class->number_str,".000.");

change
work_class->even = ".even";
to
strcpy(work_class->even,".even");

mirror server hosted at Truenetwork, Russian Federation.