I am facing a problem while building the device driver code.
I am using suse linux "2.6.31.5-0.1-desktop" on my Laptop.
I have copied a folder containing self written device driver files from Mandriva linux to my system having Suse Linux.
I copied the entire folder in "/home/netuser/sun/". This folder was building properly in Mandriva.
Now when I give a make command it fails as:
linux-8qbp:/home/netuser/Rupesh_KP/Emertxe/CourseTemplates/CharDriver # make
make: *** No targets. Stop.
Will you pls through some light as to what might be the issue and how to resolve it?
Thanks Corona for the reply.
Actually I have in a folder "\CourseTemplates\CharDriver" in which I have made a simple kernel module file having a null char driver.
To build this folder "CourseTemplates" has three files, while subfolder "\CourseTemplates\CharDriver" has an empty makefile.
The three files of Folder "CourseTemplates" are:
1) Makefile
2) Makefile.mixed
3) module.mk ---------- Post updated at 01:03 AM ---------- Previous update was at 01:00 AM ----------
I have suse linux "linux-2.6.31.5-0.1" on my PC.
Now I have created a new makefile in CharDriver folder with below content:
Now it gives me the following build error:
Will you pls through some light as to what might be the issue and how to resolve it.
Last edited by rupeshkp728; 01-16-2012 at 03:03 PM..
Could you please ensure that the kernel versions are compatible?
From the error messages it seems to be a compilation targeted for 64-bit system whereas you new host is 32-bit installation.
Also do a touch recursively to all the files to update the timestamp of all the files in your sandbox to ensure that make utility finds everything on your new host for compilation; the error-2 unimplemented: 64-bit mode not compiled in ... and the initial ones make: *** No targets. Stop.
.. of the error which went off automatically for you and you could atleast run the compilation (posted in your last one ...) gives me an impression of the mismatch time/date set in both of your machine there by Make not finding objects to compile.
Run (from the top directory of your sandbox):
Further ensure that target is set for 32 bit compilation and kernel version mismatch is properly appended in your code.
If possible post your code here in the forum as a tar/zip attachment.
This User Gave Thanks to Praveen_218 For This Post:
Thanks Praveen for the reply.
I just changed the kernel source to an another and built it.
But now I am facing another problem.
I tried with a simple kernel module:
I used the earlier makefile just changing the kernel source:
The code got built.
But on loading the module it gives me an error:
Any idea how to get rid of this?
Hi,
So I downloaded this kernel source and was able to build it successfully.
But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself.
I added the SDK in the main Makefile:
init-y := init/
#added SDK... (0 Replies)
Today I tried to generate ndis Solaris driver.
Problem is when I try to compile ndiswapper following instructions on opensolaris site.
ndis wrapper (Community Group laptop.ndis) - XWiki
My version of Solaris
$ uname -a
SunOS pc001 5.10 Generic_142910-17 i86pc i386 i86pc
... (0 Replies)
I installed java at usr/local/jdk directory. My Java Version is 1.6.0_05. I have installed apache ant version 1.8.1 in folder opt/ant successfully. And later on I have installed RED 5.0.9 final version at /opt/ant directory.
But I am getting error while building ant at RED5 , I got following... (1 Reply)
I'm getting the following Error:
prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:127: error: dereferencing pointer to incomplete type
prepare_pcap.c:138: error: dereferencing pointer to incomplete type
====================================
This is the part of the relevant... (8 Replies)
Hi,
I am starting to learn how to use KDevelop. I have a console program with .cc, .h and Makefile. To work it in KDevelop, I firstly create a C++ Simple Hello World program, remove the single existing target in the project
and also the auto-created main.cpp. Then I copy my .cc and .h files into... (1 Reply)
Hi All,
Currently my project source code is compatible with HP-UX11.0 and Sun Solaris5.8. I m trying to build the source code in AIX 5.2 using gcc 4.2.2 compiler.
Can anyone suggest me after seeing the rules file, what options do i need to specify to get rid of the cb error
I m... (0 Replies)
Hi All,
While installing a Service Pack on my Unix Solaris machine, i got the following error:
UX:acomp: ERROR: "space.c", line 16: undefined symbol: CHROOT_SECURITY
UX:acomp: ERROR: "space.c", line 16: non-constant initializer: op "NAME"
UX:idmkunix: ERROR: Compile/link of 'Driver_atup.o... (9 Replies)
dears i working in solaris and when i type make for report it gives me the error kindly can you help me what is the reason
-bash-3.00$ make BPSEXT130
make: Warning: File `BPSEXT130.rc' has modification time 12 s in the future
make BPSEXT130.c
make: Entering directory... (3 Replies)
Hi I have installed Suse Linux 9.3 desktop on my computer. I found out I need to install 'gcc', and I was able to download the source code. I then tried to follow some instructions from WEB search to compile and build gcc, and I am getting the following error:
---
linux:/gcc/gcc-2.95.3 #... (1 Reply)