jump to navigation

¿Qué me falta para compilar? Y 2 enero 24, 2017

Posted by ximo88 in Linux, Programacion, programas, SOs/OSes.
add a comment

Web OS

3799ª Parte ¿Qué me falta para compilar? Y 2

simplemente buscar en el blog

Pues si, yo la verdad desde que uso internet no compilo mucho pues simplemente actualizo o mejor dicho se actualiza eso si con mi permiso, pero dicho está que es necesario saber la técnica del sastre pues a veces puede haber programas que nos interesen y no estén en la distro que usemos por lo que sea o que queramos probar un nuevo kernel o núcleo porque a lo mejor ahí hay unas controladoras o drivers que necesitemos para el équipo que usemos o simplemente porque si, porque esa es nuestra voluntad, sea como sea creo que no me dejo nada en el teclado. Al menos por ahora. 🙂 Ximo

¿Qué me falta para compilar? enero 17, 2017

Posted by ximo88 in Linux, Programacion, SOs/OSes.
add a comment

 

Web OS

3794ª Parte ¿Qué me falta para compilar?

compilador gcc tutorial

respuesta rápida

otra respuesta pero con base

y otra mas

varias mas

Si merece la pena o no compilar un programa, pues, es como vestir de sastre o de confección con el lujo de material que suele haber en la compra de cualquier equipo, mucha RAM, muchas GBs, mucha falta no hace, lo mismo lo del kernel o núcleo pero es como una tradición marinera al pasar por el ecuador, la línea claro. Y las tradiciones o ritos de paso siempre conllevan un aprendizaje que es necesario para llegar a la maestría.

Así que aclarado esto es ponerse en faena, al fin y al cabo se paga lo mismo al instalar una distro Linux u otro SO en que las herramientas básicas estén a mano, el problema viene al elegir la bola o .tar.gz u otro tar comprimido con cualquier método de compresión de los de ahora advierto que cualquier programa que pertenezca a un desktop (escritorio) o ambientador suele ser mas liososo porque aparte de lo básico, programas: gcc, make, cualquier variante de awk ….  y librerías básicas harán falta las librerías especificas del ambientador o desktop, en concreto para Gnome y/o XFCE4 las GTK 2 o 3 aparte de las librerías propias del Gnome o del XFCE4, en KDE4 lo mismo, QT y las propias de KDE4, enfin que habría que buscar algo mas neutro para aprender a compilar por ejemplo el XFE o el afterstep mejor el 1. Bueno es una sugerencia nada mas. 🙂 Ximo

Vídeos de compilar programas en GNU/Linux septiembre 7, 2010

Posted by ximo88 in API, IDE, Programacion, Linux, SOs/OSes.
1 comment so far

ayúdate leyendo y viendo y haciendo

Web OS

1899ª Parte Vídeos de compilar programas en GNU/Linux

vídeos

Si bien eso lo podéis hacer vosotros mismos, el buscar, vamos que no descubro nada nuevo lo bueno de esto es que os podéis entretener un montón viendo cosas que sin ser «gaciosas» tienen su gracia se entiende que ya habréis hecho vuestros pinitos en este tema y aquí podréis corroborar el porque a mi no me sale, normalmente es porque no habéis puesto las fuentes o ficheros de desarrollo ( los headers o ficheros cabezones normalmente por cada aplicación viene su desarrollo o fuente pues esta es la filosofía de Linux que aparte del binario vengan las fuentes que constituyen la aplicación y un motivo para comprar o pagar por las distros ) ya sean del núcleo o kernel o de las Xs, aparte de las fuentes del programa y las fuentes  de desarrollo del gestor o ambientador de la aplicación de turno (KDE,GNOME,XFCE si este fuera el caso) aparte de las otras librerías de imágenes como jpg, png, tiff, gif si es algo gráfico, ya sabéis hay programas solo de consola, aparte de las fuentes específicas del programa a compilar vamos todo eso son los llamados dependes o dependencias.

Haciendo un simple ldd a cualquier binario de una aplicación que tengáis que sea gráfico lo entenderéis mejor.

Aparte de lo anterior tenéis que tener instaladas las herramientas propias del compilar esto es el compilador gcc y complementos y el make normalmente al hacer el ./configure previo al make para hacer el programa os saldrá toda una lista de lo que tenéis o no para llegar con éxito a la compilación del programa es interesante hacer caso a las deficiencias e instalarlas antes de seguir con la compilación.

En cualquier distro que se precie es fácil conseguir los paquetes que hagan falta ya sea porque tengáis un cd/dvd a mano o por medio de internet y repito sin este paso previo es muy difícil que cualquier compilación os salga bien así que con esto y vuestro esfuerzo seguro que os lo pasáis pipa ¡Ya sabéis: El que algo quiere se lo tiene que hacer aquí ! 🙂 Ximo

Parecidos pero no iguales V octubre 28, 2019

Posted by ximo88 in Programacion, programas, SOs/OSes.
add a comment

Web OS

4387ª Parte Parecidos pero no iguales V

haiku

haiku

enlaces varios

vídeos varios

guía de instalación

BeOS

Zeta-BeOS

El problema con los SOs es el equipo donde se les va a hacer rular el problema es gordo si no se vende conjuntamente tanto el SO como el hardware si tenéis esto claro entenderéis la revolución que supuso el advenimiento del PC, este da mas libertad a los fabricantes de componentes, actualmente ejemplos de lo que digo son los MAC.  UNIX cayó en desgracia porque se vendía siempre con el equipo que lo sustentaba y eran bastantes caros y gordotes estos equipos.

Con la estructura del PC y que no lleven RISC cualquier SO se puede adaptar a esa estructura de la CPU normalmente serán INTEL o AMD de ahí han surgido toda una serie de adaptaciones de SOs : LINUX, BSDs, AROS, BeOS, DOS, Windows, MACOS X, etc. Aunque siempre existen problemas con las controladoras o drivers en los SOs que no sean Windows o MAC. Normalmente tardan mas en aparecer estos, si la gente se queja a lo mejor en LINUX de que tal cosa no funciona o no funciona como en Windows no veas en los otros, bueno ese es otro tema. Pero vamos se ha mejorado un montón en estos años.

BeOS fracasó porque no vendió sus equipos, los BOXES o cajas con BeOS preinstalado, tampoco Zeta con sus portátiles, esto es importante saberlo , estudiarlo tanto desde el punto de vista empresarial como informático, aun así y todo hay parecidos razonables o incluso los originales por ahí colgados lo que cada vez quedan menos repositorios de aplicaciones pero se pueden compilar sin problema, la verdad les tengo manía a la gente cómoda que si no hay paquetes hechos, fáciles de instalar o desinstalar desprecian un SO y después presumen de informáticos. 🙂 Ximo

 

Formas de llenar Fedora junio 25, 2019

Posted by ximo88 in Linux, programas, SOs/OSes.
add a comment

Web OS

4329ª Parte Formas de llenar Fedora

La mas fácil en  terminal y usando CLI y poniendo unos simples dnf search lo que sea y sudo dnf install lo que sea. Eso si no quieres usar lo de los grupos ya visto aquí que a lo mejor es lo mas cómodo aunque la verdad si solo quieres una cosa por ejemplo el Window Maker es un tanto pesado el instalar los otros escritorios pero en fin por probar.

Podemos usar la tienda llamada aquí gnome-software eso si ponemos la fedora 30 workstation con el gnome supongo que los otros sabores de fedora traen lo suyo también ahí curiosamente en esa tienda se usa FLATPAK que es el método de empaquetado que se usa en esta distribución en las de tipo Ubuntu esta SNAP tanto FLATPAK como SNAP son métodos de empaquetamiento paralelos a los habituales de RPM o DEB que vienen a incluir librerías y otras aplicaciones que consiguen hacer ir la app que queramos haciendola independiente de las librerias que tengamos en el sistema en un momento dado, hace años se compilaba ESTÁTICAMENTE mas que dinámicamente esto es se metían librerías en el resultado final de la aplicación vamos en su binario y estos eran gordísimos pero para el resultado que daban eran prácticos el problema es que entonces hablabamos de la RAM en megas y del disco duro en 2 GB y era el sumum del Universo informático.

Y en eso llego el compilar dinámicamente que es lo que hay ahora y viene a ser que cada cosa va a su sitio, binarios con binarios, librerias con librerias y configuraciones con configuraciones se puede poner SNAP en Fedora lo mismo que poner FLATPAK en Ubuntu pero el mercado es el mismo no hay especialidades de aplicaciones en un empaquetado u otro y es que son originales en todo. Ya sabéis la marca lo es todo. Y la competencia la madre de la ciencia. ¿O es la conveniencia?

DNFdragora es una aplicación de escritorio que nos puede mostrar tanto las aplicaciones que tengamos instaladas como las que podemos instalar ademas de ayudarnos a actualizar el Sistema Fedora de hecho es una pesada que se pone a buscarlas a su bola cuando usando terminal con un simple sudo dnf update y sudo dnf upgrade ya vamos listos en Debian/Ubuntu sería synaptic lo parecido a dnfdragora. Bueno mas o menos ya está la cosa hecha y dicha aunque se pueden poner otras cosas para liarla aun mas hay mas sistemas de empaquetado y todos defienden el suyo. Lo bueno de los sistemas en red es que puedes instalar y desinstalar a voluntad o necesidad. 🙂 Ximo

SCons un Make mejorado enero 14, 2019

Posted by ximo88 in Linux, Programacion, programas, SOs/OSes.
add a comment

Web OS

4222ª Parte SCons un Make mejorado

scons

scons

scons

vídeos varios

Una utilidad comparable al Make de toda la vida para construir software o programas o aplicaciones esto es a partir de las bolas o fuentes del programa que queramos compilar o construir en vez de usar autoconf y make usamos este SConf que viene a ser lo mismo pero en Python y nos proporciona además un análisis de dependencias esto es nos dirá que librerías complementarias nos harán falta por ejemplo para compilar el GIMP bien pero bien nos harán falta las librerías de imágenes, JPEG, GIF, PNG y cualquier otras previas a la compilación de este GIMP, GTK, PYTHON etc, etc, que habrá que instalar previamente. Hasta que una vez resueltas las dependencias previas podamos usar el SConf para obtener lo que queremos en este caso el programa GIMP, todas las librerías necesarias se encuentras en forma de bolas o tarballs fácilmente en sus repositorios respectivos. Simplemente buscamos por el nombre en cualquier buscador y nos llevará a ellas. Y lo mismo sucedería si usamos autoconf y make, las cosas se hacen paso a paso siempre. 🙂 Ximo

Eagle Mode enero 7, 2019

Posted by ximo88 in Linux, programas, SOs/OSes.
add a comment

Web OS

4217ª Parte Eagle Mode

eaglemode

eaglemode

eaglemode

eaglemode

Un explorador de ficheros que se encuentra mas o menos para todos los SOs en mayor o menor potencia, mejor usar en Linux y en MAC y BSDs intentar compilar, en pantalla grande debe ser una pasada este ojo de aguila. 🙂 Ximo

 

Verbiste noviembre 29, 2017

Posted by ximo88 in Idiomas, programas.
add a comment

Web OS

3983ª Parte Verbiste

verbiste

Aplicación para aprender a conjugar en francés y creo que en italiano también, además hay que compilarla  o eso creo así que mas diversión. 🙂 Ximo

Qucs noviembre 21, 2016

Posted by ximo88 in Linux, programas, SOs/OSes.
add a comment

Web OS

3759ª Parte Qucs

qucs

qucs

qucs

qucs

vídeos diversos

¿Qué sería de nosotros sin nuestros aparatejos electrónicos? Pues este programa puede ayudar en la enseñanza de creación de estos circuitos electrónicos, está disponible prácticamente para todos los SOs, aparte de los binarios hechos para los SOs mas importantes es de buen compilar y es fuente abierta. 🙂 Ximo

 

FreeTuxTV enero 13, 2016

Posted by ximo88 in Idiomas, Linux, programas, SOs/OSes, TV.
add a comment

Web OS

3569ª Parte FreeTuxTV

freetuxtv

downloads

Este programa está para Linux, BSDs y hay paquetes para todas las distros y SOs se basa en la WEB TV que quién dice TV es también Radio (todo online hace falta estar conectado para poder usarlo y mejor si se tiene una conexión rápida y potente) el problema es que hay muchos canales que están obsoletos porque no se actualizan, hay que ir probando, si os fijáis es como tener una parábolica que pilla todas las emisoras del mundo mundial, lo que no funciona calculo que es debido a que muchas emisoras han sacado sus propios apps y pasan de emitir enganches sin mas ni mas al menos en las mas famosas pero aun así hay una buena cantidad para poder seguir viviendo cualquier idioma esto es mantenerlo o al menos intentarlo por un rato, el gestor de emisoras: primer enlace es para buscar o añadir emisoras para todos que no está nada mal y lo de bajarlo por si queréis probar compilarlo. 🙂 Ximo

 

Lumina Desktop environment octubre 27, 2015

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3522ª Parte Lumina Desktop environment

lumina

lumina handbook

Pues un escritorio ligero para aquellos que no necesitan ir cargados por esos mundos escritoriales, en el caso de que vuestra distro no lo contemple aun, lo podeís compilar mesmamente para practicar. O podéis usar el PCBSD 10.2 🙂 Ximo

