LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2004, 10:56 AM   #1
linux_lover2005
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
Module Loading Warnings


Why on my Fedora core 1 installation when i compile any module with -Wall i
got following warnings? What are these warnings? Also what is
1)__set_64bit_var
2)dereferencing type-punned pointer will break strict-aliasing rules
warnings?
gcc -c -O2 -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4.22-1.2115.nptl/include -I../inc mainMod.c -o mainMod.o
In file included from
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/semaphore.h:39,
from
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/fs.h:202,
from
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/capability.h:17,
from
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/binfmts.h:4,
from
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/sched.h:10,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/mm.h:4,
from
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/slab.h:14,
from mainMod.c:12:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h: In function
`__set_64bit_var':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
ISDN problems - Boot error 'module hisax not found', connection setup warnings Foxy Linux - Networking 4 07-20-2004 09:38 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM
Module loading Cbomb Linux - General 3 07-12-2001 01:54 PM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration