From: Ingvaldur Sigurjonsson <ingi@telia.com>
To: openembedded-devel@openembedded.org
Subject: Re: Problem with building connman
Date: Mon, 26 Jan 2009 02:18:57 +0100 [thread overview]
Message-ID: <glj38s$615$1@ger.gmane.org> (raw)
In-Reply-To: <8763k3czl7.fsf@news.piechotka.com.pl>
Maciej Piechotka wrote:
> If I try to build connman using bitbake + oembedded I get the following
> errors:
> then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
> In file included from main.c:37:
> connman.h:26:26: error: connman/dbus.h: No such file or directory
> connman.h:56:25: error: connman/log.h: No such file or directory
> connman.h:63:28: error: connman/plugin.h: No such file or directory
> connman.h:68:30: error: connman/security.h: No such file or directory
> In file included from main.c:37:
> connman.h:71: warning: 'enum connman_security_privilege' declared inside parameter list
> connman.h:71: warning: its scope is only this definition or declaration, which is probably not what you want
> connman.h:73:26: error: connman/ipv4.h: No such file or directory
> connman.h:75: warning: 'enum connman_ipv4_method' declared inside parameter list
> connman.h:78:30: error: connman/resolver.h: No such file or directory
> connman.h:85:29: error: connman/storage.h: No such file or directory
> connman.h:91: warning: 'struct connman_device' declared inside parameter list
> connman.h:92: warning: 'struct connman_device' declared inside parameter list
> connman.h:94: warning: 'struct connman_network' declared inside parameter list
> connman.h:95: warning: 'struct connman_network' declared inside parameter list
> connman.h:97:28: error: connman/driver.h: No such file or directory
> connman.h:99: warning: 'struct connman_driver' declared inside parameter list
> connman.h:101:29: error: connman/element.h: No such file or directory
> connman.h:109: warning: 'struct connman_element' declared inside parameter list
> connman.h:113: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:113: warning: 'struct connman_element' declared inside parameter list
> connman.h:116: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:116: warning: 'struct connman_element' declared inside parameter list
> connman.h:118: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:118: warning: 'struct connman_element' declared inside parameter list
> connman.h:120: warning: 'struct connman_element' declared inside parameter list
> connman.h:121: warning: 'struct connman_element' declared inside parameter list
> connman.h:123: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:125: warning: 'struct connman_element' declared inside parameter list
> connman.h:129: warning: 'struct connman_element' declared inside parameter list
> connman.h:156:28: error: connman/device.h: No such file or directory
> connman.h:161: warning: 'struct connman_device' declared inside parameter list
> connman.h:162: warning: 'struct connman_device' declared inside parameter list
> connman.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_device_has_driver'
> connman.h:166: error: expected ')' before 'flightmode'
> connman.h:168:29: error: connman/network.h: No such file or directory
> connman.h:174: warning: 'struct connman_device' declared inside parameter list
> connman.h:174: warning: 'struct connman_network' declared inside parameter list
> connman.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_network_has_driver'
> connman.h:178:26: error: connman/rtnl.h: No such file or directory
> main.c: In function 'main':
> main.c:136: error: 'CONNMAN_SERVICE' undeclared (first use in this function)
> main.c:136: error: (Each undeclared identifier is reported only once
> main.c:136: error: for each function it appears in.)
> make[2]: *** [main.o] Error 1
>
> What's wrong?
>
> Regards
I had this problem last week. The problem was that the include files
were symlinks that pointed to '/include/connman/dbus.h' etc and all
definitely wrong.
Just recreate all the symlinks manually i.e. cd into the
connman-directory and into the directory which has all the wrong
.-h-file symlinks (they should show up red) and enter the command:
> for f in *.h; do ln -fs ../$f $f; done
But only do that if all .h-file-symlinks are pointing to non-existing
files. Otherwise just fix them manually.
Regards
- I
next prev parent reply other threads:[~2009-01-26 22:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-25 12:57 Problem with building connman Maciej Piechotka
2009-01-25 16:59 ` Michael 'Mickey' Lauer
2009-01-26 10:16 ` Maciej Piechotka
2009-01-26 18:16 ` Michael 'Mickey' Lauer
2009-01-26 19:50 ` Maciej Piechotka
2009-01-26 1:18 ` Ingvaldur Sigurjonsson [this message]
2009-01-27 17:04 ` Maciej Piechotka
2009-01-27 20:14 ` Michael 'Mickey' Lauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='glj38s$615$1@ger.gmane.org' \
--to=ingi@telia.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.