Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#48 make eror on Fedora Core 2 KDE 3.2.2

open
nobody
None
5
2004-07-27
2004-07-27
Anonymous
No

the make command reports the following:

make all-recursive
make[1]: Entering directory `/root/kbear-2.1'
Making all in kbear
make[2]: Entering directory `/root/kbear-2.1/kbear'
Making all in ftp
make[3]: Entering directory `/root/kbear-2.1/kbear/ftp'
/bin/sh ../../libtool --silent --mode=link --tag=CXX
g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -O2 -fno-exceptions
-fno-check-new -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib
-L/usr/lib -o kio_kbearftp.la.closure
kio_kbearftp_la_closure.lo -module -avoid-version
-module -no-undefined -R /usr/lib -R
/usr/lib/qt-3.3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib
-L/usr/lib/qt-3.3/lib -L/usr/lib -R /usr/lib -R
/usr/lib/qt-3.3/lib -R /usr/X11R6/lib kbearftp.lo
-lXext -lX11 -lkio -lqt-mt -lpng -lz -lm -lXext -lX11
-lSM -lICE -lpthread -lkdecore -lkdeui -lkio
/usr/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status
make[3]: *** [kio_kbearftp.la.closure] Error 1
make[3]: Leaving directory `/root/kbear-2.1/kbear/ftp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/kbear-2.1/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kbear-2.1'
make: *** [all] Error 2

plz help. thanks

