Re: Howto change port used for 3g modem?



Dan,

I tried to rebuild mm from the SRPMS file in the fedora 14 repository only to find that it no longer builds.

Here are the last few lines:


................
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libqcdm/src -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -std=gnu89 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -c -o test_qcdm-test-qcdm-result.o `test -f 'test-qcdm-result.c' || echo './'`test-qcdm-result.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libqcdm/src -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -std=gnu89 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -c -o test_qcdm-test-qcdm.o `test -f 'test-qcdm.c' || echo './'`test-qcdm.c
cc1: warnings being treated as errors
test-qcdm.c: In function 'main':
test-qcdm.c:81:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:82:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:83:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:84:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:85:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:86:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:87:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:88:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:89:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:90:5: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:94:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:95:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:96:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:97:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:98:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:99:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:100:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:101:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:102:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:103:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:104:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:105:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)' test-qcdm.c:106:9: error: passing argument 5 of 'g_test_create_case' from incompatible pointer type /usr/include/glib-2.0/glib/gtestutils.h:167:12: note: expected 'GTestFixtureFunc' but argument is of type 'void (*)(void)'
make[3]: *** [test_qcdm-test-qcdm.o] Error 1
make[3]: Leaving directory `/home/yossi/rpmbuild/BUILD/ModemManager-0.4/libqcdm/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/yossi/rpmbuild/BUILD/ModemManager-0.4/libqcdm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yossi/rpmbuild/BUILD/ModemManager-0.4'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6FRoO2 (%build)


RPM build errors:
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.6FRoO2 (%build)
[yossi@travelmate rpmbuild]$


Perazim

________________________________________________________________________________
Portugalmail - O email preferido dos portugueses!
http://www.portugalmail.pt


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]