Re: Whats the problem

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Sun Dec 31 2000 - 10:57:35 EST


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)


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:15 EST