make
Bug #591261 reported by
kaixinbird
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenELEC.tv |
Fix Released
|
Medium
|
Stephan Raue |
Bug Description
/openELEC_
./../lib/
/openELEC_
collect2: ld returned 1 exit status
make[1]: *** [bin/smbd] Error 1
make[1]: Leaving directory `/openELEC_
make: *** [system] Error 2
Changed in openelec: | |
status: | New → Fix Committed |
To post a comment you must log in.
i Modify the samba build file in (packages/ network/ samba)
add the option
--without- acl-support \
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
if [ "$AVAHI_DAEMON" = yes ]; then "--enable- avahi" "--disable- avahi"
$SCRIPTS/build avahi
SMB_AVAHI=
else
SMB_AVAHI=
fi
# Fails to compile using the gold linker linker- plugin| |" -e "s|-fuse- ld=gold| |"` linker- plugin| |" -e "s|-fuse- ld=gold| |"` linker- plugin| |" -e "s|-fuse- ld=gold| |"`
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-fuse-
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-
# Fails to compile with GCC's link time optimization. linker- plugin| |"` linker- plugin| |"` linker- plugin| |" -e "s|-fwhole- program| |"`
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-
export samba_cv_ CC_NEGATIVE_ ENUM_VALUES= no
cd $PKG_BUILD/source3
-- build=$ HOST_NAME \
-- prefix= /usr \
-- localstatedir= /var \
-- sysconfdir= /etc \
-- with-configdir= /etc/samba \
-- with-privatedir =/var/run \
-- enable- shared \
-- disable- static \
-- enable- debug \
-- with-fhs \
-- enable- pie \
-- with-pthreads \
-- with-sqlite3 \
-- enable- relro \
-- disable- swat \
-- disable- cups \
$SMB_ AVAHI \
-- without- pam \
-- without- ads \
-- without- libtalloc \
-- without- libtdb \
-- without- libnetapi \
-- without- cifsmount \
-- without- ldap \
-- without- acl-support \
-- with-dnsupdate \
-- with-automount \
-- with-included- popt \
-- with-libsmbclie nt \
-- without- libsmbsharemode s \
-- without- quotas \
-- without- sys-quotas \
-- with-syslog \
./configure --host=$TARGET_NAME \
--with-winbind \
make bin/libsmbclient.so \
bin/smbd
mkdir -p $SYSROOT_ PREFIX/ usr/lib t.so* $SYSROOT_ PREFIX/ usr/lib
cp -PR bin/libsmbclien
mkdir -p $SYSROOT_ PREFIX/ usr/include libsmbclient. h $SYSROOT_ PREFIX/ usr/include
cp include/
mkdir -p $SYSROOT_ PREFIX/ usr/lib/ pkgconfig smbclient. pc $SYSROOT_ PREFIX/ usr/lib/ pkgconfig
cp pkgconfig/