Discussion

  • Logged In: NO

    libselinux has to be installed. It is provided in Fedora 2 so you
    can get it via (as root) :
    apt-get install libselinux

    You will certainly meet another problem : some variables
    (Spacer?) haven't been declared in some *.cpp files !!
    Developpers haven't compile the 2.1 release before !

     
  • Logged In: YES
    user_id=784332

    I have a similar error:

    Good - your configure finished. Start make now

    vasudevan@yos kbear-2.1 $ make
    make all-recursive
    make[1]: Entering directory `/home/vasudevan/kbear-2.1'
    Making all in kbear
    make[2]: Entering directory `/home/vasudevan/kbear-2.1/kbear'
    Making all in ftp
    make[3]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/ftp'
    if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
    g++ -DHAVE_CONFIG_H -I. -I. -I../..-I/usr/lib/qt-3.3/include
    -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
    -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
    -O2 -fno-exceptions -fno-check-new -MT kbearftp.lo -MD -MP
    -MF ".deps/kbearftp.Tpo" \ -c -o kbearftp.lo `test -f 'kbearftp.cpp' || echo
    './'`kbearftp.cpp; \ then mv -f ".deps/kbearftp.Tpo" ".deps/kbearftp.Plo"; \ else rm -f ".deps/kbearftp.Tpo"; exit 1; \ fi
    cc1plus: warning: command line option "-Wmissing-prototypes"
    is valid for C/ObjC but not for C++
    kbearftp.cpp:600:2: warning: #warning is a GCC extension
    kbearftp.cpp:600:2: warning: #warning response from firewall
    needs testing
    kbearftp.cpp: In member function `bool
    KBearFtp::ftpOpenDataConnection()':
    kbearftp.cpp:1176: warning: 'disableEPSV' might be used
    uninitialized in this function
    cc1plus: warning: command line option "-Wmissing-prototypes"
    is valid for C/ObjC but not for C++
    /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
    -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
    -O2 -fno-exceptions -fno-check-new -L/usr/X11R6/lib
    -L/usr/lib/qt-3.3/lib -L/usr/lib -o kio_kbearftp.la.closure
    kio_kbearftp_la_closure.lo-module -avoid-version -module
    -no-undefined -R /usr/lib -R /usr/lib/qt-3.3/lib -R
    /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib
    -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.3/lib -R
    /usr/X11R6/lib kbearftp.lo -lXext -lX11 -lkio -lqt-mt -lpng
    -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui
    -lkio
    /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
    -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
    -O2 -fno-exceptions -fno-check-new -L/usr/X11R6/lib
    -L/usr/lib/qt-3.3/lib -L/usr/lib -o kio_kbearftp.la -rpath
    /usr/lib/kde3 -module -avoid-version -module -no-undefined
    -R /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib
    -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib -L/usr/lib -R
    /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib
    kbearftp.lo -lXext -lX11 -lkio -lqt-mt -lpng -lz -lm -lXext
    -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio
    make[3]: Leaving directory `/home/vasudevan/kbear-2.1/kbear/ftp'
    Making all in qextmdi
    make[3]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    Making all in pics
    make[4]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[4]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    /usr/lib/qt-3.3/bin/moc ./qextmditaskbar.h -o qextmditaskbar.moc
    if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
    g++ -DHAVE_CONFIG_H -I. -I. -I../..-I/usr/lib/qt-3.3/include
    -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
    -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
    -O2 -fno-exceptions -fno-check-new -MT qextmditaskbar.lo
    -MD -MP -MF ".deps/qextmditaskbar.Tpo" \ -c -o qextmditaskbar.lo `test -f 'qextmditaskbar.cpp' ||
    echo './'`qextmditaskbar.cpp; \ then mv -f ".deps/qextmditaskbar.Tpo"
    ".deps/qextmditaskbar.Plo"; \ else rm -f ".deps/qextmditaskbar.Tpo"; exit 1; \ fi
    cc1plus: warning: command line option "-Wmissing-prototypes"
    is valid for C/ObjC but not for C++
    In file included from qextmditaskbar.h:44,
    from qextmditaskbar.cpp:28:
    qextmdidefines.h:91: error: extra `;'
    make[4]: *** [qextmditaskbar.lo] Error 1
    make[4]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/vasudevan/kbear-2.1/kbear'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/vasudevan/kbear-2.1'
    make: *** [all] Error 2
    vasudevan@yos kbear-2.1 $ su
    Password:
    root@yos kbear-2.1 # make install
    Making install in kbear
    make[1]: Entering directory `/home/vasudevan/kbear-2.1/kbear'
    Making install in ftp
    make[2]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/ftp'
    make[3]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/ftp'
    /bin/sh ../../admin/mkinstalldirs /usr/lib/kde3
    /bin/sh ../../libtool --silent --mode=install /bin/install
    -c -p kio_kbearftp.la /usr/lib/kde3/kio_kbearftp.la
    PATH="$PATH:/sbin" ldconfig -n /usr/lib/kde3
    /bin/sh ../../admin/mkinstalldirs /usr/share/services
    /bin/install -c -p -m 644 kbearftp.protocol
    /usr/share/services/kbearftp.protocol
    make[3]: Leaving directory `/home/vasudevan/kbear-2.1/kbear/ftp'
    make[2]: Leaving directory `/home/vasudevan/kbear-2.1/kbear/ftp'
    Making install in qextmdi
    make[2]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    Making install in pics
    make[3]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[4]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[3]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi/pics'
    make[3]: Entering directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
    g++ -DHAVE_CONFIG_H -I. -I. -I../..-I/usr/lib/qt-3.3/include
    -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
    -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
    -O2 -fno-exceptions -fno-check-new -MT qextmditaskbar.lo
    -MD -MP -MF ".deps/qextmditaskbar.Tpo" \ -c -o qextmditaskbar.lo `test -f 'qextmditaskbar.cpp' ||
    echo './'`qextmditaskbar.cpp; \ then mv -f ".deps/qextmditaskbar.Tpo"
    ".deps/qextmditaskbar.Plo"; \ else rm -f ".deps/qextmditaskbar.Tpo"; exit 1; \ fi
    cc1plus: warning: command line option "-Wmissing-prototypes"
    is valid for C/ObjC but not for C++
    In file included from qextmditaskbar.h:44,
    from qextmditaskbar.cpp:28:
    qextmdidefines.h:91: error: extra `;'
    make[3]: *** [qextmditaskbar.lo] Error 1
    make[3]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory
    `/home/vasudevan/kbear-2.1/kbear/qextmdi'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/vasudevan/kbear-2.1/kbear'
    make: *** [install-recursive] Error 1

    Please help.