[PD] compilation trouble

matthijs at devdsp.net matthijs at devdsp.net
Wed Mar 26 18:29:52 CET 2003


> matthijs at devdsp.net hat gesagt: // matthijs at devdsp.net wrote:
>
> > > What does "ldd /usr/bin/pd" say? Does it run without sound
> > > ("-nosound")?
> >
> > Here's the output for ldd /usr/local/bin/pd:
> >
> >      libdl.so.2 => /lib/libdl.so.2 (0x40024000)
> >      libm.so.6 => /lib/libm.so.6 (0x40028000)
> >      libpthread.so.0 => /lib/libpthread.so.0 (0x4004b000)
> >      libc.so.6 => /lib/libc.so.6 (0x4009d000)
> >      /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> >
> > Doesn't look like it's dependent on Tcl at all ... weird.
>
> Yes, this is really weird. Something's gone really wrong with your
> compilation. You don't even have libX11!


Well, that's the compilation that was done by removing -Werror, so I'm
really not all that surprised that it's screwy :)

A normal config.log has this to say (see below). It seems to me like it
doesn't contain anything out of the ordinary, which makes sense because
./configure runs without a problem.

take care,

Matthijs de Jonge
http://devdsp.net - news and resources for computer musicians


-------------------------------------
config.log
-------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:583: checking for gcc
configure:696: checking whether the C compiler (gcc  ) works
configure:712: gcc -o conftest    conftest.c  1>&5
configure:738: checking whether the C compiler (gcc  ) is a cross-compiler
configure:743: checking whether we are using GNU C
configure:752: gcc -E conftest.c
configure:771: checking whether gcc accepts -g
configure:833: checking for a BSD compatible install
configure:886: checking whether make sets ${MAKE}
configure:913: checking how to run the C preprocessor
configure:934: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:994: checking for working const
configure:1048: gcc -c -g -O2  conftest.c 1>&5
configure:1069: checking for ANSI C header files
configure:1082: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1149: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1173: checking for pid_t
configure:1206: checking for size_t
configure:1239: checking whether time.h and sys/time.h may both be included
configure:1253: gcc -c -g -O2  conftest.c 1>&5
configure:1275: checking for ANSI C header files
configure:1382: checking for fcntl.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for limits.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for malloc.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for sys/ioctl.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for sys/time.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for unistd.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for bstring.h
configure:1392: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1388:21: bstring.h: No such file or directory
configure: failed program was:
#line 1387 "configure"
#include "confdefs.h"
#include <bstring.h>
configure:1421: checking whether gcc needs -traditional
configure:1467: checking return type of signal handlers
configure:1489: gcc -c -g -O2  conftest.c 1>&5
configure:1508: checking for vprintf
configure:1536: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1615: checking for gettimeofday
configure:1643: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1615: checking for select
configure:1643: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1615: checking for socket
configure:1643: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1615: checking for strerror
configure:1643: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1670: checking for dlopen in -ldl
configure:1689: gcc -o conftest -g -O2   conftest.c -ldl   1>&5
configure:1712: checking for sin in -lffm
configure:1731: gcc -o conftest -g -O2   conftest.c -lffm   1>&5
configure:1724: warning: conflicting types for built-in function `sin'
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lffm
collect2: ld returned 1 exit status
configure: failed program was:
#line 1720 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {
sin()
; return 0; }
configure:1753: checking for sin in -lm
configure:1772: gcc -o conftest -g -O2   conftest.c -lm   1>&5
configure:1765: warning: conflicting types for built-in function `sin'
configure:1795: checking for pthread_create in -lpthread
configure:1814: gcc -o conftest -g -O2   conftest.c -lpthread   1>&5
configure:1927: checking for X
configure:2157: checking for XCreateWindow in -lX11
configure:2176: gcc -o conftest -g -O2   conftest.c -lX11 -L/usr/X11R6/lib  1>&5
configure:2201: checking for tcl.h
configure:2211: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2466: checking for main in -ltcl8.7
configure:2481: gcc -o conftest -g -O2   conftest.c -ltcl8.7   -lX11 -L/usr/X11R6/lib 1>&5
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltcl8.7
collect2: ld returned 1 exit status
configure: failed program was:
#line 2474 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2507: checking for main in -ltcl8.6
configure:2522: gcc -o conftest -g -O2   conftest.c -ltcl8.6   -lX11 -L/usr/X11R6/lib 1>&5
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltcl8.6
collect2: ld returned 1 exit status
configure: failed program was:
#line 2515 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2548: checking for main in -ltcl8.5
configure:2563: gcc -o conftest -g -O2   conftest.c -ltcl8.5   -lX11 -L/usr/X11R6/lib 1>&5
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltcl8.5
collect2: ld returned 1 exit status
configure: failed program was:
#line 2556 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2589: checking for main in -ltcl8.4
configure:2604: gcc -o conftest -g -O2   conftest.c -ltcl8.4   -lX11 -L/usr/X11R6/lib 1>&5
configure:2768: checking for main in -ltk8.7
configure:2783: gcc -o conftest -g -O2   conftest.c -ltk8.7  -ltcl8.4  -lX11 -L/usr/X11R6/lib 1>&5
In file included from configure:2776:
confdefs.h:17:21: warning: ISO C requires whitespace after the macro name
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltk8.7
collect2: ld returned 1 exit status
configure: failed program was:
#line 2776 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2809: checking for main in -ltk8.6
configure:2824: gcc -o conftest -g -O2   conftest.c -ltk8.6  -ltcl8.4  -lX11 -L/usr/X11R6/lib 1>&5
In file included from configure:2817:
confdefs.h:17:21: warning: ISO C requires whitespace after the macro name
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltk8.6
collect2: ld returned 1 exit status
configure: failed program was:
#line 2817 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2850: checking for main in -ltk8.5
configure:2865: gcc -o conftest -g -O2   conftest.c -ltk8.5  -ltcl8.4  -lX11 -L/usr/X11R6/lib 1>&5
In file included from configure:2858:
confdefs.h:17:21: warning: ISO C requires whitespace after the macro name
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -ltk8.5
collect2: ld returned 1 exit status
configure: failed program was:
#line 2858 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2891: checking for main in -ltk8.4
configure:2906: gcc -o conftest -g -O2   conftest.c -ltk8.4  -ltcl8.4  -lX11 -L/usr/X11R6/lib 1>&5
In file included from configure:2899:
confdefs.h:17:21: warning: ISO C requires whitespace after the macro name




More information about the Pd-list mailing list