Have Done So Far. The More Detail You Include The More We Can Help. You Should Also U

have done so far. The more detail you include the more we can help. You should also use the board's search feature to ensure that Thanks

---------- Post added 05-30-15 at 09:02 PM ----------

ok thanks


Similar Content



GCC Installation On RedHat 6.0

Hi

I am trying to install gcc on RedHat 6.0. I have installed
binutils 2.21
gmp 4.3.2
mpc 0.8.2
mpfr 3.0.0
ppl 0.10

but while making cloog-ppl 0.15 got an error shown below

what would be the reason?



gcc -DHAVE_CONFIG_H -I. -I. -I./include/cloog -I./include -I./include -I/usr/local/lib/include -Wall -fomit-frame-pointer -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c source/options.c -fPIC -DPIC -o .libs/options.o
gcc -DHAVE_CONFIG_H -I. -I. -I./include/cloog -I./include -I./include -I/usr/local/lib/include -Wall -fomit-frame-pointer -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c source/options.c -o options.o >/dev/null 2>&1
cd . && /bin/sh /opt/tools/cloog-ppl/autoconf/missing --run autoheader
autoheader: warning: missing template: HAS_SYS_RESOURCE_H
autoheader: Use AC_DEFINE([HAS_SYS_RESOURCE_H], [], [Description])
make[1]: *** [include/cloog/cloog-config.h.in] Error 1
make[1]: Leaving directory `/opt/tools/cloog-ppl'
make: *** [all-recursive] Error 1

Is It OK To Include Linux Man Pages In Commercial Book?

Hi everyone,

The title of the question pretty much describes it.

I am writing a commercial book and would like to know whether it is OK (as far as licensing is concerned) to include in an appendix the man pages of programs used in the book (none of which is proprietary).

The book itself will NOT be released under the GPL, but assuming I can include the man pages I understand I will need to add a copy of the GPL to the appendix as well.

Any clarification will be more than appreciated.

Thanks in advance.

Volume Rise, Lower And Mute Doesn't Work On Debian 8.0 Jessie

Hi Friends,

I recently install a Debian 8.0 Jessie on a Laptop Dell latitude E6540 with gnome 3.14+3.
But the problem is that it doesn't recongnize my multimedia buttons, I tried some methods but I didn't get results.

Code:
$showkey --scancodes
volume up   -- 0xe0 0x30 0xe0 0xb0
volume down -- 0xe0 0x2e 0xe0 0xae
volume mute -- 0xe0 0x20 0xe0 0xa0

$showkey --keycodes
volume up   -- 115
volume down -- 114
volume mute -- 113

xev
Code:
Volume up produces:

FocusOut event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyPointer

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   8   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
Volume down:

FocusOut event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

Volume mute:

FocusOut event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 37, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

On Setting --> Keyboard --> Shortcuts --> Sound and Media :

Volume up Audio mute
Volume down Audio lower volume
Volume mute Audio raise volume

On dconf org.gnome.settings-deamon.plugins.media-keys

Volume up XF86AudioLowerVolume
Volume down XF86AudioRiseVolume
Volume mute XF86AudioMute

When I reassinged the keys on Settings>Keyboard>Shortcuts to F7, F8 and F9 it works, but when use the keys volume up, down and mute It doesn't show anything.

The same happens with Fn + Brightness keys, in this case it worked the first time but then stop to work I don't know why..

Please some help with this..

Which Perl Module To Include To Use String Length Function?

HI all,
I'm writing a perl script to automate VM UUID transformation into a format used by our ServiceNow CMDB/discovery.

Anyone know which perl module to include to use the string length function?

Alternately, how would I determine which perl modules exist that are available to include, vs. which functions each module contains?

thanks in advance,
Tracy Wiseman, software engineer, Silicon Valley

Using Xargs And Grep In Find Command

I've been using this a lot:

find <directory to start search at> -name "<files to search in>" -type f | xargs grep "<string to search for>"

e.g.

find /usr/include -name "*.h" -type f | xargs grep "#define UINT"

now what if I wanted to output the results to a file?

Problem With EDCA Patch Of 802.11e For Ns2.35

Hello, I started to use ns2.35 recently with Cygwin Terminal 1.7.35 under a virtual machine Windows XP Pro Service Pack 3. I'm having a problem when trying to apply a EDCA patch of 802.11e.

First i tried the oficial patch (intended for ns2.28), then i found a later version of EDCA:
Ref. post #18 he http://www.linuxquestions.org/questi...245/page2.html

I also tried to apply the patch for ns-2.35
Ref. post #70 he http://www.linuxquestions.org/questi...928/page5.html


After I made the changes in the files and running the following commands (as said by the 'README.txt' inside the patch)
./configure; make clean; make depend; make

I got the message:
Code:
g++ -c -O2 -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/home/Administrator/ns-allinone-2.35/tclcl-1.20 -I/home/Administrator/ns-allinone-2.35/otcl -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -I./mac/802_11e -o mac/802_11e/mac-802_11e.o mac/802_11e/mac-802_11e.cc
mac/802_11e/mac-802_11e.cc:41:20: fatal error: stream.h: No such file or directory
 #include "stream.h"
                    ^
compilation terminated.
Makefile:93: recipe for target 'mac/802_11e/mac-802_11e.o' failed
make: *** [mac/802_11e/mac-802_11e.o] Error 1

Also, the ns command (which was working before the patch) now shows me an error:
Code:
bash: ns: command not found

I've searched the ns directory and the ns executable there is no more.


Do you have any ideia how to correct this?

Thank you in advance.

Problem With (instalation Of?) Mysql.h On C

Hi, I've just recently installed MySQL connector/c from source code on my Slackware 14.1 x64

I read the official instructions of the connector but I felt a bit disorientated when I read:
Code:
1 -Change location to the top-level directory of the source distribution.

I interpreted that I have to go to the "highest" directory Code:
/

So I wrote: Code:
 
        #                            cd /

root@- /#                            tar xzvf /home/normal/Downloads/mysql-connector-c-6.1.6-src.tar.gz 

root@- /#                            cd /mysql-connector-c-6.1.6-src/

root@- /mysql-connector-c-6.1.6-src# cmake -G "Unix Makefiles"

root@- /mysql-connector-c-6.1.6-src# make 

root@- /mysql-connector-c-6.1.6-src# make install

Then I did:
Code:
ln -s /usr/local/mysql-5.6.25/include /usr/include

But when I try to compile a program in c with #include <mysql.h> i get this error:
Code:
# gcc ctemp.c 
In file included from ctemp.c:2:0:
/usr/include/mysql.h:57:27: fatal error: mysql_version.h: No such file or directory
 #include "mysql_version.h"
                           ^

What can I do? Thanks a lot and sorry for poor english

PD: If you need the official instructions I paste here the link: https://dev.mysql.com/doc/connector-...on-source.html

Cannot Say Hello To The World Due To 'code 1'

/************************************************************
*
* Project 0: My First Program in C++
*
* Author: xxx xxxx
* Date: 18 January 2015
*
* This is the canonical first program for C++.
* Its purpose is to show that one knows how to create a program in
* one's particular programming environment.
*
************************************************************/

#include <bjarne/std_lib_facilities.h>

int main()
{
cout << "Hello, world!\n";

return 0;
}

I compiled the hello world program as my prof instructed.
then I used C+c C+c, delete 'make -k' and replaced with 'g++ -o proj0 -std=c++11 proj0.cc', choose to save the file, and it goes 'compilation exited abnormally with code 1'

note that I do all these by making SSH connection with computer in lab with a linux system

FYI, the whole thing is:

-*- mode: compilation; default-directory: "~/private/cs1/proj0/" -*-
Compilation started at Sun Jan 18 21:15:54

g++ -o proj0 -std=c++11 proj0.cc
In file included from /usr/include/c++/4.9.2/locale:41:0,
from /usr/include/c++/4.9.2/iomanip:43,
from /usr/local/include/bjarne/std_lib_facilities.h:220,
from proj0.cc:14:
/usr/include/c++/4.9.2/bits/locale_facets_nonio.h:1869:5: error: template-id do_get<> for String std::messages<char>::do_get(std::messages_base::catalog, int, int, const String&) const does not match any template declaration
messages<char>::do_get(catalog, int, int, const string&) const;
^
/usr/include/c++/4.9.2/bits/locale_facets_nonio.h:1869:62: note: saw 1 template<> , need 2 for specializing a member function template
messages<char>::do_get(catalog, int, int, const string&) const;
^

Compilation exited abnormally with code 1 at Sun Jan 18 21:15:55

Regarding Cross Compilation Of Ntp

hi all,
I am new to cross compilation .I am trying to cross compile ntp for arm based zync soc board. so i have downloaded ntp source code version ntp-4.2.8-p2

i gave options for confiure file like this ./configure --host=arm-xilinix-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/home/sntp CC=arm-xilinx-linux-gnueabi-gcc -with-yeilding-select=yes
configuration is succesful but when i am going for make it is throwing an error like this

cd ./html && \
../scripts/build/checkHtmlFileDates
cd . && \
./scripts/build/checkChangeLog
make all-recursive
make[1]: Entering directory `/home/SNTP/ntp-4.2.8p2'
Making all in sntp
make[2]: Entering directory `/home/SNTP/ntp-4.2.8p2/sntp'
[ ! -r ./../COPYRIGHT ] \
|| [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \
|| make check-COPYRIGHT-submake
cd ../libntp && make libntp.a
make[3]: Entering directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
CC systime.o
In file included from ../include/ntp.h:14:0,
from systime.c:9:
../include/ntp_crypto.h:27:25: fatal error: openssl/evp.h: No such file or directory
#include "openssl/evp.h"
^
compilation terminated.
make[3]: *** [systime.o] Error 1
make[3]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
make[2]: *** [../libntp/libntp.a] Error 2
make[2]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/sntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2'
make: *** [all] Error 2

suggest me how to fix this?

Regards
sumanth

Header File For C

How to create a header file for C...
Let us say I want to create a.h
I have created but how to move it to directory /usr/include
I am not able to save any file in to directory /usr/include