On Tue, May 29, 2012 at 10:02 AM, Lionel Le Folgoc <mrpouit at ubuntu.com> wrote: > > > You have -lm before your object files, so it may be discarded > independently of them, which would explain the undefined reference. > Try to put it at the same place as -lcurses. That was it! Thanks, Lionel! ---John