Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

OpenCALEA

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical
[OpenCALEA] Re: Building Calea-lite in Debian Etch

  • From: Mario Antonio Garcia
  • Date: Fri Aug 08 10:39:08 2008

Pat,

Thanks for your prompt reply.

I am glad to see the OPenCalea project alive once more....

Regards,

Mario Antonio



Pat Pannuto wrote:
I've found the problem and I'm working on it - I missed the fact that that function requires glib 2.14; I should have a patch up before lunch.

Thanks for your help and good luck!

Pat

On Fri, Aug 8, 2008 at 10:18 AM, Mario Antonio Garcia <dino@webjogger.net> wrote:
Manish,

I am trying to compile calea-lite-0.1.1 , but so far no success.

Using Debian Etch (2.6.24-etchnhalf.1-686)

I am getting this error (See the entire output attached to this email):
gcc -ggdb -Wall -g -O2   -o tap -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpcap tap-tap.o -lglib-2.0
tap-tap.o: In function `start_tap':
/home/anandam/calea-lite-0.1.1/src/tap.c:406: undefined reference to `g_option_context_get_help'
collect2: ld returned 1 exit status
make[1]: *** [tap] Error 1

I am not sure if it has to do with the following Debian note:

"GLib2.0 for Debian
-------------------
Static libraries issue:
Right now glib2.0 provides some static libraries. If your application
uses g_module* functions or other libraries uses g_module* functions and
your application link it, Please don't statically link this libraries.
You may get some strange proglem between static-linked application and
dynamic-loaded modules, g_module* provides the feature for dynamically
loading some modules."


Any suggestions?

Regards,

Mario Antonio




root@calea:/home/anandam/calea-lite-0.1.1#make
Making all in src
make[1]: Entering directory `/home/anandam/calea-lite-0.1.1/src'
if gcc -DPACKAGE_NAME=\"calea-lite\" -DPACKAGE_TARNAME=\"calea-lite\" -DPACKAGE_VERSION=\"0.1.1\" -DPACKAGE_STRING=\"calea-lite\ 0.1.1\" -DPACKAGE_BUGREPORT=\"patrick.pannuto@gmail.com\" -DPACKAGE=\"calea-lite\" -DVERSION=\"0.1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_SOCKET=1 -I. -I.    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -ggdb -Wall -g -O2 -MT controller-controller.o -MD -MP -MF ".deps/controller-controller.Tpo" -c -o controller-controller.o `test -f 'controller.c' || echo './'`controller.c; \
       then mv -f ".deps/controller-controller.Tpo" ".deps/controller-controller.Po"; else rm -f ".deps/controller-controller.Tpo"; exit 1; fi
controller.c: In function âcontrolâ:
controller.c:931: warning: control reaches end of non-void function
controller.c: In function âinit_clientâ:
controller.c:687: warning: control reaches end of non-void function
controller.c: In function âclose_sockâ:
controller.c:626: warning: control reaches end of non-void function
controller.c: In function âbackground_update_clientâ:
controller.c:299: warning: control reaches end of non-void function
gcc -ggdb -Wall -g -O2   -o controller -pthread -lgthread-2.0 -lrt -lglib-2.0 controller-controller.o -lglib-2.0
if gcc -DPACKAGE_NAME=\"calea-lite\" -DPACKAGE_TARNAME=\"calea-lite\" -DPACKAGE_VERSION=\"0.1.1\" -DPACKAGE_STRING=\"calea-lite\ 0.1.1\" -DPACKAGE_BUGREPORT=\"patrick.pannuto@gmail.com\" -DPACKAGE=\"calea-lite\" -DVERSION=\"0.1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_SOCKET=1 -I. -I.    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -ggdb -Wall -g -O2 -MT tap-tap.o -MD -MP -MF ".deps/tap-tap.Tpo" -c -o tap-tap.o `test -f 'tap.c' || echo './'`tap.c; \
       then mv -f ".deps/tap-tap.Tpo" ".deps/tap-tap.Po"; else rm -f ".deps/tap-tap.Tpo"; exit 1; fi
tap.c: In function âstart_tapâ:
tap.c:406: warning: implicit declaration of function âg_option_context_get_helpâ
tap.c:406: warning: assignment makes pointer from integer without a cast
tap.c:465: warning: suggest parentheses around assignment used as truth value
tap.c:471: warning: suggest parentheses around assignment used as truth value
tap.c: In function âupdate_checkâ:
tap.c:279: warning: control reaches end of non-void function
tap.c: In function âcontrolâ:
tap.c:259: warning: control reaches end of non-void function
gcc -ggdb -Wall -g -O2   -o tap -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpcap tap-tap.o -lglib-2.0
tap-tap.o: In function `start_tap':
/home/anandam/calea-lite-0.1.1/src/tap.c:406: undefined reference to `g_option_context_get_help'
collect2: ld returned 1 exit status
make[1]: *** [tap] Error 1
make[1]: Leaving directory `/home/anandam/calea-lite-0.1.1/src'
make: *** [all-recursive] Error 1



--
Once the game is over, the King and the Pawn both go back into the same box
~ Italian Proverb




Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.