Ubuntu :: Compiling For Speed - Keep Options?

Jan 2, 2010

Its about CFLAGS and -O2, and options like -march=<your architecture>. There are things I am just not sure about eg - this PC has a Intel i7, which has a wealth of powerful instructions developed since 'i386', that the gcc complier might be able to compile for - if we tell it! Where are the default options kept? Even supposing one decides not to mess with Ubuntu defaults, how does one locally compile a program, optimized for the CPU, overriding the defaults? How does one even tell if the 64-bit version got installed? In my case, it was provided by others. clicking System -> About Ubuntu can be surprisingly opaque on this little detail, even though you get the chance to choose at the site.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Compiling Kernel With Bare Minimum Options?

Nov 10, 2010

I am looking to compile a kernel for my system which is a home built machine. This machine is stable and has not had any hardware changes in the past 2 years. I am trying to figure out exactly what modules and options to include in my custom kernel. Is there a way to see what modules are actually in use on my system and build a custom kernel based on that?

View 5 Replies View Related

Slackware :: Compiling Kernel Sources To Add Few Options

Apr 18, 2010

I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?

View 3 Replies View Related

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

Ubuntu Multimedia :: Trying To Playback At Double Speed - VLC Will Play The Video At Normal Speed But With No Audio

Jul 23, 2011

Ubuntu 64bit. The sound system works and plays noises correctly when I test the speakers in sound preferances. The internet BBCi player(Radio) plays sound correctly. Banshee & Rhythmbox try to play music files at double, or more, speed with no sound output. Spotify Linux version also tries to playback at double speed with no sound output. Media Player attempts to play music files at high speed. Media player plays the Video and audio tracks at high speed. VLC Will play the video at normal speed but with no audio.

View 1 Replies View Related

Ubuntu :: Cd Burner Goes To 16 Speed Burning And Up: Cannot Burn At 4 Speed

Dec 20, 2010

i both have the same problem, i'm trying to burn my images at 4 or 8 speed, but ubuntu 10.04 says that the hardware does not support that kind of speed and switch up to 16 speed and more. i know it can burn at low speeds, at least in windows, it is a bit strange that fast burning is okee, and slow not, what can i do to prevent this? i don't wanna burn to much errors on my discs

View 5 Replies View Related

General :: Turn Turtle-speed Browsing Into Penguin-speed Browsing?

Oct 17, 2010

I've just installed Slackware 13.1 in two different laptops for first time. I have some strange internet browsing behaviour in one of the laptops. I've installed 2 internet browsers(firefox,opera) using the directions from Slackbuilds.org and there is also konqueror pre-installed. Moreover I installed Wicd network manager.

I can browse some pages e.g. ..... with firefox very slowly but NEVER facebook. I can browse almost any page, even facebook, with OPERA but very very slowly. The same goes with konqueror... Wicd shows that i am always connected with my WPA wireless network

Laptop details:

Quote:

Toshiba sattellite a100-209
//-----------------------------------------------
Processor Intel Celeron M 370 / 1.5 GHz
Databus-Speed 400 MHz
//-----------------------------------------------
Installed RAM 512 MB
Technology DDR2 SDRAM - 533 MHz

[code]....

View 7 Replies View Related

Ubuntu :: Compiling Never Successfull?

Jan 5, 2011

I have tried several times, but compiling always fails.I want to compile a litte program called dwg2dxf.I think all the needed programs are installed.First I unpack the tar.gz file on my desktop. Open Terminal, enter directory, then type"./configure"Everything fine, some files are created. config.log doesnt show errors (See config.log file)."make"Some errors occurenters some directories without doing anything, thenmain.cpp:39: fatal error: iostream.h: (translation) Doesnt exist.This is the text from the terminal:

familia@familia-laptop:~/Escritorio/dwg2dxf-2.1$ make
make all-recursive
make[1]: se ingresa al directorio /home/familia/Escritorio/dwg2dxf-2.1

[code]...

View 7 Replies View Related

Ubuntu :: Compiling Kernel In 10.04?

Mar 2, 2011

so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.

i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.

View 7 Replies View Related

Software :: C++ Compiling Wx2.8.10 On 64-bit Ubuntu?

Mar 7, 2010

I went from mandriva 2009 32-bit to ubuntu 9.10 64-bit and wx begins to act up..

the simple program from the wx hello world tutorial build fine on my old system, but not my new on. I got the packages installed (wx2.8.10-dev, headers and whatnot)

I've looked around a bit and it seems the compiler is not including the files correctly..

Compiler command:

Code:
g++ k.cpp `wx-config --libs` `wx-config --cxxflags` -o morten
Compiler output sample (because most of it is because of first errors):
Code:
k.cpp:9: error: invalid use of incomplete type struct wxFrame
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of struct wxFrame
k.cpp:12: error: ISO C++ forbids declaration of wxPoint with no type
k.cpp:12: error: expected , or ... before & token

