Help to compile gnugk 2.2.1 with Fedora Core 3 or 4

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

 



Dear All
I have followed instructions from this post http://sourceforge.net/mailarchive/message.php?msg_id=11226356 to compile statically gnugk 2.2.1 without succeed.

I am using Fedora Core 3 (also trid FC4) and Pandora Realease of PWLIB and Openh323 or also the combinsation used in the post.

Can anyone help

Thanks and regards

Hubert


Description of errors message

/usr/lib/libpq.a(fe-auth.o)(.text+0x52):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:303: undefined reference to `krb5_cc_default'
/usr/lib/libpq.a(fe-auth.o)(.text+0x7c):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:313: undefined reference to `krb5_cc_get_principal'
/usr/lib/libpq.a(fe-auth.o)(.text+0xa6):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:325: undefined reference to `krb5_unparse_name' /usr/lib/libpq.a(fe-auth.o)(.text+0x102):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:297: undefined reference to `error_message'
/usr/lib/libpq.a(fe-auth.o)(.text+0x142):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:306: undefined reference to `error_message'
/usr/lib/libpq.a(fe-auth.o)(.text+0x17e):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:309: undefined reference to `krb5_free_context'
/usr/lib/libpq.a(fe-auth.o)(.text+0x190):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:317: undefined reference to `error_message'
/usr/lib/libpq.a(fe-auth.o)(.text+0x1d6):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:332: undefined reference to `krb5_cc_close'
/usr/lib/libpq.a(fe-auth.o)(.text+0x1e4):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:333 : undefined reference to `krb5_free_context'
/usr/lib/libpq.a(fe-auth.o)(.text+0x1f6):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:328: undefined reference to `error_message'
/usr/lib/libpq.a(fe-auth.o)(.text+0x23c):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:331: undefined reference to `krb5_free_principal'
/usr/lib/libpq.a(fe-auth.o)(.text+0x4d5): In function `fe_sendauth':
/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:382: undefined reference to `krb5_sname_to_principal'
/usr/lib/libpq.a(fe-auth.o)(.text+0x4e1):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:386: undefined reference to `error_message'
/usr/lib/libpq.a(fe-auth.o)(.text+0x59b):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:403: undefined reference to `krb5_free_principal'
/usr/lib/libpq.a(fe-auth.o)(.text+0x708):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:407: undefined reference to `krb5_sendauth'
/usr/lib/libpq.a(fe-auth.o)(.text+0x7a1):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:437: undefined reference to `krb5_free_error'
/usr/lib/libpq.a(fe-auth.o)(.text+0x7b6):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:442: undefined reference to `krb5_free_principal'
/usr/lib/libpq.a(fe-auth.o)(.text+0x83f):/usr/src/build/620065-i386/BUILD/postgresql-8.0.4/src/interfaces/libpq/fe-auth.c:432: undefined reference to `error_message'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x108): In function `sasl_gss_free_context_contents':
: undefined reference to `gss_delete_sec_context'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x128): In function `sasl_gss_free_context_contents':
: undefined reference to `gss_release_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x148): In function `sasl_gss_free_context_contents':
: undefined reference to `gss_release_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x168): In function `sasl_gss_free_context_contents':
: undefined reference to `gss_release_cred'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x188): In function `sasl_gss_free_context_contents':
: undefined reference to `gss_release_cred'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x5aa): In function `sasl_gss_seterror_':
: undefined reference to `gss_display_status'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x632): In function `sasl_gss_seterror_':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x6e7): In function `sasl_gss_seterror_':
: undefined reference to `gss_display_status'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x76f): In function `sasl_gss_seterror_':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x9b4): In function `gssapi_server_mech_step':
: undefined reference to `gss_unwrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xa58): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xb32): In function `gssapi_server_mech_step':
: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xb4a): In function `gssapi_server_mech_step':
: undefined reference to `gss_import_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xbbe): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_cred'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xc3d): In function `gssapi_server_mech_step':
: undefined reference to `gss_acquire_cred'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xcf9): In function `gssapi_server_mech_step':
: undefined reference to `gss_accept_sec_context'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xdb1): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xdfa): In function `gssapi_server_mech_step':
: undefined reference to `gss_display_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xe55): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0xf91): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x10b4): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1283): In function `gssapi_server_mech_step':
: undefined reference to `gss_wrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x13ea): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1533): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x15a7): In function `gssapi_server_mech_step':
: undefined reference to `gss_wrap_size_limit'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1622): In function `gssapi_server_mech_step':
: undefined reference to `GSS_C_NT_USER_NAME'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x163a): In function `gssapi_server_mech_step':
: undefined reference to `gss_import_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x16a0): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x16ff): In function `gssapi_server_mech_step':
: undefined reference to `gss_compare_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1771): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x17b0): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x17fa): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x18bd): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x191a): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x198f): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x19c6): In function `gssapi_server_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1ae9): In function `gssapi_decode_packet':
: undefined reference to `gss_unwrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1ba0): In function `gssapi_decode_packet':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1c06): In function `gssapi_decode_packet':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1c48): In function `gssapi_decode_packet':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1d42): In function `sasl_gss_encode':
: undefined reference to `gss_wrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1e3d): In function `sasl_gss_encode':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1e7f): In function `sasl_gss_encode':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x1ec4): In function `sasl_gss_encode':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x20ae): In function `gssapi_client_mech_step':
: undefined reference to `gss_init_sec_context'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2176): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2203): In function `gssapi_client_mech_step':
: undefined reference to `gss_unwrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2304): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x23f9): In function `gssapi_client_mech_step':
: undefined reference to `gss_wrap'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x24a6): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2694): In function `gssapi_client_mech_step':
: undefined reference to `gss_delete_sec_context'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x272a): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x27a7): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2818): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x28a8): In function `gssapi_client_mech_step':
: undefined reference to `gss_inquire_context'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2945): In function `gssapi_client_mech_step':
: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x295d): In function `gssapi_client_mech_step':
: undefined reference to `gss_import_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x29f6): In function `gssapi_client_mech_step':
: undefined reference to `gss_display_name'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2a4e): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2b09): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2bc7): In function `gssapi_client_mech_step':
: undefined reference to `gss_wrap_size_limit'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2cd2): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libsasl2.a(gssapi.o)(.text+0x2d8e): In function `gssapi_client_mech_step':
: undefined reference to `gss_release_buffer'
/usr/lib/libssl.a(kssl.o)(.text+0x12a): In function `populate_cksumlens':
: undefined reference to `valid_cksumtype'
/usr/lib/libssl.a(kssl.o)(.text+0x154): In function `populate_cksumlens':
: undefined reference to `krb5_checksum_size'
/usr/lib/libssl.a(kssl.o)(.text+0x18d): In function `populate_cksumlens':
: undefin ed reference to `krb5_checksum_size'
/usr/lib/libssl.a(kssl.o)(.text+0x7bb): In function `kssl_keytab_is_available':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x7e6): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_resolve'
/usr/lib/libssl.a(kssl.o)(.text+0x81a): In function `kssl_keytab_is_available':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x84a): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_get_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x872): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_close'
/usr/lib/libssl.a(kssl.o)(.text+0x888): In function `kssl_keytab_is_available':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x897): In function `kssl_keytab_is_available':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x8b0): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_free_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x8c4): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_default'
/usr/lib/libssl.a(kssl.o)(.text+0x8fd): In function `kssl_krb5_free_data_contents':
: undefined reference to `krb5_free_data_contents'
/usr/lib/libssl.a(kssl.o)(.text+0x928): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x943): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_initialize'
/usr/lib/libssl.a(kssl.o)(.text+0x969): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_get_lifespan'
/usr/lib/libssl.a(kssl.o)(.text+0x983): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_destroy'
/usr/lib/libssl.a(kssl.o)(.text+0x9af): In function `kssl_validate_times':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x9d2): In function `kssl_validate_times':
: undefined reference to `krb5_timeofday'
/usr/lib/libssl.a(kssl.o)(.text+0x9f0): In function `kssl_validate_times':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0xf2b): In function `kssl_cget_tkt':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0xf67): In function `kssl_cget_tkt':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xfc8): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xfe1): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xff7): In function `kssl_cget_tkt':
: undefined reference to `krb5_auth_con_free'
/usr/lib/libssl.a(kssl.o)(.text+0x1006): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x1025): In function `kssl_cget_tkt':
: undefined reference to `krb5_cc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1047): In function `kssl_cget_tkt':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1108): In function `kssl_cget_tkt':
: undefined reference to `krb5_get_credentials'
/usr/lib/libssl.a(kssl.o)(.text+0x1184): In function `kssl_cget_tkt':
: undefined reference to `krb5_mk_req_extended'
/usr/lib/libssl.a(kssl.o)(.text+0x1363): In function `kssl_tgt_is_available':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x137f): In function `kssl_tgt_is_available':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1395): In function `kssl_tgt_is_available':
: und efined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x13a4): In function `kssl_tgt_is_available':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x13dd): In function `kssl_tgt_is_available':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x13f3): In function `kssl_tgt_is_available':
: undefined reference to `krb5_cc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1414): In function `kssl_tgt_is_available':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1441): In function `kssl_tgt_is_available':
: undefined reference to `krb5_get_credentials'
/usr/lib/libssl.a(kssl.o)(.text+0x1649): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_free'
/usr/lib/libssl.a(kssl.o)(.text+0x1675): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_init'
/usr/lib/libssl.a(kssl.o)(.text+0x16ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_close'
/usr/lib/libssl.a(kssl.o)(.text+0x16c7): In function `kssl_sget_tkt':
: undefined reference to `krb5_free_ticket'
/usr/lib/libssl.a(kssl.o)(.text+0x16e0): In function `kssl_sget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x170c): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_getrcache'
/usr/lib/libssl.a(kssl.o)(.text+0x174c): In function `kssl_sget_tkt':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x177d): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_setrcache'
/usr/lib/libssl.a(kssl.o)(.text+0x17ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_resolve'
/usr/lib/libssl.a(kssl.o)(.text+0x18ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x18eb): In function `kssl_sget_tkt':
: undefined reference to `krb5_get_server_rcache'
/usr/lib/libssl.a(kssl.o)(.text+0x1918): In function `kssl_sget_tkt':
: undefined reference to `krb5_principal_compare'
/usr/lib/libssl.a(kssl.o)(.text+0x19e9): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1a49): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_get_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x1abf): In function `kssl_sget_tkt':
: undefined reference to `krb5_decrypt_tkt_part'
/usr/lib/libssl.a(kssl.o)(.text+0x1b09): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_free_entry'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [obj_linux_x86_r/gnugk] Erreur 1
make[1]: Leaving directory `/usr/src/gnugk-2.2.1'
make: *** [optnoshared] Erreur 2


Copy of Makefile for GnuGK

# Generated automatically from Makefile.in by configure.
# -*- mode: Makefile -*-
# Copyright (C) 2002 by its various Authors, see CVS-log
#
# PURPOSE OF THIS FILE: Make file for OpenH323 Gatekeeper
#
# - Automatic Version Information via RCS:
#   $Id: Makefile.in,v 1.10 2004/08/06 13:44:10 zvision Exp $
#   $Source: /cvsroot/openh323gk/openh323gk/Makefile.in,v $
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Pub lic License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

PROG     = gnugk
SOURCES     = main.cxx singleton.cxx job.cxx yasocket.cxx h323util.cxx \
           Toolkit.cxx SoftPBX.cxx GkStatus.cxx RasTbl.cxx          \
           Routing.cxx Neighbor.cxx GkClient.cxx gkauth.cxx         \
           RasSrv.cxx ProxyChannel.cxx gk.cxx version.cxx gkacct.cxx \
           gksql.cxx sqlauth.cxx gktimer.cxx sqlacct.cxx&nbs p; radproto.cxx radauth.cxx radacct.cxx gksql_mysql.cxx gksql_pgsql.cxx

HEADERS  = GkClient.h GkStatus.h Neighbor.h ProxyChannel.h RasPDU.h \
           RasSrv.h RasTbl.h Routing.h SoftPBX.h Toolkit.h factory.h \
           gk.h gk_const.h gkacct.h gkauth.h job.h name.h \
           radacct.h radauth.h radproto.h rasinfo.h rwlock.h singleton.h \
           slist.h stl_supp.h version.h yasocket.h gksql.h gktimer.h sqlacct.h configure Makefile

