Bulbul2890 days ago
make[3]: Entering directory '/home/dept/Tools/amos-3.1.0/src/Align'g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/CelMsg -I../../src/Slice -I../../src/Common -I../../src/AMOS -I../../src/GNU -I../../src/Foundation -g -O2 -MT find-tandem.o -MD -MP -MF .deps/find-tandem.Tpo -c -o find-tandem.o find-tandem.ccfind-tandem.cc: In function ‘int main(int, char**)’:find-tandem.cc:243:3: error: ‘optarg’ was not declared in this scope optarg = NULL; ^find-tandem.cc:245:63: error: ‘getopt’ was not declared in this scope while (!errflg && ((ch = getopt (argc, argv, "f:u:l:x:m:k:h")) != EOF)) ^find-tandem.cc:258:55: error: ‘optopt’ was not declared in this scope fprintf (stderr, "Unrecognized option -%c\n", optopt); ^Makefile:918: recipe for target 'find-tandem.o' failedmake[3]: *** [find-tandem.o] Error 1make[3]: Leaving directory '/home/urbe/Tools/amos-3.1.0/src/Align'Makefile:325: recipe for target 'all-recursive' failedmake[2]: *** [all-recursive] Error 1make[2]: Leaving directory '/home/urbe/Tools/amos-3.1.0/src'Makefile:306: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/home/urbe/Tools/amos-3.1.0'Makefile:244: recipe for target 'all' failedmake: *** [all] Error 2
You need to do lil hacking, yes hack it ;)
Add this in the front group of src/Align/find-tandem.cc script of AMOS
#include <getopt.h>
You need to do lil hacking, yes hack it ;)
Add this in the front group of src/Align/find-tandem.cc script of AMOS
#include <getopt.h>