Problems with extra libraries

Torsten Wolny torwo at torsten-wolny.de
Mon Sep 16 21:13:20 BST 2002


Hello,

I hope this is the correct list for my problem. If not, please correct me.

I want to write a little programm using posix threads. I started with a 
C/Terminal Application created by the kde application wizard. Then I go to 
the linker options and write "-lpthread" in the additional libraries field as 
described in the KDevelop user manual, section 9.4. After this I get a lot of 
messages (see below) when i compile the project. The programm starts but 
without any changes. It seems that it would not be recompiled. Running "make 
distclean; ./configure; make" manually in a shell works fine.
Is this a bug in KDevelop or what must i do to solve this problem?

By the way, I'm using KDevelop 2.1 with KDE 2.2.2

Hope for help,
Torsten


Messages from KDevelop:
<--- snip ---
Reading makefiles...
Reading makefile `/home/torwo/projects/programming/c/ctest1/Makefile'...
Updating makefiles....
 Considering target file `/home/torwo/projects/programming/c/ctest1/Makefile'.
  Looking for an implicit rule for 
`/home/torwo/projects/programming/c/ctest1/Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite 
`/home/torwo/projects/programming/c/ctest1/Makefile,v'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite 
`/home/torwo/projects/programming/c/ctest1/RCS/Makefile,v'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite 
`/home/torwo/projects/programming/c/ctest1/RCS/Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite 
`/home/torwo/projects/programming/c/ctest1/s.Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite 
`/home/torwo/projects/programming/c/ctest1/SCCS/s.Makefile'.
  No implicit rule found for 
`/home/torwo/projects/programming/c/ctest1/Makefile'.
  Finished prerequisites of target file 
`/home/torwo/projects/programming/c/ctest1/Makefile'.
 No need to remake target 
`/home/torwo/projects/programming/c/ctest1/Makefile'.
Updating goal targets....
Considering target file `all'.
 File `all' does not exist.
  Considering target file `docs-am'.
   Looking for an implicit rule for `docs-am'.
   Trying pattern rule with stem `docs-am'.
   Trying implicit prerequisite `docs-am,v'.
   Trying pattern rule with stem `docs-am'.
   Trying implicit prerequisite `RCS/docs-am,v'.
   Trying pattern rule with stem `docs-am'.
   Trying implicit prerequisite `RCS/docs-am'.
   Trying pattern rule with stem `docs-am'.
   Trying implicit prerequisite `s.docs-am'.
   Trying pattern rule with stem `docs-am'.
   Trying implicit prerequisite `SCCS/s.docs-am'.
   No implicit rule found for `docs-am'.
   Finished prerequisites of target file `docs-am'.
  No commands for `docs-am' and no prerequisites actually changed.
  No need to remake target `docs-am'.
  Considering target file `all-redirect'.
   File `all-redirect' does not exist.
    Considering target file `all-recursive-am'.
     File `all-recursive-am' does not exist.
      Considering target file `config.h'.
        Considering target file `stamp-h'.
          Considering target file `config.h.in'.
            Considering target file `stamp-h.in'.
              Considering target file `configure.in'.
                Considering target file `configure.in.in'.
                 Looking for an implicit rule for `configure.in.in'.
                 Trying pattern rule with stem `configure.in.in'.
                 Trying implicit prerequisite `configure.in.in,v'.
                 Trying pattern rule with stem `configure.in.in'.
                 Trying implicit prerequisite `RCS/configure.in.in,v'.
                 Trying pattern rule with stem `configure.in.in'.
                 Trying implicit prerequisite `RCS/configure.in.in'.
                 Trying pattern rule with stem `configure.in.in'.
                 Trying implicit prerequisite `s.configure.in.in'.

     <--- Here was more of this stuff --->
    
Successfully remade target file `all-am'.
make[2]: Leaving directory `/home/torwo/projects/programming/c/ctest1'
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08071e68 PID 21035 
Removing child 0x08071e68 PID 21035  from chain.
Successfully remade target file `all-recursive'.
make[1]: Leaving directory `/home/torwo/projects/programming/c/ctest1'
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x080760f0 PID 21034 
Removing child 0x080760f0 PID 21034  from chain.
    Successfully remade target file `all-recursive-am'.
   Finished prerequisites of target file `all-redirect'.
  Must remake target `all-redirect'.
  Successfully remade target file `all-redirect'.
 Finished prerequisites of target file `all'.
Must remake target `all'.
Successfully remade target file `all'.
*** Erfolg ***
*** Fehlercode: 0 ***

<---  end snip ----

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list