compilation error: ctags: Unknown option:-w
![](https://seccdn.libravatar.org/avatar/f8f86b03750fc85c103874c65cbeb920.jpg?s=120&d=mm&r=g)
Hello! I tried to install the proxy-suite-1.7 on a SuSE 7.1 system today. Following the installation instructions in the proxy-suite white paper I succeeded in running ./configure. But compilation with make produced the following error message: ::::::::::::: make 'all' in ./common make[1]: Entering directory `/usr/src/proxy-suite-1.7/common' ctags -w com-config.c com-debug.c com-misc.c com-socket.c com-syslog.c com-config.h com-debug.h com-misc.h com-socket.h com-syslog.h ctags: Unknown option: -w make[1]: *** [tags] Error 1 make[1]: Leaving directory `/usr/src/proxy-suite-1.7/common' make: *** [all] Error 1 I did a ´man ctags´ after that, but there is nothing explained about an option -w. Next - although not knowing what it meant - I deleted the -w from the corresponding Makefiles. Afterwards compilation went a little further but finally produced: gcc -g -O2 -c -I. -I.. -I../common ftp-cmds.c ftp-cmds.c: In function `cmds_user': ftp-cmds.c:374: structure has no member named `regex' ftp-cmds.c:376: structure has no member named `regex' ftp-cmds.c:376: warning: assignment makes pointer from integer without a cast make[1]: *** [ftp-cmds.o] Error 1 make[1]: Leaving directory `/usr/src/proxy-suite-1.7/ftp-proxy' make: *** [all] Error 1 OK. I searched and found an option to configure, called --with-regex, so I did: ./configure --with-regex make (Don´t blame me. I´m not a programmer. It was just trial and error.) Again it went a little further, producing: proc_ftp.c:134: warning: initialization from incompatible pointer type proc_ftp.c:135: warning: initialization from incompatible pointer type proc_ftp.c:151: warning: initialization from incompatible pointer type proc_ftp.c:167: warning: excess elements in struct initializer proc_ftp.c:167: warning: (near initialization for `proc_ftp_inode_operations') proc_ftp.c:168: warning: excess elements in struct initializer proc_ftp.c:168: warning: (near initialization for `proc_ftp_inode_operations') proc_ftp.c:169: warning: excess elements in struct initializer proc_ftp.c:169: warning: (near initialization for `proc_ftp_inode_operations') proc_ftp.c:170: warning: excess elements in struct initializer proc_ftp.c:170: warning: (near initialization for `proc_ftp_inode_operations') ... at least no more error messages, but lots of warnings. cit. white paper: "The program should not display any warnings or errors." So what is this all about. Where´s the mistake? I will try to go on but what will I end up with? Anybody out there who knows the answer? Thanks a lot.
participants (1)
-
Klaus Bömken