Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Build error: (2 Items)
   
Build error  
I am trying to build latest trunk, here is the error.
(I have properly set the QCONF_OVERRIDE)
/bin/rm -f  /qnx/src/fs/services/cifs/sh/le/fs-cifs
/qnx/qnx632/host/linux/x86/usr/bin/qcc -V4.2.3,gcc_ntosh -Wl,--no-keep-memory   -o/qnx/src/fs/services/cifs/sh/le/fs-
cifs    CIFS_NOSYS.o    buf.o    chap_ms.o    cifs_mount.o    crc32.o    inode.o    io_attr.o    io_close.o    io_devctl
.o    io_mknod.o    io_mmap.o    io_mount.o    io_open.o    io_openfd.o    io_pathconf.o    io_read.o    io_rename.o    
io_seek.o    io_space.o    io_stat.o    io_unblock.o    io_unlink.o    io_utime.o    io_write.o    iofunc_ocb.o    main.
o    md4c.o    misc.o    options.o    smb_chkdir.o    smb_close.o    smb_closedir.o    smb_connection.o    smb_mkdir.o  
  smb_open.o    smb_read.o    smb_readdir.o    smb_rename.o    smb_rmdir.o    smb_send.o    smb_stat.o    smb_stat2.o   
 smb_stat3.o    smb_statfs.o    smb_times.o    smb_unlink.o    smb_write.o    smbnt_getattr.o    smbnt_open.o    
smbnt_read.o    smbnt_seek.o    smbnt_setattr.o    smbnt_write.o  -L. -L/qnx/build/stage/shle/lib/gcc/4.2.3 -L/qnx/build
/stage/shle/lib -L/qnx/build/stage/shle/usr/lib -L/qnx/qnx632/target/qnx6/shle/lib/gcc/4.2.3 -L/qnx/qnx632/target/qnx6/
shle/lib -L/qnx/qnx632/target/qnx6/shle/usr/lib   -lsocket    -ldes   -EL
chap_ms.o: In function `DesEncrypt':
chap_ms.c:(.text+0x118): undefined reference to `des_set_odd_parity'
chap_ms.c:(.text+0x11c): undefined reference to `des_set_key'
chap_ms.c:(.text+0x120): undefined reference to `des_ecb_encrypt'
cc: /qnx/qnx632/host/linux/x86/usr/bin/ntosh-ld-2.18 error 1
make[4]: *** [/qnx/src/fs/services/cifs/sh/le/fs-cifs] Error 1
make[4]: Leaving directory `/qnx/src/fs/services/cifs/sh/le'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/qnx/src/fs/services/cifs/sh'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/qnx/src/fs/services/cifs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/qnx/src/fs/services'
make: *** [all] Error 2
make: Leaving directory `/qnx/src/fs'
Re: Build error  
> I am trying to build latest trunk, here is the error.
> (I have properly set the QCONF_OVERRIDE)
> /bin/rm -f  /qnx/src/fs/services/cifs/sh/le/fs-cifs
> /qnx/qnx632/host/linux/x86/usr/bin/qcc -V4.2.3,gcc_ntosh -Wl,--no-keep-memory 
>   -o/qnx/src/fs/services/cifs/sh/le/fs-cifs    CIFS_NOSYS.o    buf.o    
> chap_ms.o    cifs_mount.o    crc32.o    inode.o    io_attr.o    io_close.o    
> io_devctl.o    io_mknod.o    io_mmap.o    io_mount.o    io_open.o    io_openfd
> .o    io_pathconf.o    io_read.o    io_rename.o    io_seek.o    io_space.o    
> io_stat.o    io_unblock.o    io_unlink.o    io_utime.o    io_write.o    
> iofunc_ocb.o    main.o    md4c.o    misc.o    options.o    smb_chkdir.o    
> smb_close.o    smb_closedir.o    smb_connection.o    smb_mkdir.o    smb_open.o
>     smb_read.o    smb_readdir.o    smb_rename.o    smb_rmdir.o    smb_send.o  
>   smb_stat.o    smb_stat2.o    smb_stat3.o    smb_statfs.o    smb_times.o    
> smb_unlink.o    smb_write.o    smbnt_getattr.o    smbnt_open.o    smbnt_read.o
>     smbnt_seek.o    smbnt_setattr.o    smbnt_write.o  -L. -L/qnx/build/stage/
> shle/lib/gcc/4.2.3 -L/qnx/build/stage/shle/lib -L/qnx/build/stage/shle/usr/lib
>  -L/qnx/qnx632/target/qnx6/shle/lib/gcc/4.2.3 -L/qnx/qnx632/target/qnx6/shle/
> lib -L/qnx/qnx632/target/qnx6/shle/usr/lib   -lsocket    -ldes   -EL
> chap_ms.o: In function `DesEncrypt':
> chap_ms.c:(.text+0x118): undefined reference to `des_set_odd_parity'
> chap_ms.c:(.text+0x11c): undefined reference to `des_set_key'
> chap_ms.c:(.text+0x120): undefined reference to `des_ecb_encrypt'
> cc: /qnx/qnx632/host/linux/x86/usr/bin/ntosh-ld-2.18 error 1
> make[4]: *** [/qnx/src/fs/services/cifs/sh/le/fs-cifs] Error 1
> make[4]: Leaving directory `/qnx/src/fs/services/cifs/sh/le'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/qnx/src/fs/services/cifs/sh'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/qnx/src/fs/services/cifs'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/qnx/src/fs/services'
> make: *** [all] Error 2
> make: Leaving directory `/qnx/src/fs'


It built for me here, after building and installing libdes.a to the staging area.  You're staging area looks to be setup
 correctly, according to the command-line.  Is libdes.a present in /shle/lib within your staging area?

David