[LAC-TF] Tunnel Broker: problem with msql-2.0.3

mramirez at inf.uach.cl mramirez at inf.uach.cl
Fri Jul 16 20:17:31 BRT 2004


hola a todos, mi nombre es manuel y soy nuevo en la lista.

La maquina en que se intenta compilar msql-2.0.3 es la siguiente:
**************************************************************************************************
Distribucion : Fedora Core1
Linux redes.ipv6.cl 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003
i686 GNU/Linux

model name      : Intel(R) Pentium(R) 4 CPU 1.80GHz
MemTotal:          482180 kB
SwapTotal:         594364 kB

gcc:            gcc32 (GCC) 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
                 libgcc - GCC version 3.3 shared support library

los logs son los siguientes:
 1. Primer paso descomprimir y realizar el make target para que msql
identifique el entorno


[root at redes msql-2.0.3]# make target


Making target directory for Linux-2.4.22-1.2115.nptl-i686

Building directory tree.
        Adding common
        Adding conf
        Adding lang-common
        Adding lite
        Adding makedepend
        Adding makegen
        Adding msql
        Adding regexp
        Adding tests
        Adding tests/rtest.src
        Adding w3-msql
        Adding w3-msql/tests

Adding sym-links
..................................................................................................................................................................

Build of target directory for Linux-2.4.22-1.2115.nptl-i686 complete

2. realizar el ./setup desde dentro del directorio
targets/Linux-2.4.22-1.2115.nptl-i686/

[root at redes Linux-2.4.22-1.2115.nptl-i686]# ./setup

Starting configuration of mSQL 2.

checking for gcc
checking for return type of signal handlers
checking for ranlib
checking for bison
checking for sysconf
checking for strdup
checking for rindex
checking for random
checking for bcopy
checking for getdtablesize
checking for strsignal
checking for ftruncate
checking for setrlimit
checking for madvise
checking for msync
checking for strncasecmp
checking for mktemp
checking for snprintf
checking for strptime
checking for strerror
checking for -lsocket
checking for -lnsl
checking for -lgen
checking for -lx
checking for -ldl
checking for sys/sockio.h
checking how to run the C preprocessor
checking for dlfcn.h
checking for sys/dir.h
checking for dirent.h
checking for netinet/in_systm.h
checking for select.h
checking for sys/select.h
checking for sys/un.h
checking for strings.h
checking for sys/timeb.h
creating config.status
creating site.mm
creating makegen/makegen.cf
creating common/config.h
common/config.h is unchanged

checking your directory stuff.  Using dirent.h and struct dirent
checking mmap().  Your mmap() is fine.
checking for sys_errlist.  You're fine.
checking for u_int.  You're fine.
checking for int32_t and friends.  You're fine.
checking for ssize_t.  You're fine.
checking for a working getrlimit.  You're fine.

Ready to build mSQL.



You may wish to check "site.mm" although the defaults should be
fine.  When you're ready, type  "make all" to build the software

3. El site.mm contiene lo siguiente:


[root at redes Linux-2.4.22-1.2115.nptl-i686]# cat site.mm
# Generated automatically from site.mm.in by configure.
#
# Site specific configuration
#


COMPILER= gcc
INST_DIR= /usr/local/Hughes
HAVE_DYNAMIC= -DHAVE_DYNAMIC
CC_ONLY_FLAGS=
LINK_ONLY_FLAGS=


#
# Things below here shouldn't need to be changed
#
CC= $(COMPILER) $(CC_ONLY_FLAGS)
LINK= $(COMPILER) $(LINK_ONLY_FLAGS)
CPP= gcc -E
RANLIB= ranlib

YACC= bison -y

SIGLIST=
DIRENT= -DHAVE_DIRENT_H -DHAVE_DIRENT
MMAP= -DHAVE_MMAP
U_INT= -DHAVE_U_INT
SSIZE_T= -DHAVE_SSIZE_T
BITTYPES= -DHAVE_BIT_TYPES
SYS_ERR= -DHAVE_SYS_ERRLIST
TARGET= Linux-2.4.22-1.2115.nptl-i686
WORKING_RLIMIT= -DHAVE_RLIMIT_NOFILE

# Extra libraries if required
EXTRA_LIB=  -lnsl -ldl

# Any other CFlags required
EXTRA_CFLAGS= -DHAVE_CONFIG_H $(SSIZE_T) $(U_INT) $(BITTYPES)

# Directory for pid file
PID_DIR=

CFLAGS= -O -I$(TOP)/ $(EXTRA_CFLAGS)
LDLIBS= -L$(TOP)/lib $(EXTRA_LIB)

4. Al compilar (make all), los errores son los siguientes:
--> [msql] directory
make[2]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'

Regenerating Makefile.
...............................................................................................................................................................
Done.
Done.
make[3]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
gcc  -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
 -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP  
-DINST_DIR='"/usr/local/Hughes"'
-DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c
libmsql.c
gcc  -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
 -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP  
-DINST_DIR='"/usr/local/Hughes"'
-DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c net.c
gcc  -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
 -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP  
-DINST_DIR='"/usr/local/Hughes"'
-DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c
config.c
config.c:74: error sintáctico antes de "__extension__"
config.c:74: `__len' no se declaró aquí (no en una función)
config.c:74: el elemento inicializador no es constante
config.c:74: error sintáctico antes de "if"
config.c:74: tipos en conflicto para `__retval'
config.c:74: declaración previa de `__retval'
config.c:74: warning: la definición de datos no tiene tipo o clase de
almacenamiento
config.c:74: error sintáctico antes del elemento '}'
make[3]: *** [config.o] Error 1
make[3]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
make[2]: *** [all] Error 2
make[2]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
<-- [msql] done

--> [lang-common] directory
make[2]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-common'

Regenerating Makefile.
......................................................................................
Done.
Done.
make[3]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-common'

bison -y -d parser.y
parser.y:235.9: syntax error, unexpected "|"
make[3]: *** [parser.c] Error 1
make[3]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-common'
make[2]: *** [all] Error 2
make[2]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-common'
<-- [lang-common] done

--> [w3-msql] directory
make[2]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msql'

Regenerating Makefile.
.........................................................................................
Done.
Done.
make[3]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msql'
make[3]: *** No hay ninguna regla para construir el objetivo
`../lang-common/y.tab.h', necesario para `mod_w3msql.o'.  Alto.
make[3]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msql'
make[2]: *** [all] Error 2
make[2]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msql'
<-- [w3-msql] done

--> [lite] directory
make[2]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'

Regenerating Makefile.
..........................................................
Done.
Done.
make[3]: Cambiando a directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
gcc  -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
-I../lang-common -DHAVE_DYNAMIC -c mod_lite.c
gcc  -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
  -c -o ../lang-common/mod_std.o ../lang-common/mod_std.c
../lang-common/mod_std.c:65: tipos en conflicto para `sys_errlist'
/usr/include/bits/sys_errlist.h:28: declaración previa de `sys_errlist'
make[3]: *** [../lang-common/mod_std.o] Error 1
make[3]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
make[2]: *** [all] Error 2
make[2]: Saliendo directorio
`/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
<-- [lite] done

Make of mSQL-2 complete.
You should now install mSQL-2 using make install

*********************************************************************************************************
Finalmente al realizar el make install los errores son los mismos por lo
que los binarios no se crean por lo que no se puede utilizar el TB, alguno
de ustedes sabe como puedo solucionar este problema.

cualquier sugerencia sera muy bien recibida.

saludos,
               :: manuel ::


On Thu, Jul 15, 2004 at 12:20:46PM -0400, Christian Lazo R. wrote:
> Vale...
> el problema puntual lo tengo con la instalacion de la version de la Bdatos.

tenes un log o que error te envia ?




>
> te lo agaradeceria.
>
> un saludo
>
> Christian
>
> ----- Original Message -----
> From: "JORDI PALET MARTINEZ" <jordi.palet at consulintel.es>
> To: <lactf at lac.ipv6tf.org>
> Sent: Thursday, July 15, 2004 12:01 PM
> Subject: Re: [LAC-TF] IPv6 news - weekly summary
>
>
> > Hola Christian,
> >
> > Se que ha habido mucha gente que ha implementado el de TILAB y no han
> tenido problemas, pero si quieres te puede poner en contacto con los
> desarrolladores para que les preguntes directamente.
> >
> > Saludos,
> > Jordi
> >
> > ----- Original Message -----
> > From: "Christian Lazo R." <clazo at inf.uach.cl>
> > To: <lactf at lac.ipv6tf.org>
> > Sent: Thursday, July 15, 2004 5:53 PM
> > Subject: Re: [LAC-TF] IPv6 news - weekly summary
> >
> >
> > > Amigos
> > > Alguno de ustedes tiene implementado un tunnel Broker?
> > > tengo problemas con la implementacionde TILAB, especificamente con la
> Base
> > > de datos. msql2.0.3
> > >
> > > alguine me puede ayudar?
> > >
> > > saludos
> > >
> > > Christian.
> > >
> > > ----- Original Message -----
> > > From: "JORDI PALET MARTINEZ" <jordi.palet at consulintel.es>
> > > To: "ipv6cluster List Member" <ipv6cluster at ist-ipv6.org>;
> > > <members at ipv6forum.com>; <tf-sc at ipv6tf.org>;
> <ipv6.tf at ipv6-taskforce.org>;
> > > <ipv6 at madridwireless.net>; <press.ipv6 at consulintel.es>;
> > > <foro at es.ipv6tf.org>; <lactf at lac.ipv6tf.org>
> > > Sent: Monday, July 12, 2004 10:42 AM
> > > Subject: [LAC-TF] IPv6 news - weekly summary
> > >
> > >
> > > > A model of Internet standards adoption: the case of IPv6
> > > >
> > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=629
> > > >
> > > > Your phone will be with you
 always
> > > >
> > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=630
> > > >
> > > > Indonesian IPv6 Conference
> > > >
> > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=628
> > > >
> > > > Foundry Double Winner
> > > >
> > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=631
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > **********************************
> > > > Madrid 2003 Global IPv6 Summit
> > > > Presentations and videos on line at:
> > > > http://www.ipv6-es.com
> > > >
> > > > This electronic message contains information which may be privileged
> or
> > > confidential. The information is intended to be for the use of the
> > > individual(s) named above. If you are not the intended recipient be
> aware
> > > that any disclosure, copying, distribution or use of the contents of
> this
> > > information, including attached files, is prohibited.
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > LACTF mailing list
> > > > LACTF at lac.ipv6tf.org
> > > > http://lacnic.net/mailman/listinfo/lactf
> > >
> > > _______________________________________________
> > > LACTF mailing list
> > > LACTF at lac.ipv6tf.org
> > > http://lacnic.net/mailman/listinfo/lactf
> > >
> >
> >
> > **********************************
> > Madrid 2003 Global IPv6 Summit
> > Presentations and videos on line at:
> > http://www.ipv6-es.com
> >
> > This electronic message contains information which may be privileged or
> confidential. The information is intended to be for the use of the
> individual(s) named above. If you are not the intended recipient be aware
> that any disclosure, copying, distribution or use of the contents of this
> information, including attached files, is prohibited.
> >
> >
> >
> > _______________________________________________
> > LACTF mailing list
> > LACTF at lac.ipv6tf.org
> > http://lacnic.net/mailman/listinfo/lactf
>
> _______________________________________________
> LACTF mailing list
> LACTF at lac.ipv6tf.org
> http://lacnic.net/mailman/listinfo/lactf
---end quoted text---

-- 



More information about the LACTF mailing list