Using LIBS = -ldl -lnsl -lpam Compiling smbd/server.c egcs: cannot specify -o with -c or -S and multiple compilations make: *** [smbd/server.o] Error 1