Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
01-26-2007, 06:49 AM
#1
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Rep:
Metisse on Slackware 11
Has anybody tried to compile and run Metisse on Slackware? I got an error compiling nucleo somewhere in the videoserver part:
Code:
make[2]: *** [videoServer] Error 1
make[1]: *** [all-recursive] Error 1
Any ideas?
01-26-2007, 07:04 PM
#2
Guru
Registered: Oct 2005
Posts: 11,388
Those 2 lines say absolutely nothing. Might wanna post more (like the bottom half of the output especially lines that say error).
01-27-2007, 01:33 AM
#3
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Original Poster
Rep:
I thought someone would try to make it and see the errors personally. Anyway, here's the output:
Code:
make[2]: Entering directory `/home/mitko/nucleo-0.6/apps/videoServer'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cxx; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT VideoServer.o -MD -MP -MF ".deps/VideoServer.Tpo" -c -o VideoServer.o VideoServer.cxx; \
then mv -f ".deps/VideoServer.Tpo" ".deps/VideoServer.Po"; else rm -f ".deps/VideoServer.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT VideoService.o -MD -MP -MF ".deps/VideoService.Tpo" -c -o VideoService.o VideoService.cxx; \
then mv -f ".deps/VideoService.Tpo" ".deps/VideoService.Po"; else rm -f ".deps/VideoService.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT Notifier.o -MD -MP -MF ".deps/Notifier.Tpo" -c -o Notifier.o Notifier.cxx; \
then mv -f ".deps/Notifier.Tpo" ".deps/Notifier.Po"; else rm -f ".deps/Notifier.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT FileStreamer.o -MD -MP -MF ".deps/FileStreamer.Tpo" -c -o FileStreamer.o FileStreamer.cxx; \
then mv -f ".deps/FileStreamer.Tpo" ".deps/FileStreamer.Po"; else rm -f ".deps/FileStreamer.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -g -O2 -MT VideoStreamer.o -MD -MP -MF ".deps/VideoStreamer.Tpo" -c -o VideoStreamer.o VideoStreamer.cxx; \
then mv -f ".deps/VideoStreamer.Tpo" ".deps/VideoStreamer.Po"; else rm -f ".deps/VideoStreamer.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -L../../nucleo -lNucleo -o videoServer main.o VideoServer.o VideoService.o Notifier.o FileStreamer.o VideoStreamer.o -ljpeg -lGLU -lGL -lpthread -lSM -lICE -L/usr/X11/lib -lXi -lpng12 -lexif -lm -lfreetype -lz
mkdir .libs
g++ -g -O2 -o .libs/videoServer main.o VideoServer.o VideoService.o Notifier.o FileStreamer.o VideoStreamer.o -L/home/mitko/nucleo-0.6/nucleo /home/mitko/nucleo-0.6/nucleo/.libs/libNucleo.so -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../.. /usr/lib/libstdc++.so -ljpeg -lGLU /usr/lib/libGL.so -lXext -lX11 -ldl -lpthread -lSM -lICE -lXi -lpng12 /usr/lib/libexif.so -lm /usr/lib/libfreetype.so -lz
VideoServer.o(.text+0x85): In function `VideoServer::~VideoServer()':
/home/mitko/nucleo-0.6/apps/videoServer/VideoServer.cxx:39: undefined reference to `nucleo::DNSServiceAnnouncer::~DNSServiceAnnouncer()'
VideoServer.o(.text+0x1a5): In function `VideoServer::~VideoServer()':
/home/mitko/nucleo-0.6/apps/videoServer/VideoServer.cxx:39: undefined reference to `nucleo::DNSServiceAnnouncer::~DNSServiceAnnouncer()'
VideoServer.o(.text+0x2c5): In function `VideoServer::~VideoServer()':
/home/mitko/nucleo-0.6/apps/videoServer/VideoServer.cxx:39: undefined reference to `nucleo::DNSServiceAnnouncer::~DNSServiceAnnouncer()'
VideoServer.o(.text+0x834): In function `VideoServer::VideoServer(char*)':
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:1456: undefined reference to `nucleo::DNSServiceAnnouncer::DNSServiceAnnouncer(char const*, char const*, unsigned short, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, char const*, char const*)'
VideoServer.o(.text+0x16c4): In function `VideoServer::VideoServer(char*)':
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:1456: undefined reference to `nucleo::DNSServiceAnnouncer::DNSServiceAnnouncer(char const*, char const*, unsigned short, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, char const*, char const*)'
collect2: ld returned 1 exit status
make[2]: *** [videoServer] Error 1
make[2]: Leaving directory `/home/mitko/nucleo-0.6/apps/videoServer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mitko/nucleo-0.6/apps'
make: *** [all-recursive] Error 1
01-27-2007, 11:16 AM
#4
Guru
Registered: Oct 2005
Posts: 11,388
Seems one of the classes has not been defined. You're probably missing one of the headers, or one is broken (VideoServer.h). Things to do:
1) Check that you have all dependencies for building nucleo (I can't even find where to download it so I can test it myself)
2) Check that the nucleo package you have is the latest version and is intact as in not corrupt
Last edited by H_TeXMeX_H; 01-27-2007 at 11:17 AM .
01-28-2007, 03:27 AM
#5
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Original Poster
Rep:
Yes, you are right. It seems I am missing "DNS-SD support". It says dns_sd library is not found. I found the site of its developers but could not find where to download it from. This is a link to the official installation instructions for Metisse:
http://insitu.lri.fr/metisse/docs/building.html
01-29-2007, 11:54 AM
#7
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Original Poster
Rep:
Thanks a lot, I'll try that
04-14-2007, 09:11 AM
#8
LQ Newbie
Registered: Apr 2007
Location: italy
Distribution: Slackware64-current
Posts: 7
Rep:
Hi, I'm an italian guy, I'm trying to create a tgz for nucleo and metisse, but I cannot end the make process because it returns me this error:
Code:
Making all in apps
make[1]: Entering directory `/tmp/nucleo-20070307/apps'
Making all in videoServer
make[2]: Entering directory `/tmp/nucleo-20070307/apps/videoServer'
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cxx; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT VideoServer.o -MD -MP -MF ".deps/VideoServer.Tpo" -c -o VideoServer.o VideoServer.cxx; \
then mv -f ".deps/VideoServer.Tpo" ".deps/VideoServer.Po"; else rm -f ".deps/VideoServer.Tpo"; exit 1; fi
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT VideoService.o -MD -MP -MF ".deps/VideoService.Tpo" -c -o VideoService.o VideoService.cxx; \
then mv -f ".deps/VideoService.Tpo" ".deps/VideoService.Po"; else rm -f ".deps/VideoService.Tpo"; exit 1; fi
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT Notifier.o -MD -MP -MF ".deps/Notifier.Tpo" -c -o Notifier.o Notifier.cxx; \
then mv -f ".deps/Notifier.Tpo" ".deps/Notifier.Po"; else rm -f ".deps/Notifier.Tpo"; exit 1; fi
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT FileStreamer.o -MD -MP -MF ".deps/FileStreamer.Tpo" -c -o FileStreamer.o FileStreamer.cxx; \
then mv -f ".deps/FileStreamer.Tpo" ".deps/FileStreamer.Po"; else rm -f ".deps/FileStreamer.Tpo"; exit 1; fi
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libexif -I/usr/include/freetype2 -O2 -march=i486 -mtune=i686 -MT VideoStreamer.o -MD -MP -MF ".deps/VideoStreamer.Tpo" -c -o VideoStreamer.o VideoStreamer.cxx; \
then mv -f ".deps/VideoStreamer.Tpo" ".deps/VideoStreamer.Po"; else rm -f ".deps/VideoStreamer.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link i486-slackware-linux-g++ -O2 -march=i486 -mtune=i686 -L../../nucleo -lNucleo -o videoServer main.o VideoServer.o VideoService.o Notifier.o FileStreamer.o VideoStreamer.o -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -L/usr/X11R6/lib -lXi -lpng12 -lexif -lm -lfreetype -lz
mkdir .libs
i486-slackware-linux-g++ -O2 -march=i486 -mtune=i686 -o .libs/videoServer main.o VideoServer.o VideoService.o Notifier.o FileStreamer.o VideoStreamer.o -L/tmp/nucleo-20070307/nucleo /tmp/nucleo-20070307/nucleo/.libs/libNucleo.so -L/usr/X11R6/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../.. /usr/lib/libstdc++.so /usr/lib/libexpat.so /usr/lib/libdns_sd.so /usr/lib/libavahi-client.so /usr/lib/libdbus-1.so /usr/lib/libavahi-common.so -ldl /usr/lib/libjpeg.dll.a -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 /usr/lib/libexif.so -lm /usr/lib/libfreetype.so -lz
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_read_scanlines'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_calc_output_dimensions'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_set_defaults'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_start_decompress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_destroy_decompress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_std_error'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_CreateDecompress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_write_raw_data'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_read_header'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_start_compress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_destroy_compress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_finish_decompress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_resync_to_restart'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_CreateCompress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_finish_compress'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_set_quality'
/tmp/nucleo-20070307/nucleo/.libs/libNucleo.so: undefined reference to `jpeg_write_scanlines'
collect2: ld returned 1 exit status
make[2]: *** [videoServer] Error 1
make[2]: Leaving directory `/tmp/nucleo-20070307/apps/videoServer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nucleo-20070307/apps'
make: *** [all-recursive] Error 1
Does anybody knows how to correct this error in order to compile nucleo?
I'm sorry for my english, I hope I didn't make mistakes, thanks alot to everybody...
Dany
04-14-2007, 10:41 AM
#9
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,035
Rep:
I'd say you need to link it against libjpeg.
Eric
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 06:38 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News