[#4461] Building kernel failed at smbmount.c

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4461] Building kernel failed at smbmount.c

Submitted By: Vivi Li

Open Date

2008-10-08 02:52:55     Close Date

2008-10-08 03:03:06

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

Sep 23 trunk toolchain

App binary format:

N/A     

Summary: Building kernel failed at smbmount.c

Details:

 

Building kernel failed with samba/smbmount/smbumount enabled. Bellow is the log and the config files are attached.

 

--

Compiling client/smbmount.c

Compiling client/smbmnt.c

In file included from /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/smb.h:14,

                 from /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/smb_fs.h:12,

                 from ../client/smbmount.c:26:

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/time.h:9: error: redefinition of ‘struct timespec’

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/time.h:15: error: redefinition of ‘struct timeval’

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/time.h:20: error: redefinition of ‘struct timezone’

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/time.h:42: error: redefinition of ‘struct itimerspec’

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/time.h:47: error: redefinition of ‘struct itimerval’

The following command failed:

bfin-uclinux-gcc -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/..  -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_SAMBA_BUILD_=3 -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../popt -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../iniparser/src -Iinclude -I../include  -I. -I.. -I../lib/replace -I../lib/talloc -I../tdb/include -I../libaddns -I../librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf537-0.2    -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../lib -D_SAMBA_BUILD_=3  -c ../client/smbmount.c -o client/smbmount.o

make[5]: *** [client/smbmount.o] Error 1

--

 

Follow-ups

 

--- Mike Frysinger                                           2008-10-08 03:03:06

dupe of [#4380]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.user    application/octet-stream    45549    Vivi Li

config.kernel    application/octet-stream    31195    Vivi Li

Attachments

Outcomes