Debian Programming :: Linux Headers For Armhf And Gcc
Jun 24, 2015
I'm running debian testing on my armhf machine. I need to install linux headers after searching with apt-cache. I ran the command
Code: Select allsudo apt-get install linux-headers-3.16.0-4-all-armhf
But it says it will also install gcc-4.8.. I checked my gcc version which is 4.9. and running. sudo apt-get install gcc . says gcc is already the new version.How do i install the headers without installing gcc-4.8
View 3 Replies
ADVERTISEMENT
Jun 8, 2015
I tried to install "Wireless LAN" driver which wasn't installed by default on Debian Wheezy based on this DOC.
After I did all steps in that DOC, I've rebooted the system, and then Debian booted in TTY( gdm didn't start!!!!! )
and the main problem is I can't login to TTY and it say's "Login incorrect"!! (I'm sure the username and password is correct).
Overall :
1- GDM doesn't start
2- I can't login to TTY
View 14 Replies
View Related
Apr 25, 2016
I tried to install the cross toolchain for armhf but, apparently, I borked something. I tried to follow the directions here : [URL] .... but he lost me at "The key fingerprint is: 084C 6C6F 3915 9EDB 6796 9AA8 7DE0 8967 1804 772E (you will need to install curl in a bare chroot)".
I have successfully installed the toolchain according to the gnuarmeclipse method and don't recall any references to "chroot"; it was pretty straight forward. That machine took a dump and I need to start over. I would like to install the toolchain without Eclipse getting in the way (and hogging memory).
View 1 Replies
View Related
Mar 17, 2016
On my raspberry pi 3 with debian jessie I'd like to install a new version of ejabberd (xmpp/jabber server). For some platforms, the latest version 16.02 is available under jessie-backports, but for armhf, it is not: in the table at the bottom of <https://packages.debian.org/jessie-backports/ejabberd>, next to armhf is the version 16.01 listed in red, instead of 16.02 in green as for amd64 etc. What do these colours mean, and why the difference in versions? Will 16.02 become available for armhf as well in the (near) future, or is this an indication of a more serious problem?
Jessie's older version 14.07 does not offer the features I need, and 16.01 does not run at all; hence my hopes are pinned on 16.02.
View 2 Replies
View Related
Aug 12, 2014
Install cifs-utils on wheezy armhf
apt-get install cifs-utils --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code] ....
View 7 Replies
View Related
Nov 29, 2013
I'm looking for an app for Linux that creates bootable images. Back when I used windows, I used Imgburn. Now, I need an app like that for Linux. Wherever I looked online, I saw either one (or both) of these ideas.
1. Run Imgburn under wine
2. Get k3b
I don't like using wine because the programs run very slow. I'm not sure exactly how to get k3b to produce a bootable image. So that's where I'm stuck.
View 14 Replies
View Related
Aug 27, 2014
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.
Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).
Why I can't see a hello-2.ko, and what to do to get it?
View 2 Replies
View Related
Oct 27, 2010
I am learning network programming via a book of Richard Stevens.The sample source codes are given here
http://www.unpbook.com/unpv13e.tar.gz
I downloaded and unzipped the file in /usr/src folder.As per the instructions given in README of downloaded archive I did.
View 5 Replies
View Related
Mar 14, 2010
I have several classes that I use for multiple programs. Where should I keep the h/cpp files so I only have to add the #include for the compiler to find them?
View 9 Replies
View Related
Jul 29, 2010
Say, I have a header file containing all required includes:
Code: /* global.h */
#include <stdio.h>
#include <unistd.h>
...
#include <dirent.h>
#include <signal.h>
... /* and so on */
I have several modules in a program (*.h *.c files) and in each *.h I include global.h, then they are included in corresponding *.c files. And I receive strange messages from compiler, like a "warning: implicit declaration of function fdopendir", "error: expected declaration specifiers or '...' before 'siginfo_t' ", "error: 'DT_DIR' undeclared..." though these types, functions and constants are all declared in system headers. What does it mean?... Compiler is GCC 4.4.4-2, system is Fedora 13 x86_64
View 9 Replies
View Related
Feb 10, 2010
This compiles against g++ template headers but not against the icpc headers.
Code:
#include <string>
#include <vector>
template <typename T>
class MyList : public std::vector< T* >{
};
template <typename T>
class MyListIterator : public MyList<T>::iterator{
};
int main(){
MyListIterator< int > test;
return 0;
}
View 4 Replies
View Related
Apr 11, 2011
I feel like there should be a cleaner way of doing this. I have one file, for example "a.cpp", calling a function from another file, "b.cpp". Currently I have it set up so that header for "b", "b.h", has the declaration of its functions. And then I'm just including "b.h" in "a.cpp". Do I have to include the "b" header file in "a" to be able to call a function from "b"? Or is there a better way I could be doing this? Like doing something different at compile?
View 7 Replies
View Related
Sep 10, 2010
I'm new to database programming but I'm working in a project that makes use of sqlite3. I know I should #include <sqlite3.h> but it is not there.... i have just sqlite.h. can anyone tell me what to do to have the sqlite3 headers and start using them in my programs
View 9 Replies
View Related
Apr 13, 2011
I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).
The UML kernel I downloaded is 2.6.38.2. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).
Now I'd like to build said module against these headers. How can I do it?
Here's the makefile for my module code...
View 1 Replies
View Related
Jul 9, 2011
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is : Quote: undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem: Quote: gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
View 3 Replies
View Related
Jul 10, 2011
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is :
Quote:
undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem:
Quote:
gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
View 2 Replies
View Related
Oct 24, 2015
I have the problem of app stalling at 0% when trying to update. I ran apt with the debug option
apt-get -o Debug::Acquire::http=true update
And I get the following:
Code:
Select all0% [Trabajando]GET http://security.debian.org/dists/wheezy/updates/Release.gpg HTTP/1.1
Host: security.debian.org
Cache-Control: max-age=0
User-Agent: Debian APT-HTTP/1.3 (0.9.7.9)
GET http://ftp.mx.debian.org/debian/dists/wheezy/Release.gpg HTTP/1.1
Host: ftp.mx.debian.org
Cache-Control: max-age=0
User-Agent: Debian APT-HTTP/1.3 (0.9.7.9)
After a while trying to update, it trows out this error:
Code:
Select allIgn http://ftp.mx.debian.org wheezy-updates/non-free Translation-en
W: Imposible obtener http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 503 DNS error for hostname security.debian.org: Name or service not known. If security.debian.org refers to a configured cache repository, please check the corresponding configuration file.
[Code] ....
I have tried changing repos, also i have verified with iceweasel the availability of the repo.
Ihave changed aldo the network setting from dhcpd to static.
I am using Debian wheezy, gnome desktop enviroment, although the DE is irrelevant.
My conections details:
Code:
Select all
eth0 Link encap:Ethernet HWaddr 50:46:5d:b2:1b:2a
inet addr:192.168.2.14 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::5246:5dff:feb2:1b2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:376446 errors:0 dropped:0 overruns:0 frame:0
[Code] .....
View 1 Replies
View Related
Sep 30, 2010
I am trying to work on mobile phone programming in Linux platform using C language. Can somebody guide with this? I tried to search the web but I didnt get appropriate site.Also guide me about the mobile phones compliant with linux platform for programming using C language.
View 5 Replies
View Related
Feb 3, 2010
I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.
apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9
I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.
View 7 Replies
View Related
Jan 27, 2011
I am in process of installing a VMware tools PKg and am being asked for the path to the C headers for the kernel. I've browsed every folder, found lots of 'C' header files and tried these paths but none are being taken by the script. which path I need to provide for 'the C headers' for my kernel? running Piapix, Deb5. The os is running perfectly so I doubt there is error other than I am not 'wise' enough to locate these little buggers!
View 2 Replies
View Related
May 12, 2011
There are some sites who are for example U.S.-only...Using Windows and Firefox, it often helped to just install Modify Headers, set it up correctly and you're done (it changes your ip-address you show to a website) Using a proxy really slows your connection down, but the app didn't.Is there an app for Iceweasel pretty the same, or at least one being able to do the same?
View 5 Replies
View Related
Jan 13, 2010
Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?
View 14 Replies
View Related
Jul 3, 2009
I usually custom compile my kernel and generate the header files with the following command:
Code:
fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers
However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:
Code:
debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:
Code:
debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video
As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.
View 4 Replies
View Related
May 19, 2010
I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?
View 14 Replies
View Related
Jul 25, 2010
I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specify were the headers were by using:
m-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/
but also doesn't work. Instead, I get the error:
Bad kernel version specification at /usr/bin/m-a line 566.
Anyone knows how to work around this?
By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get:
FATAL: Module vboxdrv not found.
View 2 Replies
View Related
Dec 30, 2010
Back at uni I used to love programming in assembly, we used ARM processors and some pre-made boards. Anyway, I'd like to try and get back into it, so I have acquired some basic electronic components, some prototype board, a couple of 12F675 chips and a JDM serial programmer.Now, whilst I could run this from my works laptop on Windows, I'd far prefer to use my Linux desktop! (of course!) I'll be using my favourite editor to write the code so not bothered about an all singing and dancing IDE.I have a couple of questions...
1) What can I use to assembly/compile the source code? Does gcc have any support? If not, can someone recommend a free assembler, ideally command line?
2) Is there any good simulator software out there (I've found a few but not found people who have actually used them)? It would be useful to be able to run the code through a simulator before actually uploading to the chip - saves time and effort uploading something to find I've missed a command out!
3) Any useful links, tutorials, forums?
4) Any other resources? Like I said, I can (or at least used to be able to! ) write code for an ARM chip but the instruction set it different for this. I can easily pick up languages though so not too bothered about learning from scratch. I know people will say use c, but I'd far prefer to go down the ASM route, just for my own benefit and enjoyment!
This isn't for any particular project, it's just a hobby - once I've got a sound grounding then I'll start looking at a few more elaborate things!
View 1 Replies
View Related
May 11, 2010
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
[Code]...
View 19 Replies
View Related
Jul 6, 2010
Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
View 3 Replies
View Related
May 23, 2011
Im somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
View 1 Replies
View Related
Jul 20, 2010
I have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.
View 2 Replies
View Related