Error in a function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alberto Menchen
    New Member
    • Mar 2011
    • 1

    Error in a function

    Hi, I'm Alberto. I am trying to compile a program but I have an error that I don't know to solve. This program was built some years ago.
    Two mains problems, I think is in:
    doc/Makefile.am:24: `:='-style assignments are not

    There are other lines like this, but I think that if I know to solve this, I will know to do the others.

    And the other problem is with a specific function:
    Code:
    zclient.c: In function ‘zclient_start’:
    zclient.c:427: warning: implicit declaration of function ‘read_te_local_if’
    zclient.c:427: error: ‘lp’ undeclared (first use in this function)
    zclient.c:427: error: (Each undeclared identifier is reported only once
    zclient.c:427: error: for each function it appears in.)
    zclient.c:427: error: ‘ifp’ undeclared (first use in this function)
    zclient.c: In function ‘zclient_read’:
    zclient.c:1303: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘struct zclient *’
    make[2]: *** [zclient.lo] Error 1
    make[2]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make[1]: *** [install] Error 2
    make[1]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make: *** [install-recursive] Error 1
    Here, I have searching the function: read_te_local_i f. Because, I don't know where they have got it of?

    CODE...

    Code:
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    autoreconf2.50: configure.ac: tracing
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    autoreconf2.50: running: libtoolize --install --copy --force
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: serial numbers `2006.12.25.00' or `2009.04.28.21; # UTC' contain non-digit chars
    libtoolize: copying file `./install-sh'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    autoreconf2.50: running: /usr/bin/autoconf --force
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    autoreconf2.50: running: /usr/bin/autoheader --force
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    autoreconf2.50: running: automake --add-missing --copy --force-missing
    configure.ac:693: warning: AC_CACHE_VAL(zebra_rtread, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
    configure.ac:693: the top level
    configure.ac:788: warning: AC_CACHE_VAL(zebra_ipforward_path, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:788: the top level
    configure.ac:1418: warning: AC_CACHE_VAL(ac_statedir, ...): suspicious cache-id, must contain _cv_ to be cached
    configure.ac:1418: the top level
    doc/Makefile.am:24: `:='-style assignments are not portable
    doc/Makefile.am:25: `:='-style assignments are not portable
    doc/Makefile.am:26: `:='-style assignments are not portable
    doc/Makefile.am:27: `:='-style assignments are not portable
    doc/Makefile.am:28: `:='-style assignments are not portable
    doc/Makefile.am:54: `%'-style pattern rules are a GNU make extension
    doc/Makefile.am:57: `%'-style pattern rules are a GNU make extension
    doc/Makefile.am:60: `%'-style pattern rules are a GNU make extension
    g2rsvpted/Makefile.am:122: `CXXFLAGS' is a user variable, you should not override it;
    g2rsvpted/Makefile.am:122: use `AM_CXXFLAGS' instead.
    solaris/Makefile.am:11: `:='-style assignments are not portable
    solaris/Makefile.am:12: `:='-style assignments are not portable
    solaris/Makefile.am:13: `:='-style assignments are not portable
    solaris/Makefile.am:14: `:='-style assignments are not portable
    solaris/Makefile.am:15: `:='-style assignments are not portable
    solaris/Makefile.am:20: `:='-style assignments are not portable
    solaris/Makefile.am:48: `:='-style assignments are not portable
    solaris/Makefile.am:70: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:74: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:78: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:83: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:87: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:97: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:102: `%'-style pattern rules are a GNU make extension
    solaris/Makefile.am:111: `:='-style assignments are not portable
    solaris/Makefile.am:113: `:='-style assignments are not portable
    autoreconf2.50: Leaving directory `.'
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gawk... gawk
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for sed... sed
    checking whether we are using the Intel compiler... no
    checking whether to set a default CFLAGS... gcc default
    checking whether make sets $(MAKE)... (cached) yes
    checking for ar... ar
    checking for ranlib... ranlib
    checking if make is GNU make... yes
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for a sed that does not truncate output... sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... (cached) ar
    checking for strip... strip
    checking for ranlib... (cached) ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking if zebra should be configurable to send Route Advertisements... no
    checking for ANSI C header files... (cached) yes
    checking for string.h... (cached) yes
    checking stropts.h usability... yes
    checking stropts.h presence... yes
    checking for stropts.h... yes
    checking sys/conf.h usability... no
    checking sys/conf.h presence... no
    checking for sys/conf.h... no
    checking sys/ksym.h usability... no
    checking sys/ksym.h presence... no
    checking for sys/ksym.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/sysctl.h usability... yes
    checking sys/sysctl.h presence... yes
    checking for sys/sysctl.h... yes
    checking sys/sockio.h usability... no
    checking sys/sockio.h presence... no
    checking for sys/sockio.h... no
    checking for sys/types.h... (cached) yes
    checking linux/version.h usability... yes
    checking linux/version.h presence... yes
    checking for linux/version.h... yes
    checking kvm.h usability... no
    checking kvm.h presence... no
    checking for kvm.h... no
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking asm/types.h usability... yes
    checking asm/types.h presence... yes
    checking for asm/types.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking libutil.h usability... no
    checking libutil.h presence... no
    checking for libutil.h... no
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdint.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking netinet/in_systm.h usability... yes
    checking netinet/in_systm.h presence... yes
    checking for netinet/in_systm.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking net/if_dl.h usability... no
    checking net/if_dl.h presence... no
    checking for net/if_dl.h... no
    checking net/netopt.h usability... no
    checking net/netopt.h presence... no
    checking for net/netopt.h... no
    checking inet/nd.h usability... no
    checking inet/nd.h presence... no
    checking for inet/nd.h... no
    checking net/route.h usability... yes
    checking net/route.h presence... yes
    checking for net/route.h... yes
    checking net/if.h usability... yes
    checking net/if.h presence... yes
    checking for net/if.h... yes
    checking net/if_var.h usability... no
    checking net/if_var.h presence... no
    checking for net/if_var.h... no
    checking netinet/in_var.h usability... no
    checking netinet/in_var.h presence... no
    checking for netinet/in_var.h... no
    checking for an ANSI C-conforming const... yes
    checking return type of signal handlers... void
    checking for perl... /usr/bin/perl
    checking for tputs in -ltermcap... yes
    checking for main in -lreadline... yes
    checking readline/history.h usability... yes
    checking readline/history.h presence... yes
    checking for readline/history.h... yes
    checking for rl_completion_matches in -lreadline... yes
    checking whether byte ordering is bigendian... no
    checking for memset... yes
    checking for memcpy... yes
    checking for strerror... yes
    checking for inet_aton... yes
    checking for daemon... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for strlcat... no
    checking for strlcpy... no
    checking for if_nametoindex... yes
    checking for if_indextoname... yes
    checking for getifaddrs... yes
    checking for fcntl... yes
    checking for strnlen... yes
    checking for strndup... yes
    checking for setproctitle... no
    checking for setproctitle in -lutil... no
    checking zebra between kernel interface method... netlink
    checking for broken CMSG_FIRSTHDR... no
    checking route read method check... netlink
    checking interface looking up method... netlink
    checking for struct ip_mreqn.imr_ifindex... yes
    checking for BSD struct ip_mreq hack... no
    checking ipforward method check... proc
    checking for getaddrinfo... yes
    checking whether does this OS have IPv6 stack... disabled
    configure: WARNING:  *** Impossible to enable both gmpls and zebra option ... disabling zebra daemon compilation!!! ***
    checking for inet_ntop in -lc... yes
    checking for inet_pton in -lc... yes
    checking for crypt in -lcrypt... yes
    checking for res_init in -lresolv... no
    checking for main in -lm... yes
    checking for libssh2_session_init_ex in -lssh2... no
    configure: WARNING: No libssh2, skipping ssh2 module
    checking for __inet_ntop... no
    checking for __inet_pton... no
    checking for __inet_aton... no
    checking for regexec in -lc... yes
    checking whether struct sockaddr has a sa_len field... no
    checking whether struct sockaddr_in has a sin_len field... no
    checking whether struct sockaddr_un has a sun_len field... no
    checking whther socklen_t is defined... yes
    checking whether struct sockaddr_dl exist... no
    checking whether struct ifaliasreq exist... no
    checking whether struct in6_aliasreq exist... no
    checking whether in6_aliasreq.ifra_lifetime exist... no
    checking whether struct rt_addrinfo exist... no
    checking whether struct in_pktinfo exist... yes
    checking whether struct nd_opt_homeagent_info exist... no
    checking whether struct nd_opt_adv_interval exist... yes
    checking whether nd_opt_ai_type field exist... no
    checking whether getrusage is available... yes
    checking ucontext.h usability... yes
    checking ucontext.h presence... yes
    checking for ucontext.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking whether mallinfo is available... yes
    checking directory to use for state file... /home/alberto/Documentos/g2mpls_modules/../../build/var
    checking whether omniorb support has been disabled... no
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for OMNIORB... no
    checking for working htonl... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating zebra/Makefile
    config.status: creating scngwd/Makefile
    config.status: creating ripd/Makefile
    config.status: creating ripngd/Makefile
    config.status: creating bgpd/Makefile
    config.status: creating watchquagga/Makefile
    config.status: creating tnrcd/Makefile
    config.status: creating g2pcerad/Makefile
    config.status: creating nccd/Makefile
    config.status: creating g2rsvpted/Makefile
    config.status: creating gunigwd/Makefile
    config.status: creating hg2gwd/Makefile
    config.status: creating ospfd/Makefile
    config.status: creating ospf6d/Makefile
    config.status: creating ospfclient/Makefile
    config.status: creating isisd/Makefile
    config.status: creating isisd/topology/Makefile
    config.status: creating vtysh/Makefile
    config.status: creating doc/Makefile
    config.status: creating tests/Makefile
    config.status: creating monit/Makefile
    config.status: creating init.d/Makefile
    config.status: creating m4/Makefile
    config.status: creating redhat/Makefile
    config.status: creating redhat/quagga.spec
    config.status: creating xxxd/Makefile
    config.status: creating lrmd/Makefile
    config.status: creating pkgsrc/Makefile
    config.status: creating idl/Makefile
    config.status: creating lib/Makefile
    config.status: creating lib/version.h
    config.status: creating doc/defines.texi
    config.status: creating pkgsrc/bgpd.sh
    config.status: creating pkgsrc/ospf6d.sh
    config.status: creating pkgsrc/ospfd.sh
    config.status: creating pkgsrc/tnrcd.sh
    config.status: creating pkgsrc/g2pcerad.sh
    config.status: creating pkgsrc/nccd.sh
    config.status: creating pkgsrc/g2rsvpted.sh
    config.status: creating pkgsrc/gunigwd.sh
    config.status: creating pkgsrc/hg2gwd.sh
    config.status: creating pkgsrc/xxxd.sh
    config.status: creating pkgsrc/ripd.sh
    config.status: creating pkgsrc/ripngd.sh
    config.status: creating pkgsrc/zebra.sh
    config.status: creating pkgsrc/lrmd.sh
    config.status: creating solaris/Makefile
    config.status: creating vtysh/extract.pl
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing info-time commands
    
    phosphorus-g2mpls configuration
    ===============================================================================
    version                 : 0.1.0
    host operationg system  : linux-gnu
    source code location    : .
    compiler                : gcc
    compiler flags          : -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual
    includes                :  
    IDL location            : /home/alberto/Documentos/g2mpls_modules/../g2mpls_idl
    libg2mpls location      : /home/alberto/Documentos/g2mpls_modules/../g2mpls_common
    linker flags            :  -lm -lcrypt    -ltermcap -lreadline
    state file directory    : /home/alberto/Documentos/g2mpls_modules/../../build/var
    config file directory   : /home/alberto/Documentos/g2mpls_modules/../../build/etc
    example directory       : /home/alberto/Documentos/g2mpls_modules/../../build/etc
    user to run as          : root
    group to run as         : users
    group for vty sockets   : 
    config file mask        : 0600
    log file mask           : 0600
    
    G2MPLS configuration
    --------------------
    GMPLS                   : yes
    G2MPLS                  : yes
    omniIDL                 : no
    ===============================================================================
    
    The above user and group must have read/write access to the state file
    directory and to the config files in the config file directory.
    make  all-recursive
    make[1]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules'
    Making all in idl
    make[2]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    make[2]: No se hace nada para `all'.
    make[2]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    Making all in lib
    make[2]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make  all-am
    make[3]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/alberto/Documentos/g2mpls_modules/../../build/etc/\" -I. -I.. -I.. -I.. -I../lib -I/home/alberto/Documentos/g2mpls_modules/../g2mpls_common/src  -I../idl    -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT zclient.lo -MD -MP -MF .deps/zclient.Tpo -c -o zclient.lo zclient.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/alberto/Documentos/g2mpls_modules/../../build/etc/\" -I. -I.. -I.. -I.. -I../lib -I/home/alberto/Documentos/g2mpls_modules/../g2mpls_common/src -I../idl -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT zclient.lo -MD -MP -MF .deps/zclient.Tpo -c zclient.c  -fPIC -DPIC -o .libs/zclient.o
    zclient.c:26:20: error: lp_types: No existe el fichero ó directorio
    zclient.c: In function ‘zclient_start’:
    zclient.c:427: warning: implicit declaration of function ‘read_te_local_if’
    zclient.c:427: error: ‘lp’ undeclared (first use in this function)
    zclient.c:427: error: (Each undeclared identifier is reported only once
    zclient.c:427: error: for each function it appears in.)
    zclient.c:427: error: ‘ifp’ undeclared (first use in this function)
    zclient.c: In function ‘zclient_read’:
    zclient.c:1303: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘struct zclient *’
    make[3]: *** [zclient.lo] Error 1
    make[3]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make[2]: *** [all] Error 2
    make[2]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules'
    make: *** [all] Error 2
    ####################
    g2mpls_modules BUILT
    ####################
    #############################
    GOING TO INSTALL g2mpls_modules
    #############################
    Making install in idl
    make[1]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    make[2]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    make[2]: No se hace nada para `install-exec-am'.
    make[2]: No se hace nada para `install-data-am'.
    make[2]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    make[1]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/idl'
    Making install in lib
    make[1]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make  install-am
    make[2]: se ingresa al directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/alberto/Documentos/g2mpls_modules/../../build/etc/\" -I. -I.. -I.. -I.. -I../lib -I/home/alberto/Documentos/g2mpls_modules/../g2mpls_common/src  -I../idl    -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT zclient.lo -MD -MP -MF .deps/zclient.Tpo -c -o zclient.lo zclient.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/alberto/Documentos/g2mpls_modules/../../build/etc/\" -I. -I.. -I.. -I.. -I../lib -I/home/alberto/Documentos/g2mpls_modules/../g2mpls_common/src -I../idl -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT zclient.lo -MD -MP -MF .deps/zclient.Tpo -c zclient.c  -fPIC -DPIC -o .libs/zclient.o
    zclient.c:26:20: error: lp_types: No existe el fichero ó directorio
    zclient.c: In function ‘zclient_start’:
    zclient.c:427: warning: implicit declaration of function ‘read_te_local_if’
    zclient.c:427: error: ‘lp’ undeclared (first use in this function)
    zclient.c:427: error: (Each undeclared identifier is reported only once
    zclient.c:427: error: for each function it appears in.)
    zclient.c:427: error: ‘ifp’ undeclared (first use in this function)
    zclient.c: In function ‘zclient_read’:
    zclient.c:1303: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘struct zclient *’
    make[2]: *** [zclient.lo] Error 1
    make[2]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make[1]: *** [install] Error 2
    make[1]: se sale del directorio `/home/alberto/Documentos/g2mpls_modules/lib'
    make: *** [install-recursive] Error 1
    ########################
    g2mpls_modules INSTALLED
    ########################
    Last edited by Niheel; Mar 10 '11, 05:35 PM.
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    The syntax of the compiler error messages is filename:line number:error message. Take a look in each file at the specified line number.

    What do lines 22-25 of doc/Makefile.am look like?
    What kind of file is doc/Makefile.am?

    Comment

    Working...