Tag Info

Hot answers tagged

3

This ought to be a comment, but it seems that I don't have the privilege to write any, so sorry in advance. Have you tried to execute the mount command in terminal? This program produces output for every mount point in your system. At the end of every line in the output, the mount flags are listed in parentheses. Check if your mount point has noexec flag ...


2

The nice thing about Eclipse IDE is that you don't need to install it. When you download Eclipse you get a zip file that you can unzip to somewhere in your home directory and just execute it from that directory. If you will visit the Eclipse downloads site you will see a list of available packages where you can choose the Eclipse IDE for C/C++ Developers ...


1

This is no longer the case if you install from repository. Tested on 12.04 LTS Beta. Install Eclipse from repository. Install the CDT plugin through the Help install software menu. sudo apt-get install ia32libs Install the ADT plugin through the Help install software menu. With this link. Choose to install the SDKs during the ADT install.


1

It's not all one line item in eclipse...looking at your link it wants you to do something like this: gcc -g EXTRA_CFLAGS+=-O0 EXTRA_CFLAGS+=-fno-omit-frame-pointer Let's take that apart: -g Default debug level so Project Properties->C/C++ Build->Settings->Tool Settings->Debugging and select Debug Level Default (-g) -O0 Optimization level so Same tab ...


1

If you had the same issue I did, I suspect that your project builds but code-completion / code highlighting fails? I've just found some notes that may be useful. Here's what I did: Project->Properties C/C++ General Paths and Symbols select the appropriate language Click "Add" and add the compiler-version specific directories For language 'GNU C++' I ...


1

If you want to do driver development with eclipse, you will have to do it the other way round. You will need to catch up on automake, autogen, pkg-config and so on, create an autotools project and import it into eclipse. The eclipse-cdt should offer this otherwise you missed to install the 'autotools-plugin' (unsure about exact name, writing this from ...


1

I am new too in Linux driver programming, I found that there a new way to deploy kernel modules (which are not in the official Linux tree) called DKMS. The module will be installed as source and DKMS will take care of compiling it for each kernel. It means the Makefile for module will be written manually and it's source will be not included for autotools. ...


1

1> you can try with this command "make" --> "/usr/bin/make" /usr/bin/make -C /lib/modules/2.6.38-8-generic/build M=/home/isaac/workspace/TestDriver1 2> in directory store your hello word code,creat file name "Makefile" obj-m := NameofyourHelloWold.o KDIR := /lib/modules/2.6.38-8-generic/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) ...


1

I'm in almost same position with you. Following this istructions I have had success with building kernel itself, and a single module. I added three steps (40~42) to main article to make Eclipse compile a specific driver, not whole kernel. Download and install Eclipse plus the CDT. Configure and build your kernel to define CONFIG_* and generate ...


1

I managed to get rid of the unresolved inclusion error, under the project properties C/C++ General -> Paths and Symbols, includes tab add a new a directory and choose /usr/include/c++/4.6.1 Now I don't have the unresolved warning but have all the Symbol could not resolved Ex: #include <iostream> // #include <stack> ...


1

I've solved the problem adding test.o in OBJECT in the makefile in src/backend/tcop. An istance can be subdir = src/backend/tcop top_builddir = ../../.. include $(top_builddir)/src/Makefile.global OBJS= dest.o fastpath.o postgres.o pquery.o utility.o test.o ifneq (,$(filter $(PORTNAME),cygwin win32)) override CPPFLAGS += ...


1

Note this is a warning from the IDE, not a warning from the compiler or an error. The problem is the IDE (Eclipse) doesn't know where your C++ libraries live. It's fairly simple to fix, you just tell it. http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm To set properties for your project, ...



Only top voted, non community-wiki answers of a minimum length are eligible