# colon, the empty variable and a single space are special characters to
# MAKE and may cause trouble. Let's 'quote' the little bastards by
# assigning it to a variable
colon:=:
comma:=,
empty:=
space:=$(empty) $(empty)

# remove half updated or corrupt f iles
.DELETE_ON_ERROR:

# setup various important paths
PWLIBDIR=/usr/src/pwlib
OPENH323DIR=/usr/src/openh323
OPENH323MAKEDIR=/usr/src/openh323
OPENSSLDIR=/usr/src/openssl-0.9.7e


ifndef TMP
  TMP=/tmp
endif

ifeq (0,1)
ifndef PREFIX
PREFIX=
endif
endif

CWD:=$(shell pwd)


# having an own idea about default targets. This leads to nicly
# maintainable binaries with proper library dependence, libraries may be
# replaced on the fly.
.PHONY: bothdepend bothshared gkdefault
.DEFAULT: gkdefault
gkdefault: bothdepend bothshared

# LD_RUN_LIST is the list form of the LD_RUN_PATH
LD_RUN_LIST := $(subst $(colon),$(space),$(LD_RUN_PATH))
LD_RUN_LIST += $(PWLIBDIR)/lib $(OPENH323DIR)/lib

# compiler/linker flags set by configure script
STDCCFLAGS +=    -DHAS_PGSQL=1  -I/usr/include/mysql -DHAS_MYS QL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1
LDFLAGS    += -L/usr/lib -L/usr/lib/mysql -static
ENDLDLIBS  += -lpq -lcrypt  -lmysqlclient  -lz
ENDLDFLAGS +=

STDCCFLAGS += -D'MANUFACTURER=GNU'
STDCCFLAGS += -D'PROGRAMMNAME=Gatekeeper'

# automatically include debugging code or not
ifdef PASN_NOPRINT
  STDCCFLAGS += -DPASN_NOPRINT
else
  STDCCFLAGS += -DPTRACING
endif

###
### Including the general make rules of OpenH323
###

include $(OPENH323MAKEDIR)/openh323u.mak

### Remove -fdata-sections gcc option that cause problems during link step
temp_STDCCFLAGS := $(subst -fdata-sections,,$(STDCCFLAGS))
STDCCFLAGS = $(temp_STDCCFLAGS)

# GK version infomation
STDCCFLAGS    += -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=1

# special dependency to ensure version.cxx is rebuilt each time gnug k is recompiled
# so the proper build timestamp is included
versionts.h: $(subst version.cxx,,$(SOURCES)) $(HEADERS) $(OH323_LIBDIR)/$(OH323_FILE) $(PW_LIBDIR)/$(PTLIB_FILE)
    @touch $@

# extra targets
addpasswd: $(OBJDIR)/addpasswd.o
    $(CXX) -o $(OBJDIR)/addpasswd $(CFLAGS) $(OBJDIR)/addpasswd.o $(LDFLAGS) -l$(PTLIB_BASE)$(LIB_TYPE) $(ENDLDLIBS) $(ENDLDFLAGS)

doc:    docs/manual.sgml
    cd docs; sgml2html manual.sgml; \
    which bg5sgml2html > /dev/null 2>&1 && \
    bg5sgml2html manual-zh.sgml || true

#
# By this command the build number may be incremented
#
.PHONY: increment

# Use this to increment the build number
increment:
    -@BN=1; \
        BNN=`expr "$$BN" + 1`; \
        echo "Upgrading from build $$BN to $$BNN"; \
        cp version.h $(TMP)/version.h; \
        sed -e 's/BUILD_NUMBER.*'"$$BN"'/BUILD_NUMBER '"$$BNN/" \
                $(TMP)/version.h > version.h; \
        rm -f $(TMP)/version.h; \
        echo "Rerunning configure utility"; \
        ./configure

# special configure dependencies
configure: configure.in
    autoconf

Makefile: Makefile.in config.status
    ./config.status

config.status: configure
    ./config.status --recheck







Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez le ici !

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux