Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 1 Jan 2003 17:24:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 1 Jan 2003 17:24:21 -0500 Received: from mail-fe73.tele2.ee ([212.107.32.238]:29356 "HELO everyday.com") by vger.kernel.org with SMTP id ; Wed, 1 Jan 2003 17:24:20 -0500 Date: Thu, 2 Jan 2003 00:32:44 +0200 Message-Id: <200301012232.h01MWiW00474@mail-fe2.tele2.ee> To: Andi Kleen Subject: Re: 3rdparty modules for 2.5.53 From: Albert Kajakas X-Mailer: www.mail.ee X-Login-From: 80.235.70.104:: Cc: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 40 Thanks! it i postponed development for weeks just because i switched to 2.5 and i couldn't solve the stupid problem. al. >Albert Kajakas writes: > >> Hello! >> I have a problem with compiling modules for 2.5. > >I recently tracked down the same problem. > >Add a -DKBUILD_MODNAME="yourname" compile option to one of the files, >the new loader requires a module name section. It should be only set >once for each module. > >In addition make sure you're using the new style module_init/module_exit >macros instead of init_module/cleanup_module. > >-Andi > >P.S.: I agree that the error reporting sucks for this one. It would >be better if the kernel loader give some kind of text message back. > > -- everyday.com -- Kuidas elad, Eesti tudeng? Osale T?nis Paltsu esseekonkursil ?li?pilastele, auhinnafond 10 000 kr. http://www.palts.ee/?id=756 H?id p?hi soovides, T?nis Palts - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/