Existen mas aplicaciones de las que te piensas: Hoy asunder marzo 10, 2015

Posted by ximo88 in Linux, programas, SOs/OSes.
add a comment

Web OS

3340ª Parte Existen mas aplicaciones de las que te piensas : Hoy asunder

asunder

asunder

cdparanoia

Y yo te voy a dar la vara hasta que se me ocurra otra cosa para llenar los martes con linux, la semana pasada pese a mis ímprobos esfuerzos (el abrir el synaptic trae lo suyo) y poner una aplicación que por un lado es un escritillo de bash y de ahí pasar a una aplicación visual hecha en python para la misma obtuve poca respuesta del queridísimo público así que si no queréis caldo, pues ahora dos tazas. Esta aplicación que es un ripeador de cds, extrae la música o sonido de cds a diferentes formatos de audio siempre y cuando se tengan las librerías de códecs correspondientes, es una aplicación visual o frontend del programa paranoiacd que es lo mismo pero que funciona desde consola o term, la diferencia que aquí paranoiacd es un binario aunque algo visible su contenido haciendole un cat y que asunder es una aplicación GTK+ y que también es algo visible su contenido via cat. Lo podéis compilar todo pero a vuestra bola, el synaptic va de lujo o cualquier otro gestor de programas. 🙂 Ximo

Si yo lo hubiera sabido: Hoy el GIMP enero 27, 2015

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3303ª Parte Si yo lo hubiera sabido: Hoy el GIMP

gimp

gimp

Hazte un Wilbur o al menos inténtalo con lo que conseguirás si pones todas las librerías que necesita será tu obra cum laude en esto del compilar y sobre todo después úsalo que merece la pena. Está lleno de de como hacerlo y en todos los idiomas. 🙂 Ximo

Si yo lo hubiera sabido: Hoy, Clang (o como Apple mete el cazo en la fuente) enero 7, 2015

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3286ª Parte Si yo lo hubiera sabido: Hoy, Clang (o como Apple mete el cazo en la fuente)

clang

clang/LLVM

clang

clang

clang

PCBSD

FBSD

compilando con clang

Esto parece el sonido de un cencerro de un vaca lechera pero no, es algo serio que compromete el futuro de la fuente abierta u opensource pues sin herramientas como los compiladores libres y gratuitos estamos fritos, el problema viene cuando una multinacional como APPLE y otras meten la cuchara o mejor dicho el cazo en esto de elegir compilador por que unos tienen un tipo de licencia y otros no (hay que ser extremadamente leguleyo en la legislación USA para notar las diferencias), de hecho está claro que los BSDs van a la estela de APPLE y la putada del ZFS en FBSD (adiós a UFS y todo eso de la compatibilidad, ZFS-Fuse a mi no me funciona) y por consiguiente en PCBSD y el binomio de usar clang o make para compilar no es que los haga ser unos SOs muy interesantes para la normalidad de usuarios pero si que son muy válidos para aquellos que quieren aprender a hacer sus cosillas en esto de los SOs pues normalmente vienen de fábrica al menos pcbsd con todo lo necesario para ponerse a jugar montando cosas, unos simples enlaces de por ejemplo gcc48 o lo que sea a tu bin/ poniendo gcc y cosas así y a funcionar compilando con gcc o clangeando con clang. En linux también funciona y en otros SOs. Así que no os podéis escapar si tenéis el gusanillo. 🙂 Ximo

Si yo lo hubiera sabido: Hoy PysolFC diciembre 23, 2014

Posted by ximo88 in Juegos/Games, Linux, SOs/OSes.
add a comment

Web OS

3282ª Parte Si yo lo hubiera sabido: Hoy PysolFC

pysol

pysolfc

pysolfc

pysolfc

Este es fácil de compilar solo necesita python instalado lo pongo para que tengáis una alegría en estas fiestas señaladas en que me llenan de orgullo y satisfacción el champaña y el turrón. 🙂 Ximo

Si yo lo hubiera sabido: Hoy pero ¿dónde está el WMakerConf? diciembre 16, 2014

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3276ª Parte Si yo lo hubiera sabido: Hoy pero ¿dónde está el WMakerConf?

wmakerconf

wmakerconf

wmakerconf

Y en esta época vacacional nada mejor que seguir frustrandose un poco entre tanta alegría ajena, como seguro que no te toca la lotería (entre otras cosas porque no juegas a ella) seguimos con lo del compilar una de las cosas que faltan en la mayoría de las distros y es el estupendo selector de configuración del WindowMaker llamado WMakerConf pues cuando se instala el wmaker se instala WPrefs que nos sirve igual para configurar el wmaker pero aquí de lo que se trata es de llenar el disco duro con cosas que hacen lo mismo pero que tienen sus aquellos, esto es como el armario ropero que puede estar lleno o no por ejemplo de camisas o jerseys y vamos eligiendo es lo mismo que tener varios windows managers o gestores de ventanas, que tenemos el dia BlackBox pues a usarlo que si el dia con el ambientillo xubuntero pues lo mismo etc, etc, que para lo que nos cuestan.

Es lo mismo que ponerse el conky o el tkdesk en el uso diario de digamos WindowMaker el porqué pues porque podemos y porque con esas dos aplicaciones podemos completar un buen gestor de ventanas, con unos gadgets o datos gráficos que son chulos y darle un toque además con un gestor de ficheros en fin el que no se contenta con mucho o poco es que esto no es lo suyo. ¿Es esto lo tuyo?

Si es así la reglas o no dadas hasta ahora se cumplen también por aquí leer primero el README y el INSTALL de la bola que os tendréis que bajar del sitio y entonces y a partir de ahí hacer un ./configure –help para ver si se requieren flags especiales y a partir de ahí usar ./configure con ellos y seguir instrucciones sobre todo cuando se pare el ./configure (no tenemos porque tener todos los ingredientes a la primera) o incluso no tener éxito en la primera bola lo que nos interesa es el programa en si y la utilidad que nos reporte y lo último, último no tiene porque irnos. Siempre ponen mas bolas antiguas y a lo mejor las actualizaciones de lo último no tiene por que ser lo mejor. 🙂 Ximo

Si yo lo hubiera sabido: Hoy me cagüen el IceWM desde cero me salió cero patatero diciembre 9, 2014

Posted by ximo88 in API, IDE, Linux, Programacion, SOs/OSes.
add a comment

