Debian Programming :: GCC Freezes When Building Package On Raspberry Pi
Apr 27, 2014
I'm trying to compile a project on my raspberry pi with little success. I typed export DH_VERBOSE=1 and added -v to the gcc options in the Makefile to see what was going on and this is the output. I'm trying to compile hda-jack-retask to get the raspberry pi headphone jack set to be a microphone jack. I want to be able to use the microphone jack as the input to xoscope, an oscilloscope program.
Code: Select allpi@raspberrypi ~/~diwic/+junk/hda-jack-retask $ dpkg-buildpackage
dpkg-buildpackage: source package hda-jack-retask
dpkg-buildpackage: source version 0.20120113
dpkg-buildpackage: source changed by David Henningsson <david.henningsson@canonical.com>
dpkg-buildpackage: host architecture armhf
 dpkg-source --before-build hda-jack-retask
[Code] ....
And it sits here for at least 24 hours. Alternatively, It looks like this program is part of the alsa-tools package in Ubuntu, but not in Debian. Need to figure out this freezing issue, should I pull down the Ubuntu source and build a debian package from that?
I am currently working on making a audio interface work with a otherwise working debian desktop (its actually AVLinux, but its Debian for all intents and purposes). The problem is, the current version of ffado-svn installed (1949, from the experimental repository) has a bug with the firmware on the interface (an Echo Audiofire8) preventing me from using high sample rates, so I need to install a more recent version of ffado-svn.I am wondering if there is anyway I can build a current version of ffado-svn into the appropriate debian packages. While I am not familiar with debian, I am familiaux (I use Arch regularly). I have tried messing around with downloading the svn source and downloading the source files from however, my lack of knowledge of the building process in debian has rendered me unable to have success so far.
I got the Raspberry pi 2 Model B. I flashed my sdcard with raspberian Jessie kernel 4.1 (latest).Also tried wheezy and NOOBS, same behavior.With a ethernet cable (known working), I tried connecting my Pi to my home router, and I got a invalid ip address 169.254.xxx.xxx, and therefore no linkup. I got the same results by connecting my Pi directly to my modem (wired).
I know that /etc/dhcpd.conf is the new /etc/network/interfaces for network configurations.So I tried the debug option, and I noticed that the router doesn't seems to response to the DISCOVER command from the Pi (dhcp v4 protocol).Here's a dump of by /var/log/syslog | grep dhcp
Code: Select allDec 28 12:00:02 raspberrypi systemd[1]: Starting dhcpcd on all interfaces... Dec 28 12:00:02 raspberrypi dhcpcd[349]: version 6.7.1 starting Dec 28 12:00:02 raspberrypi dhcpcd[349]: udev: starting Dec 28 12:00:02 raspberrypi dhcpcd[349]: dev: loaded udev Dec 28 12:00:02 raspberrypi dhcpcd[349]: eth0: disabling kernel IPv6 RA support
[code]...
ANd if i use raspbian flesh out of installation, I get this when i run
dhcpcd -k dhcpcd eth0 eth0: probing for an IPv4ALL address eth0: using IPv4ALL address 169.154.202.224
Seems like my home router TP-link (default setup) doesn't send a response to the dhcp request.
I have a Western Digital 3TB USB drive connected to a Raspberry Pi 2 running Raspbian Jessie. I created an 30GB ext4 system partition and a NTFS Data partition using the remainder of the drive. I formatted the NTFS partition as follows:
sudo mkfs.ntfs -Q -L Data /dev/sda2
The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.
I'm trying to build the kernel module for dvbhdhomerun. The problem is the linux kernel headers provided by Debian do not have the dvb header files. Trying to set up my own kernel source tree to use is not working out so well.
I'm following the instructions in the Debian section here: [URL] ....
My first try compiled, but the modules ender up under /lib/modules/3.2.51/extra instead of /lib/modules/3.2.0-4-amd64/extra. Why?
I tried to start over, but noticed this while running apt-get source linux-image-3.2.0-4-amd64:
Code: Select allReading package lists... Done Building dependency tree    Reading state information... Done Picking 'linux' as source package instead of 'linux-image-3.2.0-4-amd64' NOTICE: 'linux' packaging is maintained in the 'Svn' version control system at: svn://svn.debian.org/svn/kernel/dists/trunk/linux/
[Code] ....
The failure to verify the signature has me concerned, but beyond that, what do I do about the different version number when compiling and installing the kernel modules?
I am trying to build architecture specific binaries of gtk-sharp2. So far I have been unable to get gtk-sharp2 to build even without specifying a specific architecture. I got the source with apt-get source gtk-sharp2 and attempted ./configure, make, but it fails to build with the error message:
Code: Select allNo rule to make target 'thread.c', needed by 'thread.lo'.
I've also tried downloading the source directly from the mono project [URL] ...., but when building it fails with
Code: Select all#error "Only <glib.h> can be included directly."
This site [URL] .... provides a patch to fix the error, but when I applied it I got the same error.
I think the Debian version applied the patch correctly, but for some reason I still get that other error message.
These message outputted by configure may point to the problem:
"checking if gcc supports -fno-rtti -fno-exceptions... no" "./configure: line 12920: enable_msi: command not found"
i am using fedora-10,wants to install GTK+-2.18.7 or,so that i can built gui in 'C'.After several tries and installing needed libraries could not make it out.can any one give me full list of required librariescessary procedure to install them in sequence.From where i can find the full package of these libraries.
I am trying to build a deb package and I am lost. I was trying to follow this tutorial [URL] and I am not sure what kinda of package this should be. The driver is [URL].
I am trying to build something with checkinstall but it is throwing this error message - Code:dpkg-deb: parse error, in file '/var/tmp/tmp.tZtdRb9biy/package/DEBIAN/control' near line 3 package 'eina': field name `System' must be followed by colon make install works fine, but I would like a .deb to be built.
I am interested in package building rpms, just stumped on how packagers such as remi and atomic rocket get their spec files. Are these written from other packagers or do you need to write each spec file yourself to be considered as a "packager".
I'm trying to work with the pcsx2 dev to compile on fedora 86_64. [URL]. Unfortunately I seem to be missing a gtk2 / glib package as building stops with:
Scanning dependencies of target CDVDiso 47% Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o In file included from /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/CDVDisop.cpp:11:0: /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/Linux/Config.h:32:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. make2?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o? Error 1 make1?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/all? Error 2 make: all? Error 2
I have gtk2-devel.i686, glib-devel.i686 and all the other dependencies afaik - How do I get yum to tell me which gtk* packages are installed for instance...?
I am trying to build ORBit2 as a dependency for GConf and then google-chrome.
This is a multilib system and I want 32 bit chrome.
Both my 64 bit and compat32 packages are all current as of today per ftp://slackware.mirrors.tds.net/pub/slackware/.
I have edited the Slackbuild as follows:
Code:
The build fails each time with:
Code:
I am using the newest version of ORBit2 as the above indicates, but this is just to see if the newer package would build. The X.X.17 version failed with the same output.
I have run:
Code:
I've had no problems building this package with current in a pure 64 bit environment.
I'm building a debian source package to upload on my launchpad PPA. Does anyone know what file I should create or edit to make a menu entry for the app? Or a link to some *specific* doc? (The debian doc is quite overwhelming...)
Overnight, I upgraded from KDE 4.5.1 to 4.6.3 and had a rude awakening this morning when I found that KDE had managed to, once again, break the Task Manager "force rows" behavior which had been fixed a few major releases ago. I found this lovely patch that had been applied:
[URL]
And thus broken the functionality, and I want to recompile that particular plasmoid with the patch removed. However, I am completely unfamiliar with CMake or building anything at all, for that matter. All my programming is done in PHP which means I'm pretty much completely lost. I'm in the midst of pulling down the kde-workspace tree with git, and already downloaded and modified a separate copy of the file in question to look the way it is supposed to. I don't want to rebuild all of KDE, just the one module.
I am trying to build an application on linux and it requires compilation of several files along with my application. Till now I have been trying using a makefile which is built for a test application which uses almost the same files as the mine by replacing its main.c file. But mow have ended up writing everything, function declarations, definitions... in the same file looks very unprofessional and is quite difficult to manage.
I've spent all day trying to sort this out and I'm beginning to think this problem is specific to a Mac because I've managed to build this extension just fine on a debian vpsI'm trying to build the PECL extension amfext.I download the source to a folder and run the following:
I installed ubuntu on my laptop recently and would like to have trim support. (Because I have a ssd drive (crucial c-300 256gb). The current kernel that I am using is the 2.6.32 (standard lucid kernel I believe). Unfortunately TRIM support is only available from 2.6.33 and up. So I thought I'd install a new kernel using this howto:
i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
I seem to have a small problem. Since september, i hooked up an old Acer laptop (with just 560 RAM and a 16 mib graphical card) to a computer screen, a keyboard and a mouse, so that i had an extra 'computer' for my mother to use. Old people prefer bigger screens to ponder upon.
But anyways, each time i want to update or upgrade the 9.04 Ubuntu distribution, it freezes. This is quite annoying since i really want it to upgrade to 9.10, for possible faster results.
I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.
Code: cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a /home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [app.out] Error 1
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file: "Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
I have been meaning to do this for awhile. I have a relatively decent machine currently running FreeNAS, a BSD based NAS system. It works great as a NAS box, but now I want it to do more. I want it to act as a file server/NAS, also as a router for my home network, so obviously I will add a second ethernet port as well as wireless "N" capability. As a router, I want to have fine control over my home computers. And, I have a multiple camera security setup, using Motion, that I want to run on this machine 24/7. I know Motion doesn't take a huge amount of horsepower, since I am currently running it on an inexpensive laptop running Squeeze.
What I would like advice on is how some other people on this forum would accomplish this. FreeNAS works great for what it was designed for, as well as IPCop, but neither will do all that I want, so I plan to run Debian on it, most likely Squeeze, as it will soon be Stable.
its been years since I've compile anything so at a loss at what to do next. Emerald keeps giving me errors during "make": I've installed all deps listed here: [URL]
This is what I end up with:
make all-recursive make[1]: Entering directory `/home/qwe/emerald' Making all in libengine make[2]: Entering directory `/home/qwe/emerald/libengine'