Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10975 closed defect (invalid)

samba36 not build

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


samba36 not build

Linking non-shared library bin/libaddns.a
Compiling lib/netapi/netapi.c
Compiling lib/netapi/cm.c
Compiling librpc/gen_ndr/ndr_libnetapi.c
Compiling lib/netapi/libnetapi.c
Compiling lib/netapi/joindomain.c
lib/netapi/joindomain.c: In function 'NetRenameMachineInDomain_l':
lib/netapi/joindomain.c:555:2: error: expected expression before ')' token
The following command failed:
mipsel-openwrt-linux-gnu-gcc -Os -pipe -mips32 -mtune=mips32 -fno-caller-saves -fhonour-copts -msoft-float -DMAX_DEBUG_LEVEL= -D__location__=\ -ffunction-sections -fdata-sections -I. -I/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/source3 -I/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/source3/../lib/popt -I/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/source3/../lib/iniparser/src -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  -I/home/sysadmin/wl500/OpenWrt/SDK/staging_dir/target-mipsel_eglibc-2.14/usr/include -I/home/sysadmin/wl500/OpenWrt/SDK/staging_dir/target-mipsel_eglibc-2.14/include -I/home/sysadmin/wl500/OpenWrt/SDK/staging_dir/toolchain-mipsel_gcc-4.6.1_eglibc-2.14/usr/include -I/home/sysadmin/wl500/OpenWrt/SDK/staging_dir/toolchain-mipsel_gcc-4.6.1_eglibc-2.14/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/usr/local/include  -I/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -c lib/netapi/joindomain.c -o lib/netapi/joindomain.o
make[4]: *** [lib/netapi/joindomain.o] Error 1
make[4]: Leaving directory `/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/source3'
make[3]: *** [/home/sysadmin/wl500/OpenWrt/SDK/build_dir/target-mipsel_eglibc-2.14/samba-3.6.3/.built] Error 2
make[3]: Leaving directory `/home/sysadmin/wl500/OpenWrt/SDK/package/samba36'
make[2]: *** [package/samba36/compile] Error 2
make[2]: Leaving directory `/home/sysadmin/wl500/OpenWrt/SDK'
make[1]: *** [/home/sysadmin/wl500/OpenWrt/SDK/staging_dir/target-mipsel_eglibc-2.14/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/sysadmin/wl500/OpenWrt/SDK'
make: *** [world] Ошибка 2

Attachments (0)

Change History (7)

comment:1 Changed 6 years ago by anonymous

No problem on ar71xx/uclibc.

comment:2 Changed 6 years ago by anonymous

Problem brcm47/eglibc

comment:3 Changed 6 years ago by nbd

Just tried compiling it for brcm47xx with eglibc 2.14, also no problem here. Maybe this was fixed with a more recent commit. Feel free to reopen when you have some more info on how to reproduce this.

comment:4 Changed 6 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

comment:5 in reply to: ↑ description Changed 6 years ago by НКВД

  • Resolution worksforme deleted
  • Status changed from closed to reopened

This error occurs when CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL is not set (either at the .config file or at the command line). With this, MAX_DEBUG_LEVEL is passed empty (-DMAX_DEBUG_LEVEL= ) to the TARGET_CFLAGS string (see line 48 of samba36 package Makefile, instead of being set to a numeric value (according to samba36 package Makefile, the default value for CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL is -1).

comment:6 Changed 6 years ago by jow

  • Resolution set to invalid
  • Status changed from reopened to closed

Which is exactly why you're supposed to run "make defconfig" after svn up to auto-populate yet missing symbols, the buildroot even warns you about it.

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.