ximo@ximo-SN10E100:~/Descargas/icewm-1.3.8$ ./configure
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
checking for g++… g++
checking whether the C++ compiler works… yes
checking for C++ compiler default output file name… a.out
checking for suffix of executables...
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking whether the C++ compiler (g++) accepts no_rtti… yes
checking whether the C++ compiler (g++) accepts no_exceptions… yes
checking whether the C++ compiler (g++) accepts warn_xxx… yes
checking whether the C++ compiler (g++) accepts permissive… yes
checking for a BSD-compatible install… /usr/bin/install -c
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required

Web OS

3270ª Parte Si yo lo hubiera sabido: Hoy me cagüen el IceWM desde cero me salió cero patatero

compilar programas

compilar programas

Así que otra frustación mas, bueno en estos dos enlaces que están especializados en Ubuntu aunque se puede extender su saber a la Debian y sus derivadas y en general a todas las otras distros con la salvedad que hay que averiguar como se llama al paquete de desarrollo o paquetes, incluso aventuro que a otros SOs tipo BSDs también mucho de lo que hay se aplica incluso a todos los SOs que hagan uso del gcc o clang, mejor gcc para no liarla mas de lo que cabe.

Las bolas o tarballs están ya estandarizadas la diferencia entre .gz o bz2 es cuestión de almacenamiento en el servidor de donde las bajéis,  .bz2 pesan menos que .gz y por lo tanto bajan antes en condiciones normales.

El enlace en inglés es mas completo y dice mas cosas de un tirón en el enlace en español hay que buscar un poco mas pero viene a ser mas o menos lo mismo.

Siempre una vez abierta la bola hay que leerse el README y el INSTALL como entenderéis están en inglés pero es que todos los comandos están en inglés. Todas las bolas de última generación de hace unos años a esta parte van a piñón fijo esto es siempre hay que hacer un ./configure para saber que falta o que no, en el primer caso hay que ir poniendo lo que le hace falta para continuar la compilación y en el segundo si tenemos esa suerte pues ya solo faltará que hagamos el make y después el make install.

Normalmente  un ./ configure –help nos dará las opciones de configuración, yo esto os lo doy en concreto para Ubuntu y derivadas y en general otras distros o SOs pero tenéis que tener en cuenta que tanto las distros las otras como los otros SOs suelen tener el árbol de directorios de su padre y de su madre que quiere decir que siendo lo mismo van a parar a sitios diferentes los programas, normalmente se suele compilar aparte del binario, las librerías, la documentación, los iconos y lo que se considere por parte del desarrollador necesario para el buen funcionamiento del programa tanto en linux para tal distro o para la otra o para cualquier SO así que si hacéis caso a las instrucciones de arriba de los enlaces sacaréis algo en claro enseguida. Y con este complemento y sabiendo como es el árbol de directorios de dónde lo queráis instalar no tendréis problemas. Incluso podréis hacer paquetes para distribuir.

ximo@ximo-SN10E100:~/Descargas/icewm-1.3.8$ ./configure –help
`configure’ configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]… [VAR=VALUE]…

To assign environment variables (e.g., CC, CFLAGS…), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
-h, –help display this help and exit
–help=short display options specific to this package
–help=recursive display the short help of all the included packages
-V, –version display version information and exit
-q, –quiet, –silent do not print `checking …’ messages
–cache-file=FILE cache test results in FILE [disabled]
-C, –config-cache alias for `–cache-file=config.cache’
-n, –no-create do not create output files
–srcdir=DIR find the sources in DIR [configure dir or `..’]

Installation directories:
–prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
–exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install’ will install all the files in
`/usr/local/bin’, `/usr/local/lib’ etc. You can specify
an installation prefix other than `/usr/local’ using `–prefix’,
for instance `–prefix=$HOME’.

For better control, use the options below.

Fine tuning of the installation directories:
–bindir=DIR user executables [EPREFIX/bin]
–sbindir=DIR system admin executables [EPREFIX/sbin]
–libexecdir=DIR program executables [EPREFIX/libexec]
–sysconfdir=DIR read-only single-machine data [PREFIX/etc]
–sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
–localstatedir=DIR modifiable single-machine data [PREFIX/var]
–libdir=DIR object code libraries [EPREFIX/lib]
–includedir=DIR C header files [PREFIX/include]
–oldincludedir=DIR C header files for non-gcc [/usr/include]
–datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
–datadir=DIR read-only architecture-independent data [DATAROOTDIR]
–infodir=DIR info documentation [DATAROOTDIR/info]
–localedir=DIR locale-dependent data [DATAROOTDIR/locale]
–mandir=DIR man documentation [DATAROOTDIR/man]
–docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
–htmldir=DIR html documentation [DOCDIR]
–dvidir=DIR dvi documentation [DOCDIR]
–pdfdir=DIR pdf documentation [DOCDIR]
–psdir=DIR ps documentation [DOCDIR]

X features:
–x-includes=DIR X include files are in DIR
–x-libraries=DIR X library files are in DIR

System types:
–build=BUILD configure for building on BUILD [guessed]
–host=HOST cross-compile to build programs to run on HOST [BUILD]
–target=TARGET configure for building compilers for TARGET [HOST]

Optional Features:
–disable-option-checking ignore unrecognized –enable/–with options
–disable-FEATURE do not include FEATURE (same as –enable-FEATURE=no)
–enable-FEATURE[=ARG] include FEATURE [ARG=yes]
–enable-depend Automatic .h dependencies. Requires GNU make and gcc.
–enable-debug Use this option if you want to debug IceWM
–disable-i18n Disable internationalization
–disable-nls Disable internationalized message
–disable-sm Don’t support the X session managment protocol
–disable-shape Don’t use X shape extension
–disable-shaped-decorations
Disable transparent frame decoration (titlebar,
borders), requires X shape extension (experimental)
–disable-gradients Support gradients
–disable-xrandr Disable XRANDR extension support
–enable-corefonts Support X11 core fonts
–disable-xfreetype Don’t use XFreeType for text rendering.
Requires –enable-i18n.
–enable-guievents Enable GUI events (experimental)
–disable-xinerama Disable xinerama support
–disable-x86-asm Don’t use optimized x86 assembly code
–disable-prefs Disable configurable preferences
–disable-keyconf Disable configurable keybindings
–disable-menuconf Disable configurable menus
–disable-winoptions Disable configurable window options
–disable-taskbar Disable builtin taskbar
–disable-winmenu Disable the window list menu
–enable-lite Build lightweight version of IceWM
–enable-menus-gnome2 Display GNOME 2 menus

Optional Packages:
–with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
–without-PACKAGE do not use PACKAGE (same as –with-PACKAGE=no)
–with-x use the X Window System
–with-unicode-set=CODESET your iconv’s unicode set in machine endian encoding
(e.g. WCHAR_T, UCS-4-INTERNAL, UCS-4LE, UCS-4BE)
–with-icesound=interfaces
List of audio interfaces for icesound. Requires
support for GUI events. Default: OSS,Y,ESound
–with-esd-config=path Path to esd-config
–with-mkfontdir=path Path to mkfontdir
–with-kdedatadir=path KDE’s data directory (\$KDEDIR/share)
–with-libdir=path Default data directory (\$datadir/icewm)
–with-cfgdir=path System configuration directory (/etc/icewm)
–with-docdir=path Documentation directory (\$prefix/doc)

Some influential environment variables:
CXX C++ compiler command
CXXFLAGS C++ compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXXCPP C++ preprocessor
XMKMF Path to xmkmf, Makefile generator for X Window System

Use these variables to override the choices made by `configure’ or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.
ximo@ximo-SN10E100:~/Descargas/icewm-1.3.8$

Normalmente lo -I/…/../… indica donde están los ficheros includes o cabeceras o cabezones o de desarrollo son los ficheros .h necesarios para la compilación en Linux estos ficheros se encuentran en los paquetes -dev, en otros SOs suelen ponerse ambas cosas al instalar un paquete por ejemplo en FBSD o PCBSD pero hay que indicarlos con su PATH o camino correspondiente para que el compilador lo encuentre.

lo -L/…/…/… son las librerías necesarias para el funcionamieno del programa normalmente los PATH o caminos de los includes y de las librerías no coinciden por eso hay que conducir en el configure al compilador, normalmente en Linux y en ciertas distros con hacer ./configure ya estaría todo hecho y listo para usar el make. Salvo que nos falten programas básicos, autoconf, automake, el gcc vete a saber que tenéis puesto y que no, normalmente con synaptic al lado es fácil complementar y dar solución enseguida a cualquier compilación eso si no gustáis de usar la consola o term para instalar cosas. En otros casos seguir el camino de probar y probar que mas tarde o temprano suele salir.

En cuanto a especificaciones de como instalar por ejemplo AfterStep desde cero o cualquier otro window manager en esas páginas se suele poner mucho flag que son avisos o condiciones para el compilador si lo queréis hacer exactamente para vuestro equipo (procesador) o si lo queréis hacer para otros o mas general, pues todo se puede hacer indicándolo previamente al make e incluso después del ./configure en cuanto a usar clang o gcc pues ya sabéis cuando mas azúcar mas dulce o que el saber no ocupa lugar o que hay que aprender de tó para obtener mas o menos lo mismo. 🙂 Ximo

Si yo lo hubiera sabido: Hoy compilando IceWM diciembre 2, 2014

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3264ª Parte Si yo lo hubiera sabido: Hoy compilando IceWM

icewm

icewm

icewm desde cero

Si bien este gestor de ventanas está bastante extendido en todas las distros de Linux y SOs tipo Unix y probablemente en paquete sea más fácil tenerlo que compilandolo, vamos a rizar el rizo y aprovecharemos la página icewm desde cero para aprender a compilar algo que nos puede ser útil para entender que es eso de compilar y a la vez darnos una utilidad por si misma si no lo tenemos ya instalado que será el gestor de ventanas, si lo tenemos pues lo quitamos que para eso son los gestores de programas de las distros o SOs, en los enlaces previos tenéis la información necesaria y relativa a lo que vamos a tener y en el tercero el como lo vamos a obtener para nuestra máquina y a la semana que viene Window Maker desde cero.  Aunque si queréis ya podéis empezar. 🙂 Ximo

BSD Now noviembre 12, 2014

Posted by ximo88 in Idiomas, Radio, SOs/OSes.
add a comment

Web OS

3247ª Parte BSD Now

bsdnow

bsdnow in gpodder

Para aquellos que quieren sufrir con la Berkeley Software Distribution en todos sus derivados y algo mas pueden redondear sus conocimientos con estos podcasts no os hagáis muchas ilusiones aun no he encontrado (quizá por no buscarlo) un podcast decente de como compilar con clang. 🙂 Ximo

 

Una solución a haciendo y convirtiendo ver 3096 abril 24, 2014

Posted by ximo88 in Linux, SOs/OSes.
add a comment

Web OS

3103ª Parte Una solución a haciendo y convirtiendo ver 3096

Lo primero ir a la página de descargas de convertlit  y ahi nos bajamos la bola Convert LIT 1.8 source una vez bajada creamos una carpeta por ejemplo llamada clit en la que pondremos su contenido que son dos carpetas y un README lo leemos  y ahí encontraremos entre otras cosas que para hacerlo necesitamos hacer lo siguiente en linux y otros SOs pero aquí es explicación solo para Linux y en estas distros debianeras-ubunteras, aunque es fácil de hacer en cualquiera:

Build changes:

This package now requires «LIBTOMMATH» from math.libtomcrypt.org

To build under Linux:
cd lib
make
cd ../clit16
make

Abrimos el synaptic y comprobamos si tenemos la librería libtommath a lo mejor si pero no tendremos el cabezón, el cabezón son los headers necesarios o ficheros que se encuentran en los paquetes -dev de las distros para compilar así que lo instalamos y a continuación hacemos lo que nos dicen que es cd lib y make y mirar lo que sale.

