On Thursday 17 January 2008 12:16:11 Felipe Sateler wrote: > On Thursday 17 January 2008 11:31:29 Dietrich Bollmann wrote: > > Hi, > > > > I would like to build csound5 on debian sid and installed the debian > > packages `libportmidi0' and `libportmidi-dev'. But still scons > > complains with > > > > Checking for C library portmidi... (cached) no > > This seems to indicate that the test is not actually being run. You could > try deleting the scons cache (rm -r .scon*), and then trying again. Duh, I somehow skipped the "undefined symbols" part. > gcc -o \ > > > conftest_3 -Wl,-Bdynamic conftest_3.o -L. -L. -L/usr/local/lib -L. > > -L. \ > > > -L/usr/lib/fltk-1.1 -L/usr/lib/j2sdk1.5-sun/include -lsndfile > > -lportaudio -lportmidi > /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libportmidi.so: > undefined reference to `Pt_Start' > /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libportmidi.so: > undefined reference to `Pt_Time' > /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libportmidi.so: > undefined reference to `Pt_Started' > collect2: ld returned 1 exit status This is certainly strange. My scons log doesn't show this step. conftest_3 is only compiled into an object file, not a program. Maybe this is related to the dirty cache? -- Felipe Sateler