[uClinux-dev] Settings for 'standalone' compilation of user app

From: David Braendler (davidb@cvs.com.au)
Date: Mon Sep 09 2002 - 03:53:00 EDT


Hi,
     I've just mounted an nfs drive which exists on my local machine onto
the /mnt directory of my uClinux card. I'm trying to figure out what the
settings for the Makefile should be when I compile on the PC. I've echo the
settings for CC,  LDFLAGS and LDLIB on a normal build, and then set these
variables to be equal to these values in the makefile, but I still get the
following errors :
"  Undefined reference to 'fopen'  " and
"  Undefined reference to feof'  "
Does anyone know what are the other variables that I need to set to get this
to compile 'as is'.
Alternatively is there a better of of doing this

Cheers
Dave Braendler



This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:50 EDT