ximo@ximo-SN10E100:~/Descargas$ cd clit/lib/
ximo@ximo-SN10E100:~/Descargas/clit/lib$ make
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litatom.o litatom.c
litatom.c: In function ‘lit_read_atoms’:
litatom.c:123:9: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign]
strncpy(s,p + 1, len);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/stdlib.h:24,
from litatom.c:24:
/usr/include/x86_64-linux-gnu/bits/string3.h:117:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
litatom.c:186:9: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign]
strncpy(s,p, len);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/stdlib.h:24,
from litatom.c:24:
/usr/include/x86_64-linux-gnu/bits/string3.h:117:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litdrm.o litdrm.c
litdrm.c: In function ‘lit_i_read_drm’:
litdrm.c:135:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) {
^
In file included from litdrm.c:25:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litdrm.c:135:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) {
^
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litdrm.c:135:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litdrm.c:135:5: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
In file included from litdrm.c:25:0:
/usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
litdrm.c: In function ‘lit_change_drm_level’:
litdrm.c:251:17: warning: pointer targets in passing argument 2 of ‘lit_i_encrypt_section’ differ in signedness [-Wpointer-sign]
&new_key[0]);
^
In file included from litdrm.c:28:0:
litinternal.h:52:5: note: expected ‘char *’ but argument is of type ‘U8 *’
int lit_i_encrypt_section(lit_file *,char *, U8 * new_key);
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litlib.o litlib.c
litlib.c: In function ‘lit_write_to_file’:
litlib.c:189:17: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign]
status = lit_get_file(litfile,&entry->name,&ptr,&nbytes);
^
In file included from litlib.c:26:0:
litlib.h:232:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize);
^
litlib.c: In function ‘lit_get_file’:
litlib.c:235:9: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign]
match = strncasecmp(&entry->name, name, entry->namelen);
^
In file included from litlib.c:25:0:
/usr/include/string.h:536:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^
litlib.c: In function ‘lit_remove_files’:
litlib.c:361:9: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign]
match = strncasecmp(&entry->name,prefix, strlen(prefix));
^
In file included from litlib.c:25:0:
/usr/include/string.h:536:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^
litlib.c: In function ‘lit_put_file’:
litlib.c:400:9: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign]
match = strncasecmp(&entry->name, name, entry->namelen);
^
In file included from litlib.c:25:0:
/usr/include/string.h:536:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^
litlib.c:429:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(&new->name, name);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/stdio.h:27,
from litlib.c:23:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected ‘char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litembiggen.o litembiggen.c
litembiggen.c: In function ‘lit_reconstitute_html’:
litembiggen.c:286:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\n’);
^
litembiggen.c:286:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:290:25: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:290:25: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:304:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘<‘);
^
litembiggen.c:304:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:340:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING(tag_name);
^
litembiggen.c:340:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:360:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:360:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:361:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘/’);
^
litembiggen.c:361:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:362:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘>’);
^
litembiggen.c:362:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:366:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘>’);
^
litembiggen.c:366:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:420:25: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\n’);
^
litembiggen.c:420:25: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:423:29: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:423:29: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:426:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘<‘);
^
litembiggen.c:426:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:427:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘/’);
^
litembiggen.c:427:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:428:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING(tag_name);
^
litembiggen.c:428:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:429:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘>’);
^
litembiggen.c:429:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:478:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:478:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:479:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING(numbuf);
^
litembiggen.c:479:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:488:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:488:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:489:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING((char *)tmp_map->name);
^
litembiggen.c:489:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:493:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘=’);
^
litembiggen.c:493:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:508:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\»‘);
^
litembiggen.c:508:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:513:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\»‘);
^
litembiggen.c:513:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:532:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING(numbuf);
^
litembiggen.c:532:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:547:21: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\»‘);
^
litembiggen.c:547:21: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:575:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_STRING(tag_name);
^
litembiggen.c:575:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:587:13: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘ ‘);
^
litembiggen.c:587:13: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:595:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘=’);
^
litembiggen.c:595:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:622:17: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign]
hash_ptr = strchr(href_value,’#’);
^
litembiggen.c:622:17: note: expected ‘const char *’ but argument is of type ‘U8 *’
litembiggen.c:622:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
hash_ptr = strchr(href_value,’#’);
^
litembiggen.c:624:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
new_href = lit_lookup_mapping(pManifest, href_value,
^
litembiggen.c:627:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
new_href = lit_lookup_mapping(pManifest, href_value,
^
litembiggen.c:629:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\»‘);
^
litembiggen.c:629:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:631:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
WRITE_STRING(new_href);
^
In file included from litembiggen.c:27:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litembiggen.c:633:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
WRITE_STRING(hash_ptr);
^
In file included from litembiggen.c:27:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litembiggen.c:637:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
WRITE_STRING(href_value);
^
In file included from litembiggen.c:27:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litembiggen.c:639:17: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
WRITE_CHAR(‘\»‘);
^
litembiggen.c:639:17: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c: In function ‘write_entity’:
litembiggen.c:690:9: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
status = htmlwrite(write_data,&ch, 1);
^
litembiggen.c:690:9: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:695:13: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
strlen(entities[found].name));
^
litembiggen.c:695:13: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:699:9: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
status = htmlwrite(write_data,&ch, 1);
^
litembiggen.c:699:9: note: expected ‘U8 *’ but argument is of type ‘char *’
litembiggen.c:712:9: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign]
return htmlwrite(write_data,ent_buffer,len);
^
litembiggen.c:712:9: note: expected ‘U8 *’ but argument is of type ‘char *’
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o littags.o littags.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litmetatags.o litmetatags.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litmanifest.o litmanifest.c
litmanifest.c: In function ‘lit_lookup_mapping’:
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(s, map->sInternal, size) == 0)
^
In file included from litmanifest.c:28:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(s, map->sInternal, size) == 0)
^
In file included from litmanifest.c:28:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(s, map->sInternal, size) == 0)
^
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litmanifest.c:242:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
litmanifest.c:242:13: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
In file included from litmanifest.c:28:0:
/usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
litmanifest.c:242:13: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
if (strncmp(s, map->sInternal, size) == 0)
^
In file included from litmanifest.c:28:0:
/usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
litmanifest.c:243:17: warning: pointer targets in return differ in signedness [-Wpointer-sign]
return map->sOriginal;
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litdirectory.o litdirectory.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litsections.o litsections.c
litsections.c: In function ‘lit_i_cache_section’:
litsections.c:191:17: warning: pointer targets in passing argument 2 of ‘decompress_section’ differ in signedness [-Wpointer-sign]
pContent, sizeContent, &ptr, &nbytes);
^
litsections.c:36:12: note: expected ‘char *’ but argument is of type ‘U8 *’
static int decompress_section(lit_file * litfile, char * section_name,
^
litsections.c: In function ‘decompress_section’:
litsections.c:332:5: warning: implicit declaration of function ‘LZXinit’ [-Wimplicit-function-declaration]
status = LZXinit(window_size);
^
litsections.c:402:17: warning: implicit declaration of function ‘LZXreset’ [-Wimplicit-function-declaration]
LZXreset();
^
litsections.c:403:17: warning: implicit declaration of function ‘LZXdecompress’ [-Wimplicit-function-declaration]
status = LZXdecompress(pContent + base, ptr+dst,
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litheaders.o litheaders.c
litheaders.c: In function ‘lit_i_read_headers’:
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) {
^
In file included from litheaders.c:28:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) {
^
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
litheaders.c:219:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
litheaders.c:219:5: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
In file included from litheaders.c:28:0:
/usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o litutil.o litutil.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o sha/mssha1.o sha/mssha1.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o des/des.o des/des.c
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o newlzx/lzxglue.o newlzx/lzxglue.c
newlzx/lzxglue.c: In function ‘glue_copy’:
newlzx/lzxglue.c:61:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
memcpy(dest, src, bytes);
^
newlzx/lzxglue.c:61:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
newlzx/lzxglue.c: In function ‘glue_read’:
newlzx/lzxglue.c:87:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy(buffer, (unsigned char *)mem->buffer+mem->current_bytes, bytes);
^
newlzx/lzxglue.c: In function ‘glue_write’:
newlzx/lzxglue.c:107:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy((unsigned char *)mem->buffer+mem->current_bytes, buffer, bytes);
^
cc -O3 -Wall -Ides -Isha -Inewlzx -I.   -c -o newlzx/lzxd.o newlzx/lzxd.c
newlzx/lzxd.c: In function ‘lzxd_init’:
newlzx/lzxd.c:362:21: warning: iteration 24u invokes undefined behavior [-Waggressive-loop-optimizations]
extra_bits[i+1] = j;
^
newlzx/lzxd.c:360:3: note: containing loop
for (i = 0, j = 0; i < 51; i += 2) {
^
rm -f openclit.a
ar rv openclit.a litatom.o litdrm.o litlib.o litembiggen.o littags.o litmetatags.o litmanifest.o litdirectory.o litsections.o litheaders.o litutil.o sha/mssha1.o des/des.o newlzx/lzxglue.o newlzx/lzxd.o
ar: creando openclit.a
a – litatom.o
a – litdrm.o
a – litlib.o
a – litembiggen.o
a – littags.o
a – litmetatags.o
a – litmanifest.o
a – litdirectory.o
a – litsections.o
a – litheaders.o
a – litutil.o
a – sha/mssha1.o
a – des/des.o
a – newlzx/lzxglue.o
a – newlzx/lzxd.o
ximo@ximo-SN10E100:~/Descargas/clit/lib$
==============================================

ximo@ximo-SN10E100:~/Descargas/clit/lib$ cd ../clit18/
ximo@ximo-SN10E100:~/Descargas/clit/clit18$ make
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o clit.o clit.c
clit.c: In function ‘main’:
clit.c:128:5: warning: format not a string literal and no format arguments [-Wformat-security]
printf(sTitle);
^
clit.c:130:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(sUsage);
^
clit.c:244:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
fprintf(stderr,»Malloc(%d) failed!\n», strlen(output) + 1);
^
clit.c: In function ‘lit_error’:
clit.c:369:29: warning: variable ‘w32err’ set but not used [-Wunused-but-set-variable]
unsigned long int w32err;
^
clit.c: In function ‘main’:
clit.c:122:16: warning: array subscript is above array bounds [-Warray-bounds]
dir_program[MAX_PATH] = »;
^
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o hexdump.o hexdump.c
hexdump.c: In function ‘hexdump’:
hexdump.c:37:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset( strbuffer, ‘ ‘, numBytesInString );
^
hexdump.c:37:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o drm5.o drm5.c
drm5.c: In function ‘get_next_key’:
drm5.c:116:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(dir_program, sKeysFile, NULL);
^
drm5.c:117:17: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign]
if (s) pFile = read_whole_file(s, &remaining);
^
drm5.c:44:6: note: expected ‘char *’ but argument is of type ‘U8 *’
U8 * read_whole_file(char * filename, int * size_ptr)
^
drm5.c:122:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(dir_lit_file, sKeysFile, NULL);
^
drm5.c:123:17: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign]
if (s) pFile = read_whole_file(s, &remaining);
^
drm5.c:44:6: note: expected ‘char *’ but argument is of type ‘U8 *’
U8 * read_whole_file(char * filename, int * size_ptr)
^
drm5.c:144:25: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(private_key_ptr, pKey);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from drm5.c:29:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
drm5.c:145:25: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(modulus_ptr, pModulus);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from drm5.c:29:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
drm5.c:168:13: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(modulus_ptr, pModulus);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from drm5.c:29:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
drm5.c:169:13: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(private_key_ptr, pKey);
^
In file included from /usr/include/features.h:371:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from drm5.c:29:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
drm5.c: In function ‘ms_base64_decode’:
drm5.c:185:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ocp = buff;
^
drm5.c: In function ‘drm5_handle_key’:
drm5.c:384:9: warning: pointer targets in passing argument 2 of ‘my_mp_to_unsigned_bin’ differ in signedness [-Wpointer-sign]
if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key));
^
drm5.c:295:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len)
^
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(pValidation,»MSReader»,8) != 0) {
^
In file included from drm5.c:32:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
if (strncmp(pValidation,»MSReader»,8) != 0) {
^
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
drm5.c:426:13: note: expected ‘const char *’ but argument is of type ‘U8 *’
drm5.c:426:13: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
In file included from drm5.c:32:0:
/usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o explode.o explode.c
explode.c: In function ‘create_file_path’:
explode.c:195:9: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sFiltered = strmerge(pathFile, NULL,NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:195:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sFiltered = strmerge(pathFile, NULL,NULL);
^
explode.c:197:9: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sDirname = strmerge(pathFile, NULL,NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:197:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sDirname = strmerge(pathFile, NULL,NULL);
^
explode.c:234:13: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign]
if ((utf8_strmatch(p,»..») == 2) ||
^
In file included from explode.c:30:0:
utils.h:41:5: note: expected ‘U8 *’ but argument is of type ‘char *’
int utf8_strmatch(U8 * s1, U8 * s2);
^
explode.c:235:17: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign]
(utf8_strmatch(p,».») == 1)) {
^
In file included from explode.c:30:0:
utils.h:41:5: note: expected ‘U8 *’ but argument is of type ‘char *’
int utf8_strmatch(U8 * s1, U8 * s2);
^
explode.c:245:13: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput,sDirname, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:245:13: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput,sDirname, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:245:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput,sDirname, NULL);
^
explode.c:257:13: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration]
status = mkdir(sTemp,0755);
^
explode.c:285:9: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput, sDirname, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:285:9: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput, sDirname, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:285:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sTemp = strmerge(pathOutput, sDirname, NULL);
^
explode.c:287:13: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
f = fopen(sTemp, «r»);
^
In file included from explode.c:24:0:
/usr/include/stdio.h:272:14: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
extern FILE *fopen (const char *__restrict __filename,
^
explode.c:290:17: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
f = fopen(sTemp,»w»);
^
In file included from explode.c:24:0:
/usr/include/stdio.h:272:14: note: expected ‘const char * __restrict__’ but argument is of type ‘U8 *’
extern FILE *fopen (const char *__restrict __filename,
^
explode.c: In function ‘create_placeholders’:
explode.c:364:6: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
bytes = strlen(p)+1;
^
In file included from explode.c:26:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
explode.c:385:9: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign]
p = create_file_path(pathOutput, slash);
^
explode.c:185:6: note: expected ‘U8 *’ but argument is of type ‘char *’
U8 * create_file_path(U8 * pathOutput, U8 * pathFile)
^
explode.c:390:13: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, dot, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:390:13: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, dot, NULL);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:390:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, dot, NULL);
^
explode.c:392:17: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign]
p = create_file_path(pathOutput, s);
^
explode.c:185:6: note: expected ‘U8 *’ but argument is of type ‘char *’
U8 * create_file_path(U8 * pathOutput, U8 * pathFile)
^
explode.c:398:21: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, int2string(-count), dot);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:398:21: warning: pointer targets in passing argument 3 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, int2string(-count), dot);
^
In file included from explode.c:30:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
explode.c:398:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(map->sInternal, int2string(-count), dot);
^
explode.c:400:25: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign]
p = create_file_path(pathOutput,s);
^
explode.c:185:6: note: expected ‘U8 *’ but argument is of type ‘char *’
U8 * create_file_path(U8 * pathOutput, U8 * pathFile)
^
explode.c: In function ‘write_htmlish_file’:
explode.c:502:17: warning: pointer targets in passing argument 1 of ‘make_relative_manifest’ differ in signedness [-Wpointer-sign]
pmanifest);
^
In file included from explode.c:29:0:
manifest.h:36:5: note: expected ‘U8 *’ but argument is of type ‘char *’
int make_relative_manifest(U8 * , manifest_type * , manifest_type * );
^
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o transmute.o transmute.c
transmute.c: In function ‘transmute_lit’:
transmute.c:53:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
drm_size = 2*(strlen(inscription)+1);
^
transmute.c:53:23: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
drm_size = 2*(strlen(inscription)+1);
^
transmute.c:59:9: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(drm_data, 0, drm_size);
^
transmute.c:59:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o display.o display.c
display.c: In function ‘display_lit’:
display.c:50:14: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
((entry->size) && (strcmp(&entry->name,»/») != 0)) )
^
display.c:52:17: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign]
err = lit_get_file(lit,&entry->name,&p,&real_size);
^
In file included from display.c:25:0:
../lib/litlib.h:232:5: note: expected ‘const char *’ but argument is of type ‘U8 *’
int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize);
^
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o utils.o utils.c
utils.c: In function ‘utf8_strlen’:
utils.c:100:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
bytes = strlen(p)+1;
^
In file included from utils.c:25:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
utils.c: In function ‘utf8_strmatch’:
utils.c:119:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
bytes1 = strlen(s1)+1;
^
In file included from utils.c:25:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
utils.c:120:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
bytes2 = strlen(s2)+1;
^
In file included from utils.c:25:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
utils.c: In function ‘utf8_start’:
utils.c:146:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
iter->bytes = strlen(string);
^
In file included from utils.c:25:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘U8 *’
extern size_t strlen (const char *__s)
^
cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o manifest.o manifest.c
manifest.c: In function ‘mapping_init’:
manifest.c:33:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(m, 0, sizeof(mapping_state));
^
manifest.c:33:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
manifest.c: In function ‘duplicate_manifest’:
manifest.c:75:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset(pDest, 0, sizeof(manifest_type));
^
manifest.c:94:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge((char *)mapSrc->sOriginal, NULL, NULL);
^
manifest.c:98:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge((char *)mapSrc->sInternal, NULL, NULL);
^
manifest.c:102:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge((char *)mapSrc->sType, NULL, NULL);
^
manifest.c: In function ‘make_relative_manifest’:
manifest.c:175:21: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(«../»,sRelative, NULL);
^
In file included from manifest.c:28:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
manifest.c:175:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(«../»,sRelative, NULL);
^
manifest.c:176:17: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
} else s = strmerge(«..\\»,sRelative, NULL);
^
In file included from manifest.c:28:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
manifest.c:176:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} else s = strmerge(«..\\»,sRelative, NULL);
^
manifest.c:182:13: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(sRelative,utf8_ptr(&iterYou),NULL);
^
In file included from manifest.c:28:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
manifest.c:182:13: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign]
s = strmerge(sRelative,utf8_ptr(&iterYou),NULL);
^
In file included from manifest.c:28:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
manifest.c:182:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = strmerge(sRelative,utf8_ptr(&iterYou),NULL);
^
manifest.c:185:13: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign]
sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL);
^
In file included from manifest.c:28:0:
utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 *’
char * strmerge(char * head, char * body, char * tail);
^
manifest.c:185:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL);
^
manifest.c:135:22: warning: variable ‘slashMe’ set but not used [-Wunused-but-set-variable]
U8 *slashMe, *slashYou, *sRelative, *s;
^
gcc -o clit clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a ../libtommath-0.30/libtommath.a
gcc: error: ../libtommath-0.30/libtommath.a: No existe el archivo o el directorio
make: *** [clit] Error 1
ximo@ximo-SN10E100:~/Descargas/clit/clit18$

