On Thu, Oct 7, 2010 at 3:48 AM, J. L. <vwyodapink@...> wrote:
> On Thu, Oct 7, 2010 at 1:07 AM, Alex Gibson <alxx@...> wrote:
>> On 7/10/2010 5:38 PM, J. L. wrote:
>> On Wed, Oct 6, 2010 at 11:29 PM, Alex Gibson <alxx@...> wrote:
>> On 7/10/2010 3:48 PM, J. L. wrote:
>> root@...:~# uname -a
>> Linux overo 2.6.34 #1 Thu Oct 7 13:29:22 EST 2010 armv7l GNU/Linux
>> root@...# ls
>> acct.h inotify.h poll.h signal.h sysmacros.h unistd.h
>> acl.h io.h prctl.h signalfd.h termios.h user.h
>> bitypes.h ioctl.h procfs.h socket.h time.h ustat.h
>> cdefs.h ipc.h profil.h socketvar.h timeb.h utsname.h
>> dir.h kd.h ptrace.h soundcard.h timerfd.h vfs.h
>> elf.h kdaemon.h queue.h stat.h times.h vlimit.h
>> epoll.h klog.h quota.h statfs.h timex.h vt.h
>> errno.h mman.h raw.h statvfs.h ttychars.h vtimes.h
>> eventfd.h mount.h reboot.h stropts.h ttydefaults.h wait.h
>> fcntl.h msg.h resource.h swap.h types.h xattr.h
>> file.h mtio.h select.h syscall.h ucontext.h
>> fsuid.h param.h sem.h sysctl.h uio.h
>> gmon.h pci.h sendfile.h sysinfo.h ultrasound.h
>> gmon_out.h personality.h shm.h syslog.h un.h
>> root@...# ls
>> ethernet.h if_arp.h if_ppp.h if_slip.h ppp_defs.h
>> if.h if_packet.h if_shaper.h ppp-comp.h route.h
>> If you have a program or example I can give it a try building it if you
>> want ?
>> The only difference is my kernel was built on the 30th of Sep but I
>> list basically the same files as you but what I listed above does not
>> show up in your listings as well.
>> While yes some that it cant find are listed well 2 actually thats it.
>> The rest do not show up and this is not even a complete list of what
>> headers I have run across it not being able to find.
>> net/raw.h ----- was put in place by me and cant find it
>> net/route.h --- on system from standard build and install but cant find it
>> A bunch of the headers I can find in the kernel source itself but I
>> did not have luck just copying it to the location and having it work.
>> But there is also some headers I can not even find in the kernel
>> If you like I can paste the exact things you did but would be
>> duplicated just the kernel date is the only difference. At least
>> subversion is finally building for me so step forward today.
>> Thanks for your help and input so far.
>> ?? Not sure
>> I have exactly the same headers as listed above in /usr/include/net and
>> /usr/include/sys on my fedora13 box and installed on multiple gumstix.
>> I am using python for most of the network programing, but most c and c++
>> programs I've tried to build have built without problems.
>> Don't have the ipchains headers on my fedora 13 box at all, same with
>> most of those you list.
>> Wouldn't you be better off putting any of your own headers or
>> non-default headers in /usr/local/include ?
>> Not sure this is all one crazy learning experience for me. Is that the
>> standard way to put headers in? If so and say the 2 headers I need to
>> install are /net/raw.h and sys/sockio.h do I just put them both as so?
>> /usr/local/include/net/raw.h and /usr/local/include/sys/sockio.h ?
>> would that be it? Or would I need to do more than just putting them in
>> the file system like that? Sorry if this is all really basic linux
>> questions but this is the furthest I have ever gotten into linux and
>> just trying to figure all this out. Thanks again for your time and
>> help so far.
>> http://tldp.org/guides.html Can find most manuals for linux there.
>> Its better to keep your own files in different location to the system
>> Avoids overwriting system headers and makes it easier to update and back
>> things up.
>> man hier
>> "The original idea behind '/usr/local' was to have a separate ('local')
>> '/usr' directory on every machine besides '/usr', which might be just
>> mounted read-only from somewhere else. It copies the structure of '/usr'.
>> These days, '/usr/local' is widely regarded as a good place in which to keep
>> self-compiled or third-party programs. The /usr/local hierarchy is for use
>> by the system administrator when installing software locally. It needs to be
>> safe from being overwritten when the system software is updated. It may be
>> used for programs and data that are shareable amongst a group of hosts, but
>> not found in /usr. Locally installed software must be placed within
>> /usr/local rather than /usr unless it is being installed to replace or
>> upgrade software in /usr."
>> For your own use its up to you. Depends if you need to or want to share your
>> code with others.
>> At least put them in a separate folder
>> I'd do
>> /usr/local/include/appName (or library name)
>> Then just add that to your include path
>> -I /usr/local/include/appName/
>> Also does it need a separate vfork.h ?
>> Can't use the vfork in /usr/include/unistd.h ?
>> route.h is in /usr/include/net
>> Have you got the include path set properly in the make file ?
>> UTS CRICOS Provider Code: 00099F
>> DISCLAIMER: This email message and any accompanying attachments may contain
>> confidential information. If you are not the intended recipient, do not
>> read, use, disseminate, distribute or copy this message or attachments. If
>> you have received this message in error, please notify the sender
>> immediately and delete this message. Any views expressed in this message are
>> those of the individual sender, except where the sender expressly, and with
>> authority, states them to be the views the University of Technology, Sydney.
>> Before opening any attachments, please check them for viruses and defects.
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> gumstix-users mailing list
> Thanks that actually helps a bunch :) And great links as well thanks for those!
> Now I am running into something new
> ldconfig: Can't open configuration file /etc/ld.so.conf: No such file
> or directory
> Is this because of how OE installs ld or ? I would think it would have
> to to do with how OE is installing ld, searching the system it does
> not appear to be anywhere on there.
> Thanks as always
Still dont know why last error I posted about is happening as
everything I read assumes that there be some ld.so.conf file?
Also not a major thing but something else I noticed, when I run ls
from the desktop directory in Terminal I get this message:
Desktop a.out gccerror
but ls seems to work in every other directory I have tried as I not
noticed this until just about an hour ago.