Dears .. going ahead with my test of installation:

the point number 3) is due to my suse 64bit .. it was not installet the clibgc 32 bit devel, so the libcrypt was missing in the /usr/lib so the -lcrypt was missing in the LIBS=

now i have a new error, i will name it
4) log:

gcc -I./inc -I./src -I../../include -std=gnu99 -DPACKAGE_VERSION=\"1.0\" -I/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/sysroot-host/include -I./include -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -Iinclude -Isrc -I../include -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -O2 -g -Werror -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/old-utils/libubigen.o ./src/libubigen.c -g -Wp,-MD,/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/old-utils/.libubigen.c.dep
cc1: warnings being treated as errors
./src/libubigen.c: In function 'ubigen_write_leb':
./src/libubigen.c:204:19: error: operation on 'u->v->copy_flag' may be undefined make[3]: *** [/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/old-utils/libubigen.o] Error 1 make[3]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/old-utils'
make[2]: *** [subdirs_old-utils_all] Error 2
rm /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubiattach.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubinfo.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubirsvol.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubirename.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubimkvol.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubiupdatevol.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/mtdinfo.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubidetach.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils/ubirmvol.o make[2]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ubi-utils'
make[1]: *** [subdirs_ubi-utils_all] Error 2
rm /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/nandwrite.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/docfdisk.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/mtd_debug.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_otp_dump.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/rfdformat.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/nftldump.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_unlock.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_lock.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_info.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flashcp.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/nftl_format.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/doc_loadbios.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_erase.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ftl_format.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/rfddump.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/nandtest.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/nanddump.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/ftl_check.o /home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1/flash_otp_info.o make[1]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/mtd-utils-1.3.1' make: *** [/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/state/host-mtd-utils.compile] Error 2





i think this is all due to the 64 bit instead of 32bit...









Dear Sir I downloaded the last version from phytec site
ftp://ftp.phytec.de/pub/Products/phyCORE-iMX27/Linux/

i'm trying to install it on a Suse linux distribution (opensuse 11.3 x86_64)
during installation process ("ptxdist go")I have some errors:

1)the archive /src/figlet222.tar.gz have some file/dir with only read attribute, so it cannot patch it. I can solve it opening the archive changing the attribute of the files , repack the archive.

2)the archive /src/iozone3_327.tar have some file/dir with only read attribute, so it cannot patch it. I can solve it opening the archive changing the attribute of the files , repack the archive.

3)error during "gcc -o wermit \" command.
i have some undefined reference back, following the putput from the console:

gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DHAVE_PTMX -DKTARGET=\"linuxnc\" -c ckcpro.c
gcc  -o wermit \
              ckcmai.o ckclib.o ckutio.o ckufio.o \
              ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
              ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
              ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
              ckuusx.o ckuusy.o ckuusr.o ckucns.o \
              ckudia.o ckuscr.o ckcnet.o ckusig.o \
              ckctel.o ckcuni.o ckupty.o ckcftp.o \
              ckuath.o ck_crp.o ck_ssl.o -lm
ckufio.o: In function `zvpass':
ckufio.c:(.text+0xb217): undefined reference to `crypt'
ckcnet.o: In function `locate_srv_dns':
ckcnet.c:(.text+0x3e52): undefined reference to `__res_search'
ckcnet.c:(.text+0x3ebc): undefined reference to `__dn_expand'
ckcnet.c:(.text+0x3f37): undefined reference to `__dn_expand'
ckcnet.c:(.text+0x403a): undefined reference to `__dn_expand'
ckcnet.o: In function `locate_txt_rr':
ckcnet.c:(.text+0xab40): undefined reference to `__res_search'
ckcnet.c:(.text+0xaba7): undefined reference to `__dn_expand'
ckcnet.c:(.text+0xabe4): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[3]: *** [xermit] Error 1
make[3]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/cku211'
make[2]: *** [linuxa] Error 2
make[2]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/cku211'
make[1]: *** [linuxnc] Error 2
make[1]: Leaving directory `/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/build-host/cku211' make: *** [/home/omar/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD10.1.1/platform-phyCORE-i.MX27/state/host-ckermit.compile] Error 2

I still working on it....
I hope you can help me to solve.

Thank
Best regards
Omar Pighi


--
Dott. Ing. Omar Pighi
R&D Selea s.r.l.
Via A.Moro 69
46015 Cicognara (MN)
ITALY
tel +39-0375-889091
fax +39-0375-889080
web:www.selea.com




--
Dott. Ing. Omar Pighi
R&D Selea s.r.l.
Via A.Moro 69
46015 Cicognara (MN)
ITALY
tel +39-0375-889091
fax +39-0375-889080
web:www.selea.com


--
ptxdist mailing list
[email protected]

Reply via email to