This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_z230t_400wb_topspin327 [2019/08/19 13:14] miquel [Problemes amb la compilació dels programes AU] |
informatica:hp_z230t_400wb_topspin327 [2020/08/12 12:21] (current) miquel [ld: /usr/lib32/crti.o: unrecognized relocation (0x2b) in section `.init'] |
||
---|---|---|---|
Line 418: | Line 418: | ||
* libxi6 [i386] | * libxi6 [i386] | ||
- | < | + | <WRAP important> |
Els missatges " | Els missatges " | ||
</ | </ | ||
Line 513: | Line 513: | ||
Trio la segona opció i s'obre la finestra // | Trio la segona opció i s'obre la finestra // | ||
- | < | + | <WRAP todo> |
Comprovar els valors d' | Comprovar els valors d' | ||
</ | </ | ||
Line 542: | Line 542: | ||
==== Restriccions a l' | ==== Restriccions a l' | ||
- | < | + | <WRAP todo> |
Caldrà restringir l' | Caldrà restringir l' | ||
* < | * < | ||
Line 606: | Line 606: | ||
===== Adreces IP dels mòduls de la consola ===== | ===== Adreces IP dels mòduls de la consola ===== | ||
- | < | + | <WRAP important> |
Aquestes adreces només donen accés als mòduls de la consola si es visiten des de l' | Aquestes adreces només donen accés als mòduls de la consola si es visiten des de l' | ||
</ | </ | ||
Line 694: | Line 694: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== Java JAR Depdendencies ===== | ||
+ | |||
+ | Cal instal·lar el paquet | ||
+ | * default-jdk-headless | ||
+ | per tenir accés al programa '' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
===== Problemes amb la compilació dels programes AU ===== | ===== Problemes amb la compilació dels programes AU ===== | ||
+ | |||
+ | Primer error: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | < | ||
+ | # cd / | ||
+ | # nl -ba features.h | sed -n 300, | ||
+ | 301 | ||
+ | | ||
+ | | ||
+ | 304 # ifndef _SYS_CDEFS_H | ||
+ | | ||
+ | 306 # endif | ||
+ | 307 | ||
+ | | ||
+ | | ||
+ | 310 # if defined __USE_FILE_OFFSET64 && !defined __REDIRECT | ||
+ | |||
+ | # locate cdefs.h | ||
+ | / | ||
+ | / | ||
+ | |||
+ | # apt install libc6-dev: | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following additional packages will be installed: | ||
+ | linux-libc-dev: | ||
+ | Suggested packages: | ||
+ | glibc-doc: | ||
+ | The following NEW packages will be installed: | ||
+ | libc6-dev: | ||
+ | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 6,378 kB of archives. | ||
+ | After this operation, 39.5 MB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] | ||
+ | Get:1 http:// | ||
+ | [...] | ||
+ | Setting up libc6-dev: | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Configuració de LD_LIBRARY_PATH | ||
+ | |||
+ | Few hints: | ||
+ | |||
+ | Use the ldconfig command to show the dynamic linker/ | ||
+ | | ||
+ | |||
+ | The ldd paths are set in /// | ||
+ | |||
+ | If your libraries are not on standard path then either you need to add them to the path or add non-standard path to LD_LIBRARY_PATH | ||
+ | | ||
+ | Once you done any one of above things then you need to update the dynamic linker run-time binding by executing below command: | ||
+ | sudo ldconfig | ||
+ | |||
+ | Per més informació consultar: | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Undefined ' | ||
+ | |||
+ | FIXME aquesta secció cal moure-la a la pàgina correcta, però per ara la deixo aquí | ||
+ | |||
+ | For problems related to **undefined ' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | The fix is to insert an include definition for the // | ||
+ | |||
+ | <file c> | ||
+ | ... | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | / | ||
+ | * MCE - 20190817 | ||
+ | * | ||
+ | * Include " | ||
+ | | ||
+ | * | ||
+ | * For additional information read | ||
+ | * https:// | ||
+ | | ||
+ | |||
+ | #include < | ||
+ | |||
+ | #include < | ||
+ | #include < | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Algunes comandes útils: | ||
+ | |||
+ | < | ||
+ | # export XWINNMRHOME=/ | ||
+ | # cd $XWINNMRHOME/ | ||
+ | # ./makeau -help | ||
+ | # ./makeau -libraries ./ | ||
+ | # ./makeau -show ./ | ||
+ | # ./makeau -native -show ./ | ||
+ | </ | ||
+ | |||
+ | ==== ld: / | ||
+ | |||
+ | L' | ||
+ | |||
+ | < | ||
+ | # ./makeau -show ./ | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | collect2: error: ld returned 1 exit status | ||
+ | </ | ||
+ | |||
+ | que està causat per | ||
+ | |||
+ | < | ||
+ | using a older version of ld to link a library that had been built with a newer version | ||
+ | < | ||
+ | [[https:// | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | i la solució és | ||
+ | |||
+ | < | ||
+ | The fix is either to build the library that you want to link with a older version of the binutils suite, or to upgrade ld on the machine that wants to link that library. | ||
+ | < | ||
+ | [[https:// | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Per més informació consultar: | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | ==== Multiarchitecture cross-compilation ==== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | |||