elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía actualizada para evitar que un ransomware ataque tu empresa


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación C/C++ (Moderadores: Eternal Idol, Littlehorse, K-YreX)
| | |-+  Problema al compilar por makefile
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Problema al compilar por makefile  (Leído 1,820 veces)
t4r0x

Desconectado Desconectado

Mensajes: 92



Ver Perfil
Problema al compilar por makefile
« en: 15 Noviembre 2014, 17:24 pm »

Buenas alguien puede ayudarme, estoy intentando compilar la libreria UCL (http://www.oberhumer.com/opensource/ucl/)
en windows con Mingw, se supone que estas son las instrucciones pero no tengo mucha experiencia con archivos makefile

Código:
The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.



« Última modificación: 15 Noviembre 2014, 17:43 pm por t4r0x » En línea

NOIS

Desconectado Desconectado

Mensajes: 67


Ver Perfil
Re: Problema al compilar por makefile
« Respuesta #1 en: 16 Noviembre 2014, 10:09 am »

Si te salta el archivo Makefile al compilar lo más seguro es que, o bien tienes algun error en el código que no has detectado o bien el compilador que uses no puede utilizar UCL por alguna razón. Que falte linkear librerías compiladores anticuados o algo de ese estilo.

Antes de nada te recomendaría revisar el código con lupa, hay ciertos errores que no los detecta el compilador en el código y por eso salta el Makefile.


En línea

NOIS dev7
Miky Gonzalez

Desconectado Desconectado

Mensajes: 87

http://mikygonzalez.comule.com/blog/


Ver Perfil WWW
Re: Problema al compilar por makefile
« Respuesta #2 en: 16 Noviembre 2014, 15:06 pm »

Simplemente de diré sigue las instrucciones,  los paquetes de código fuente prearchivados suelen venir sin error y automáticos en la construcción del código. Si te falla la compilación revisa las dependencias.

Instrucciones (ejecutar en terminal):

1. ./configure
2. make
3. make install
En línea

Mi blog personal, con información acerca de programación, seguridad, desarrollo y electrónica:


EN CONSTRUCCIÓN
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
AYUDA- Could not create a makefile (dev)
Programación C/C++
alexis33de 0 3,324 Último mensaje 22 Diciembre 2010, 01:31 am
por alexis33de
Duda con Makefile [Solucionado]
Scripting
leogtz 5 4,270 Último mensaje 10 Agosto 2011, 08:59 am
por leogtz
Aprediendo a usar makefile
Programación C/C++
andrewmetal93 1 2,116 Último mensaje 10 Mayo 2012, 03:58 am
por x64core
Problema con makefile en C
Programación General
Kefren 2 2,153 Último mensaje 23 Junio 2013, 17:35 pm
por Kefren
Informacion sobre los makefile
GNU/Linux
dato000 0 1,332 Último mensaje 17 Julio 2013, 00:57 am
por dato000
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines