I faced the same problem with math.h! On the web I found I have to add a library by via -lm option. I think it is the same approach concerning stdio.h but I found no pertinent information. I have added EXTRA_LIBS += -lm in the following MAKE but math functions are not found. What is wrong, and which option for fopen, fread and family? Does somebody could help me with this? I am newbie with Linux. Many thanks in advance. Pascal
===================================================== MODULE = motodrv.o motodrv-y = fpgadrv.o data.o misc.o EXTRA_CFLAGS += -DNOKERNEL $(USER_OPT) EXTRA_LIBS += -lm PREVENT_RECURSIVE_INCLUDE = 1 include $(AXIS_TOP_DIR)/modules/rules.build_modules ===================================================== --- In [email protected], "bizbox67" <[EMAIL PROTECTED]> wrote: > > Hi there ! > I try to compile a driver but stdio.h is not found (I have to use > fopren, fread...). > I work in Vmware environment, under XP Pro SP2. Linux version is 2.6. > Thanks in advance for your kind help. > Pascal >
