compile OK, getopt problem