Contact Us

Home > Error Unknown > Error Unknown Processor Family

Error Unknown Processor Family

What is the best way to upgrade gear in Diablo 3? Please visit this page to clear all LQ-related cookies. Log in / Username Password Verification Stay logged in Login Forgot Your Password? Hello everyone, I bought MPLAB ICD 3 with the IDE, with a PIC 18F4420. this content

TNKernel-PIC32, an open-source real-time kernel for the PIC32 #2 Feanor New Member Total Posts : 18 Reward points : 0 Joined: 2013/06/12 05:04:01Location: France Status: offline Re:compiler Problem : #error Unknown Here is the program I am trying and the errors I get: /* simple.c */ #define __KERNEL__ #define MODULE #include #include int init_module(void) { printk("hello, world!\n"); /* printk = Adv Reply Quick Navigation Packaging and Compiling Programs Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support Any information on how I might remedy this problem would be greatly appreciated. https://bbs.archlinux.org/viewtopic.php?id=107301

Could someone please help me with this? can it be related to ubuntu version which i am using to compile the kernel ? Add the ARCH and CROSS_COMPILE variables to the module makefile. Offline #4 2010-10-27 09:08:09 chancho Member From: Hong Kong Registered: 2006-07-14 Posts: 110 Re: simple hello device driver the Makefile do not work for me.

The module needs to know what exported symbols to "link" to. unsuccesful I can't figure out what is going on. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now gcc -c "simple.c" -o "simple.o" in file included from /usr/include/linux/list.h:7, from /usr/include/linux/wait.h:23, from /usr/include/asm/semaphore.h:41, from /usr/include/linux/sched.h:18, from /usr/include/linux/module.h:9, from simple.c:6: /usr/include/linux/prefetch.h: In function 'prefetch_range': /usr/include/linux/prefetch.h:64: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in

This is my kernel program #define MODULE #include int init_module(void) { printk("hello\n"); return 0; } void cleanup_module(void) { printk("bbye\n"); } I have been trying to search for the makefile to TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these How to make files protected? http://stackoverflow.com/questions/28533244/making-simple-linux-kernel-module TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at

If i run the program using the gcc command (as stated in the book - O Reilly) #gcc -c hello.c usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x1: In function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main' /tmp/cc6tY8ap.o(.text+0xf): In It compiled and I am able to boot into it as well. Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Intellectual 355 points usama yaseen May 23, 2012 3:04 PM In reply to Norman Wong: The issue was with the CROSS_COMPILE Attached Files sample-module.tar.gz (7.7 KB, 202 views) Adv Reply April 4th, 2008 #6 danellisuk View Profile View Forum Posts Private Message Visit Homepage 5 Cups of Ubuntu Join Date Jul

I not quite sure how that is quite possible. hop over to this website Simply, untargz, and make inside main directory. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these Join Date Jul 2005 Beans 49 Re: Errors compiling hello world module...please help I believe many things have changed since this wrox book was written.

Missing Forum - CAN MPLAB X v3.25 installer fails on Windows XP Running MPLAB X in the U.S. http://vgadownload.com/error-unknown/error-unknown-option-local.html Thanks in advance, Andrew -------------- next part -------------- An HTML attachment was scrubbed... User Control Panel Log out Forums Posts Latest Posts Active Posts Recently Visited Search Results View More Blog Recent Blog Posts View More PMs Unread PMs Inbox Send New PM View Results 1 to 5 of 5 Thread: Kernel module not compiling Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch

Regards, Daniel Ellis. I have the 3rd edition of 'Beginning Linux Programming' which I purchased not long ago, I have just seen that there is now a new 4th edition. align the '=' in separate equations always at the center of the page What are Imperial officers wearing here? have a peek at these guys No license, either express or implied, by estoppel or otherwise, is granted by TI.

I am getting the following error: #error unknown processor family the following is my make file: TARGET := hello-1 WARN := -W -Wall KERNELDIR := /lib/modules/$(shell uname -r)/build CFLAGS = -D__KERNEL__ Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. Mark Thread UnreadFlat Reading Mode❐ Lockedcompiler Problem : #error Unknown processor!

I couldn't have received a more complete answer to my question. 'sudo make install' failed, but I was able to insert and remove the module with Code: sudo insmod ./src/hello.ko sudo

I normally get on very well with Wrox books (typically c#, asp.net etc) but I am struggling a little with this one, so I am uncertain whether to buy the 4th Join Date Jan 2008 Posts 1 Try this: Delete everything inyour Makefile, and add this: obj-m += hello-1.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname Something like this: # If KERNELRELEASE is defined, we've been invoked from the# kernel build system and can use its language.ifneq ($(KERNELRELEASE),)obj-m := hello.o# Otherwise we were called directly from the c linux module makefile share|improve this question asked Feb 16 '15 at 1:18 user4064342 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote nevermind.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Did Sputnik 1 have attitude control? For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. check my blog Baffled with MAX232A Loopback 24v input to microcontroller MPLAB Harmony Configurator failed to initialize PIC32 USB MSD to SD Card - Add to Existing Project greyed out Run Main Project, Make

The time now is 11:02 PM. I finally got the latency test to run correctly and tried to compile a simple hello world program.