[Code].....

View 5 Replies View Related

Ubuntu :: Compiling And Updating Drivers

Jan 23, 2010

I have a wifi card that has a generic driver through ubuntu that doesn't give it near the capabilities it has with another driver I found at another website. I compiled this driver myself and installed it, but after an update all effects of that driver seem to be gone.

View 5 Replies View Related

Ubuntu :: Error While Compiling Xchat

Jan 26, 2010

I am compiling Xchat and when I was 'make install' I get this error and yes I am root.

Code:
make[2]: *** [fe-gtk.o] Error 1
make[2]: Leaving directory `/home/mark/build/xchat-2.8.6/src/fe-gtk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mark/build/xchat-2.8.6/src'
make: *** [install-recursive] Error 1

View 3 Replies View Related

Ubuntu :: Compiling Libs Under A Different Directory

Feb 21, 2010

I am fairly new to ubuntu. I have to compile some libraries under ubuntu in a directory other than the default directory and then get the shared object libs (.so) libs for building some custome kernels. I created a directory structure as follows:

/home/username/build-target
/home/username/src-<libname> =>here are the source files for the lib. I need to compile

Now I create a directory /home/username/src-openssl and download the source code and untar it under this directory and issue ./configure --prefix=/home/username/build-target --exec-prefix=/home/username/build-target and then make and make install. I was expecting that the shared object libraries created (.so) files should have gone under /home/username/build-target/libs, however I just see only libssl.a and libcrypto.a and not .so files under the build-target/lib directory. For grep also I did the same thing as above however I don't see any lib directory created under build-target directory as I was expecting.

View 1 Replies View Related

Ubuntu :: Getting Error In Compiling RPC Program

Mar 22, 2010

I am trying to compile a simple remote procedure call program. I am getting an error:
/tmp/ccy0M5rT.o: In function 'main':
rpchighlayer.c.text+0x5c): undefined reference to 'rnusers'
collect2: ld returned 1 exit status

Code:
#include <stdio.h>
#include<stdlib.h>
main(argc, argv)
int argc;
char **argv; {
int num;if (argc != 2) {
fprintf(stderr, "usage: rnusers hostname ");
exit(1);
} if ((num = rnusers(argv[1])) < 0)
{fprintf(stderr, "error: rnusers ");
exit(-1);
} printf("%d users on %s
", num, argv[1]);
exit(0); }

View 2 Replies View Related

Ubuntu :: Beginner And Compiling Prgrams

Mar 25, 2010

I am a beginner and would like to know how do you compile a program in ubuntu 9.10. I would like to compile freeorion but don't know where to start in compiling any sort of program. Any instructions would be most welcome.

View 3 Replies View Related

Ubuntu Installation :: Compiling Abgx360gui ?

Apr 18, 2010

Im having problems when compiling abgx360gui. I compiled the abgx360 and it work but I want to compile the gui now, because otherwise it is very difficult to use it.

And when I try to compile it, the following happens.

View 5 Replies View Related

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

Aug 1, 2010

I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".

Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1

[Code]...

View 1 Replies View Related

Ubuntu :: Compiling For Multiple Architectures?

Aug 13, 2010

I'm trying to compile some of the gnu utils (the version on some of the computers I work on are terribly out of date). The issue is that many machines share the same filesystem, and I'd like to not have a different executable for each machine. Anyways, I've read that

./configure CC="gcc -arch i686 -arch x86_64 " --prefix=/home/user/bin

should work. But of course it doesn't. apparently -arch is not an argument accepted by gcc.

View 1 Replies View Related

Ubuntu :: Cross Compiling Software For Arm ?

Sep 20, 2010

I am trying to cross compile a package from source for an embedded arm board, however I am not having much luck creating an arm binary.

After running make, this is what I get:

View 3 Replies View Related

Ubuntu :: Compiling Old Version Of Avidemux?

Nov 20, 2010

I'll try to make this short, esp because I don't know if this is the right place to discuss a 3rd party program like "Avidemux" I'm running the latest version "2.5.4" or so. It started giving me this problem where no matter what settings I give it, the resulting files are so small it results in an error after almost a day of encoding. ( "XYZ" was NOT saved correctly , for example.) One day I noticed the quantisizer was at max, peaking at 48-50...which made the files tiny. So, I can avoid this sort of, by limiting the maximum and minimum quantisizer in the configurations. Problem is, I have no control over target size or bitrate this way..and sometimes the results are still unplayable.

Naturally I've uninstalled and re-installed several times, and recompiled the x264 codecs using this guide: [URL]... So, I downloaded the Tar.gz of the previous version i was using (Avidemux 2.5.3), the last known thing I know that worked for me...but I have no idea how to install it. I've tried running "Make" / "Cmake" In which I was told that an "in-tree-build" was detected. And trying to run the included "bootStrap.sh" results in : "Permission denied" or file/command not found. I don't think their old releases come in the default Ubuntu/Unix package "deb" right?

All these could be small errors on my end, but It urks me. In between reading up, and everything else that needs to be done in a day, I could have been done by now... Does anyone know where i could be going wrong?

View 6 Replies View Related

Ubuntu :: Compiling The OpenSceneGraph For FlightGear?

Mar 19, 2011

I'm following the instructions here, to compile OpenSceneGraph that I got on DVDs purchased from Curtis Olsen. The instruction for this step goes like this.

Quote:

mkdir osg_build
cd osg_build
cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS="-O3 -march=native"
CMAKE_C_FLAGS="-O3 -march=native" -D CMAKE_INSTALL_PREFIXATH="/usr" ../src

[code]....

So, I try that, and I get the following.

Quote:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works

[code]...

View 1 Replies View Related

Ubuntu :: Compiling Games From .tar.gz Files

Jul 20, 2011

just need to know how i would do this, I've tried it before, and I've gotten the following error, no matter what i tried:

View 2 Replies View Related

General :: Compiling WxWidgets On Ubuntu 9.04?

Jul 28, 2009

I did fine with Ubuntu 9.04 for a month and then things went wrong and I could no longer compile programs though others on the same distro could so I reinstalled Ubuntu 9.04.First step is to compile wxWidgets. Before this was automatic sudo make install libgtk2.0-dev, download wxGTK from wxWidgets then compile and make wxWidgets.Now I can't even do that, I get make errors every time and as soon as I resolve one. another shows. Widgets version 2-8-10 is the same as before. Does anyone know a current address for a tutorial getting widgets to compile with Ubuntu, I don't know whether to ask you, Ubuntu or Widgets (or understand what went wrong with Ubuntu in the first place.

View 6 Replies View Related

General :: Compiling The Wesnoth For Ubuntu?

Sep 24, 2010

I want to run the development version of the game Battle for Wesnoth, but I'm having some problems compiling it...I downloaded the latest version (1.9.1) and followed the installation instructions;

cd /usr/src
sudo tar -xvjf wesnoth-1.9.1.tar.bz2
cd wesnoth-1.9.1
sudo ./configure --datadir=/usr/share/games/wesnoth/

I managed to get to this point, after some small problems, but 'configure' told me I needed SDL.I installed SDL (libsdl1.2-dev) using the Software Center, but now it sais;

Code:

checking for SDL - version >= 1.2.7 and SDL_ttf - version >= 2.0.8... no
configure: error: *** Please upgrade your SDL and/or SDL_ttf version

The version that was installed seems to be 1.2.14 I also looked for sdl-ttf, and that was also already installed (version 2.0.9)

View 11 Replies View Related

Ubuntu :: Compiling And Installing Jfstools 1.1.14?

May 27, 2010

I am running Ubuntu 9.04 and I would like to update the jfstools to 1.1.4. Apt-get tells me that 1.1.2 is the latest available, but there is 1.1.4 code HERE.I am not overly comfortable compiling and installing, although I have done that many times. This time, I am unsure about the installation path:Quote:

Installation Names
By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving

[code]....

View 2 Replies View Related

Ubuntu :: Getting Error While Compiling A C Program / Fix It?

Mar 10, 2010

I got an error that header file sys/ddi.h , did the system is missing something

View 2 Replies View Related

Ubuntu :: Compiling BASIC-256 From Source?

Sep 13, 2010

This is my first time compiling a software, I have successfully downloaded and extracted the "basic256_0.9.6.32.tgz" file,but There is no configure file present in the extracted contents,also make and checkinstall exit with error.What seems to be the problem Here is the output of errors I got during Installation

[Code]...

View 14 Replies View Related

Ubuntu :: How To Have Less Boot Options

Apr 2, 2010

I have both Ubuntu and Windows XP installed on this computer. This isn't that big of a problem, but I would like to know if there's any way to remove the other four or so boot options for Ubuntu and leave only the 'standard' boot options for Ubuntu and Windows XP. I am new to Linux so I doubt I'll be using those any time soon so I'd like to have them out of my way for the time being.

View 7 Replies View Related

Ubuntu :: Is There GUI For CPU Speed?

Jan 24, 2011

Is there a GUI for CPU speed?I can't seem to find anything in the Ubuntu software center and I'm trying not to use the command line as a proper OS should need the user to have any command line knowledge - just being lazy I found some stuff about cpufreq and I installed it but it doesn't show up anywhere.

View 9 Replies View Related

Ubuntu :: Compiling Root And Grub Bootloader

Jan 20, 2010

In regards to other distribution cds: I'd like to learn how to install a 'root' and 'grub' boot loader so that I can cleanly install other distributions. I'm new to the file system. Could I make a bootable usb with simple installers? or command line codes?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved