[maemo-developers] Having problems getting build enviroment set up (Chinook)

From: William Hope hope.we at gmail.com
Date: Tue Dec 18 03:41:07 EET 2007
If I remember correctly, I was going through a tutorial on the autotools and
it made reference to needing the file and didn't say what went into it.

I ended up at the autotools via the links in the Chinook pages somewhere. I
would prefer to follow a standard layout/environment and after looking at a
couple examples and not really seeing one, this is where I ended up.

I'm new to the Linux programming environment and at work I've always had to
setup the build environment myself.

Thanks for you time.

Bill

On Dec 17, 2007 3:07 AM, Eero Tamminen <eero.tamminen at nokia.com> wrote:

> Hi,
>
> ext William Hope wrote:
> > Thanks for replying. No, no .o is produced. Based on your emal, I tired
> to
> > narrow it down.
> >
> > This doesn't work:
> >
> > [sbox-SDK_BETA_X86: ~/prgms/ppim/trunk/src] > source='pPimString.cpp'
> > object='pPimString.o' libtool=no depfile='.deps/pPimString.Po'
> > tmpdepfile='.deps/pPimString.TPo' depmode=none /bin/sh ../config/depcomp
> g++
> > -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c -o pPimString.o pPimString.cpp
> >
> > This does:
> >
> > [sbox-SDK_BETA_X86: ~/prgms/ppim/trunk/src] > source='pPimString.cpp'
> > object='pPimString.o' libtool=no depfile='.deps/pPimString.Po'
> > tmpdepfile='.deps/pPimString.TPo' depmode=none  g++ -DHAVE_CONFIG_H -I.
> -I.
> > -I.. -g -O2 -c -o pPimString.o pPimString.cpp
> >
> > So the /bin/sh ../config/depcomp part is what's screwing me up. I looked
> at
> > the depcomp scripts that came with the hello-world-app-0.5.1 &
> maemopad-2.1.
> > These were identical, so I copied it and I seem to be in business.
>
> I'm not that familiar with autotools (I use just make & pkg-config
> myself). Where did you got the depcomp you were using earlier?
>
>
>        - Eero
>
> PS. Please put CC on the devel list, other developers might have
> a similar problem (and I haven't seen this mentioned earlier on
> the list), so it helps if they can find the answer with Google. :-)
>
>
> > Thank you very much!
> >
> > Bill
> >
> >
> > On Dec 14, 2007 6:25 AM, Eero Tamminen <eero.tamminen at nokia.com> wrote:
> >
> >> Hi,
> >>
> >> ext William Hope wrote:
> >>>  I'm having a problem getting the build tools properly configured.
> I've
> >> read
> >>> various online articles/books/docs and I have a start. The problem is
> >> that
> >>> it doesn't compile anything. Below is output & directory structure. I
> >> can't
> >>> really concentrate on developing until I can simplify builds.
> >>> I know it's not invoking the compiler as some of the files have
> errors.
> >> If I
> >>> compile by hand, then it doesn't 'attempt' to compile them.
> >>>
> >>> Can anyone help? Point me to a better place to ask?
> >> So calls like this don't produce .o files:
> >>> source='sio.cpp' object='sio.o' libtool=no \
> >>> depfile='.deps/sio.Po' tmpdepfile='.deps/sio.TPo' \
> >>> depmode=none /bin/sh ../config/depcomp \
> >>> g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c -o sio.o sio.cpp
> >> What if you call it with -v from the command line:
> >>   g++ -v -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c -o sio.o sio.cpp
> >>
> >>
> >>        - Eero
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20071217/277d9578/attachment.htm 
More information about the maemo-developers mailing list