Re: why can't I use fopen

ouuhk_at_jysoqx.com.ou
Date: 07/06/03


Date: Sun, 06 Jul 2003 07:10:55 GMT


|So, I replaced fopen()/fclose()/fscanf() with open()/close()/read().
|But when I did "make bzImage", it still complained
|
|undefined reference to open
|undefined reference to close
|undefined reference to read
|
|Don't know why.

Those are not available either.

|There are some configuration files (e.g. /etc/sysctl.conf) that the
|kernel must read. I am wondering how the kernel reads those files.

It doesn't. The sysctl program reads it.



Relevant Pages

  • Re: why cant I use fopen
    ... But when I did "make bzImage", ... undefined reference to close ... There are some configuration files that the ... I am wondering how the kernel reads those files. ...
    (comp.os.linux.development.system)
  • kernel compiling prob
    ... Building a Kernel the ``Traditional'' Way ... umass.o: undefined reference to `cam_simq_alloc' ... # PCI Ethernet NICs that use the common MII bus controller code. ...
    (freebsd-newbies)
  • kernel compilation problems - 5.1 (long)
    ... I am having problems compiling my kernel. ... umass.o: undefined reference to ... # Floating point support - do not disable. ... # PCI Ethernet NICs that use the common MII bus controller code. ...
    (freebsd-questions)
  • Problems building simple custom Kernel
    ... I'm trying to build a custom kernel for my compaq DPENS 450 ... umass.o: undefined reference to ... # Floating point support - do not disable. ... # PCI Ethernet NICs that use the common MII bus controller ...
    (freebsd-questions)
  • Re: TinyBSD Call For Testers
    ... the image boot stops: can't load kernel ... : undefined reference to `ath_rate_node_cleanup' ... *** Error code 1 ...
    (freebsd-stable)