Parece que no encuentra algo que es el archivo libtommath.a que se encuentra en la carpeta o espera encontrarlo en la carpeta /libtommath-0.30 que se encuentra fuera del directorio de trabajo donde nos encontramos que es en mi caso ximo@ximo-SN10E100:~/Descargas/clit/clit18$

Mi solución los .. indican que hay que salir a ximo@ximo-SN10E100:~/Descargas/clit y aquí una vez se está crear el directorio o carpeta /libtommath-0.30 y poner dentro el archivo que le falta para acabar de crearnos el binario clit.

Pues dicho y hecho :

ximo@ximo-SN10E100:~/Descargas/clit/clit18$ ..

ximo@ximo-SN10E100:~/Descargas/clit/mkdir libtommath-0.30

Una vez la tenemos creada vemos que tendremos 3 carpetas en la clit aparte del fichero README, las dos originales de la bola y esta que nos pide, ahora tenemos que buscar el fichero libtommath.a y ponerlo en esa carpeta para que podamos acabar de compilar sin problemas. La pregunta del millón ¿pero dónde está ese fichero? pues dónde están la librerías si hemos instalado los paquetes dev correspondientes lo encontraremos en  /usr/lib/libtommath.a y de ahí enlazaremos o lo copiaremos a esa carpeta (mejor usar el mc para hacerlo)

ln -s /usr/lib/libtommath.a /home/vosotros/vosotros/clit/libtommath-0.30

Por eso lo de usar el mc lo mismo para crear el directorio y para tantas otras cosas

Captura de pantalla - 240414 - 11:03:00

En Synaptic hay un botón que una vez señalado el paquete nos dice las propiedades en este caso los ficheros y dónde se encuentran así que mucho misterio no hay tampoco.

Bueno acabando la faena:

ximo@ximo-SN10E100:~/Descargas/clit/clit18$ make
gcc -o clit clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a ../libtommath-0.30/libtommath.a
ximo@ximo-SN10E100:~/Descargas/clit/clit18$ ls
clit COPYING drm5.o hexdump.o manifest.o utils.h
clit.c display.c explode.c Makefile transmute.c utils.o
clit.h display.o explode.o manifest.c transmute.o win32.mak
clit.o drm5.c hexdump.c manifest.h utils.c

Prueba superada 🙂 Ximo