Go to advanced search

by gorge_alan_sw
Sat Jun 29, 2013 5:44 pm
Forum: General programming discussion
Topic: running process as an daemon — update-rc.d fails
Replies: 0
Views: 1532

running process as an daemon — update-rc.d fails

Hi, I am ssh into my rpi. Trying to run update-rc.d it is failing. update-rc.d vscpd_startup_script defaults Also i tried sudo it does not accept sudo. sudo update-rc.d vscpd_startup_script defaults Please suggest, Why update-rc.d is failing :?: When i update my script in init.d directory using upda...
by gorge_alan_sw
Thu May 16, 2013 1:43 pm
Forum: Raspberry Pi OS
Topic: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared
Replies: 12
Views: 2475

Re: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclar

The files are in /usr/include/arm-linux-gnueabihf/bits/ and /usr/include/linux. yes i am getting same error ... My makefile :--- CXX = g++ CC = gcc OBJS = fcnt_file.o CFLAGS_TEMP = -v -I/usr/include/arm-linux-gnueabihf/sys/ all: fcnt_file #http://darkautism.blogspot.in/2010/10/undefined-reference-t...
by gorge_alan_sw
Thu May 16, 2013 11:54 am
Forum: Raspberry Pi OS
Topic: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared
Replies: 12
Views: 2475

Re: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclar

Both the folder are inside /usr :--

Code: Select all

usr/arm-linux-gnueabihf/bits/
usr/linux/
/usr/include is the standard path to search for the include directories.
Does compiler search for directory & subdirectories inside /usr/include also :?:
by gorge_alan_sw
Thu May 16, 2013 10:31 am
Forum: Raspberry Pi OS
Topic: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared
Replies: 12
Views: 2475

Re: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclar

Both "man 2 fstatat" and POSIX say that the AT_* macros are defined in <fcntl.h>. But if you will see RPI wheezy image it is like what i have mentioned . /usr/include/fcntl.h ----------> contains file ---> # include <bits/stat.h> stat.h ----> file is in following location -----> /usr/incl...
by gorge_alan_sw
Thu May 16, 2013 8:34 am
Forum: Raspberry Pi OS
Topic: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared
Replies: 12
Views: 2475

Re: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclar

Thanks for replying :-- Cannot reproduce. cmake-2.8.10.2 compiles correctly out of the box for me on Raspbian. I have only configured ./configure --prefix=/usr & then make. I compiled following program :---- #define _ATFILE_SOURCE #include <sys/stat.h> #include <stdio.h> int main(int argc, char ...
by gorge_alan_sw
Wed May 15, 2013 5:28 am
Forum: Raspberry Pi OS
Topic: bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared
Replies: 12
Views: 2475

bug in raspbian -- error: 'AT_SYMLINK_NOFOLLOW' undeclared

Hi, I am using Raspbian distribution, for RPi. I am compiling a package on Raspbian. Where i use to get the following error. error: 'AT_SYMLINK_NOFOLLOW' undeclared this constant is defined in following file :--- http://lxr.free-electrons.com/source/include/uapi/linux/fcntl.h#L44 Is there some bug w...
by gorge_alan_sw
Mon May 06, 2013 12:42 am
Forum: Raspberry Pi OS
Topic: Openssl error -- for Raspbian
Replies: 6
Views: 5129

Re: Openssl error -- for Raspbian

Actually my RPi do not have direct internet connection.

Is it possible to to get standalone package to install openssl offline :?:

//Allan
by gorge_alan_sw
Sun May 05, 2013 4:17 pm
Forum: Raspberry Pi OS
Topic: Openssl error -- for Raspbian
Replies: 6
Views: 5129

Re: Openssl error -- for Raspbian

>> Just wondering why you compiled it yourself, rather than just installing the standard package?

Is it not possible to compile openssl for Raspbian :?:

I am getting same error for different openssl packages.
by gorge_alan_sw
Sat May 04, 2013 9:05 am
Forum: Raspberry Pi OS
Topic: Openssl error -- for Raspbian
Replies: 6
Views: 5129

Openssl error -- for Raspbian

Hi, I have compiled & installed openssl for RPi . My files are getting compiled & installed openssl. but i use to get following error when i run the executable. Two different tarball which i tried i got, Same error :-- http://www.openssl.org/source/ openssl-1.0.1e.tar.gz openssl-1.0.0g.tar.g...
by gorge_alan_sw
Fri Apr 19, 2013 3:14 pm
Forum: Beginners
Topic: ssh is not working ..
Replies: 7
Views: 1556

Re: ssh is not working ..

Actually i compiled & installed latest openssl to my target . Could it be the problem :?: Does rpi ssh depends upon openssl :?: Openssl & ssh relation :---- http://security.stackexchange.com/questions/3424/how-is-openssl-related-to-openssh http://security.stackexchange.com/questions/1599/wha...
by gorge_alan_sw
Fri Apr 19, 2013 12:38 pm
Forum: Beginners
Topic: ssh is not working ..
Replies: 7
Views: 1556

Re: ssh is not working ..

you have a different command line prompt (ignite@ignite-desktp) to the standard (pi@raspberrypi), actually i do not have an HDMI screen & using my remote desktop computer to logon into piusing ssh. [ ok ] Restarting OpenBSD Secure Shell server: sshd. _> enable ssh that you seems to forgoten pro...
by gorge_alan_sw
Fri Apr 19, 2013 12:07 pm
Forum: Beginners
Topic: ssh is not working ..
Replies: 7
Views: 1556

Re: ssh is not working ..

any suggestion how to make it working :?:

if ping is working then means RPi is booted properly.
by gorge_alan_sw
Fri Apr 19, 2013 11:45 am
Forum: Beginners
Topic: ssh is not working ..
Replies: 7
Views: 1556

Re: ssh is not working ..

remsnet wrote:please provide :

Code: Select all

ps aux | grep sshd 
I am getting following o/p.

Code: Select all

ignite@ignite-desktop:~$ ps aux | grep sshd
ignite    2112  0.0  0.0   3036   768 pts/0    R+   17:01   0:00 grep --color=auto sshd
by gorge_alan_sw
Fri Apr 19, 2013 11:33 am
Forum: Beginners
Topic: ssh is not working ..
Replies: 7
Views: 1556

ssh is not working ..

Hi, I am facing a problem. I am not able to ssh into my pi. RPI is connected directly to my host PC. I have set IP address of my host :---- sudo ifconfig eth0 192.168.0.204 netmask 255.255.255.0 up sudo route add default gw 192.168.0.200 Pi have default IP in network interfaces file as :---- auto lo...
by gorge_alan_sw
Tue Apr 09, 2013 3:51 am
Forum: Raspberry Pi OS
Topic: RPi -- rootfile system size
Replies: 5
Views: 1178

Re: RPi -- rootfile system size

Is it possible to make my smaller size rootfile syatem for RPI ... which is capable to do minimum task like networking TCP/IP to Server.

Is there some Buildroot support for it ?

building a minimal Raspberry Pi root filesystem. ?
by gorge_alan_sw
Mon Apr 08, 2013 4:48 pm
Forum: Raspberry Pi OS
Topic: RPi -- rootfile system size
Replies: 5
Views: 1178

RPi -- rootfile system size

Hi , Need your suggestion. I am using following distribution for raspberry pi. http://www.raspberrypi.org/downloads http://downloads.raspberrypi.org/images/raspbian/2013-02-09-wheezy-raspbian/2013-02-09-wheezy-raspbian.zip FOR rpi It is recommended to use >2GB card. Also when i install it on my memo...
by gorge_alan_sw
Sat Apr 06, 2013 3:33 am
Forum: General programming discussion
Topic: Mcp2515 character driver
Replies: 4
Views: 5086

Re: Mcp2515 character driver

Thanks Martin for your support.

//Allan
by gorge_alan_sw
Fri Apr 05, 2013 6:56 am
Forum: General programming discussion
Topic: Mcp2515 character driver
Replies: 4
Views: 5086

Re: Mcp2515 character driver

Thanks Martin. This post from you contains how to detect MCP-2515 interrupt . http://lnxpps.de/rpie/ And another driver :--- http://lnxpps.de/rpie/mcp2515_mod.c So the present opensource code for MCP2515 is based on network driver concept :?: But i can adapt the same N/w driver to the below serial S...
by gorge_alan_sw
Fri Apr 05, 2013 5:57 am
Forum: General programming discussion
Topic: Mcp2515 character driver
Replies: 4
Views: 5086

Mcp2515 character driver

Hi, I am going through a network driver for mcp2515. https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/net/can/mcp251x.c Is there some driver for MCP2515 which is based on character driver concept :?: I am not sure that these pacth isrelated to character driver :------- http://clientes.net...
by gorge_alan_sw
Tue Mar 05, 2013 5:31 pm
Forum: Raspberry Pi OS
Topic: ERROR: can't resolve libraries to shared libraries: gobject-
Replies: 0
Views: 1459

ERROR: can't resolve libraries to shared libraries: gobject-

Hi, I am trying to cross-compile gobject-introspection for raspian, sb2 -t rfs-raspbian -eR LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH make Getting following error :---- ignite@ignite:~/sbox2/rootfs/rfs-raspbian/home/pi/gobject-introspection-1.34.2$ sb2 -t rfs-raspbian -eR LD_LIBRARY_P...
by gorge_alan_sw
Tue Feb 19, 2013 12:29 pm
Forum: Raspberry Pi OS
Topic: how to install apt-get in raspbian ?
Replies: 18
Views: 19173

Re: how to install apt-get in raspbian ?

something i found related to chroot compiling :---
http://www.raspberrypi.org/phpBB3/viewt ... p?p=101026

But still need to clarify above two questions.
by gorge_alan_sw
Tue Feb 19, 2013 12:24 pm
Forum: Raspberry Pi OS
Topic: how to install apt-get in raspbian ?
Replies: 18
Views: 19173

Re: how to install apt-get in raspbian ?

What i have read in these many days that. When you will use scratchbox then it will compile (using QEmu on host system) or run command in an environment of your target root-file system. And there is no need to chroot everytime. and then copy /usr/bin/qemu-arm-static into the chroot And what is the u...
by gorge_alan_sw
Tue Feb 19, 2013 12:02 pm
Forum: Raspberry Pi OS
Topic: how to install apt-get in raspbian ?
Replies: 18
Views: 19173

Re: how to install apt-get in raspbian ?

Thanks Plugwash for your support. deboostrap in debian doesn't by default know of the keys needed to check the signature on the raspbian repository. On a squeeze host debootstrap doesn't check such signatures by default, on a wheezy host it does, so if you want to deboostrap raspbian on a wheezy hos...
by gorge_alan_sw
Tue Feb 19, 2013 11:46 am
Forum: Raspberry Pi OS
Topic: how to install apt-get in raspbian ?
Replies: 18
Views: 19173

Re: how to install apt-get in raspbian ?

Last few days i read a lot on google to come out for solution for it. May be these useful links will be helpful to others in near future. debootstrap :--- http://manpages.ubuntu.com/manpages/precise/man8/debootstrap.8.html http://www.digriz.org.uk/debian/debootstrap http://www.raspberrypi.org/phpBB3...
by gorge_alan_sw
Mon Feb 18, 2013 2:14 pm
Forum: Raspberry Pi OS
Topic: how to install apt-get in raspbian ?
Replies: 18
Views: 19173

Re: how to install apt-get in raspbian ?

http://annoyingtechnicaldetails.wordpress.com/tag/raspberry-pi/ or as per this link i also have to download the packages for the raspbian seprately ? wget https://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb sudo dpkg -i raspbian-arc...

Go to advanced search