Hi James,

> i have 2 questions I was hoping someone could answer for me concerning
> grabbing a git clone of connman and compiling it.
> 
> This is from pulling .18 tagged version of connman from the git repo.
> 
> 1.  Upon doing a ./bootstrap-configure
> 
> checking for IWMXSDK... no
> configure: error: Intel WiMAX SDK is required
> 
> I thought connman-iwmxsdk-0.9-1.10.moblin2.i586.rpm would have solved this
> but there is an install dependency for libiWmxSdk.so.0.
> 
> Can anyone tell me what packages I need to install to satisfy this and
> where to get them?  connman-iwmxsdk and WiMAX-Network-Service-devel do not
> seem to be the correct packages because they rely on libiWmxSdk.so.0 that
> I cannot find.

check out www.linuxwimax.org and follow the built instruction. If you
are running on Moblin, the should be a iwmxsdk-devel package somehwere.
I can't remember its correct name.

You need the devel package for the Intel WiMAX SDK.

That said, the iwmxsdk plugin for ConnMan that is upstream is useless
anyway right now. So just use

        ./bootstrap-configure --disable-iwmxsdk

The WiMAX plugin comes from connman-iwmxsdk package and I still have to
merge that one upstream. Just haven't gotten around it yet.

> 2.  Now taking the .18 connman git clone I try
> 
> ./bootstrap-configure minus the --enable-IntelWiMAX
> make
> 
> and the build breaks in the connman/doc directory:
> 
> .libs/connman-scan.o: In function `get_object_types':
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:19: undefined reference
> to `connman_network_get_type'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:20: undefined reference
> to `connman_device_get_type'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:28: undefined reference
> to `g_type_test_flags'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:29: undefined reference
> to `g_type_class_ref'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:30: undefined reference
> to `g_type_fundamental'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:31: undefined reference
> to `g_type_default_interface_ref'
> .libs/connman-scan.o: In function `main':
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:84: undefined reference
> to `g_type_init'
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:84: undefined reference
> to `g_type_class_ref'
> .libs/connman-scan.o: In function `compare_signals':
> /home/jpfreyen/Desktop/connman/doc/connman-scan.c:123: undefined reference
> to `g_signal_name'
> .
> .
> Is this expected behavior?  Is there a way to fix this?  I haven't figured
> out what is going on yet.

That happens for some reason on some distros. Still haven't debugged it
and I am pretty sure it is a distro bug. Just disable building of the
HTML docs:

        ./bootstrap-configure --disable-gtk-doc

So essentially if you wanna build ConnMan from the repository do this:

        ./bootstrap-configure --disable-iwmxsdk --disable-gtk-doc

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to