On Sat, Dec 30, 2000 at 10:46:04PM +0530, Sourav Sen wrote:
>
> I am unable to compile the following code, can anyone say whats the
> problem :
>
> The main error msg is like the following:
>
> parse error before `EXPORT_SYMTAB_not_defined'
^^^^^^^^^^^^^^^^^^^^^^^^^
Well, the problem is that 'EXPORT_SYMTAB' is not defined;)
>
> CC=gcc
> MODCFLAGS=-Wall -DMODULE -D__KERNEL__ -DLINUX
should be:
MODCFLAGS=-Wall -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -DLINUX
MfG, JBG
-- Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!! /* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */ keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:15 EST