lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Module unresolved symbol on 2.4.0-test8 SMP
Date
On Wed, 27 Sep 2000 14:11:30 -0500 (CDT), 
watters@resmgmt.americas.sgi.com (Sam Watters) wrote:
>[root@porsche13 themod-dev]# insmod themod.o
>themod.o: unresolved symbol write_lock
>themod.o: unresolved symbol read_lock
>
>gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686
>-fno-strict-aliasing -D__SMP__ -DMODULE -D__KERNEL__ -DLINUX -Dlinux
>-DDEBUG -I../../../include -c themod.c

Compile with -O2 otherwise functions will not be inlined. The Linux
kernel requires -O2, it is not an option. I'm surprised this is not in
the FAQ.

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.054 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site