[PD-dev] [ pure-data-Patches-1910718 ] Error compiling OSCx

SourceForge.net noreply at sourceforge.net
Tue Mar 11 17:23:04 CET 2008


Patches item #1910718, was opened at 2008-03-09 18:55
Message generated for change (Comment added) made by pbrinkmann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1910718&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error compiling OSCx

Initial Comment:
I am trying to compiling pd-extended and I got an error for the OSCx. I am running Gentoo 64bits.

.....

make -C /home/mysthr2/logiciels/musique/pure-data/externals/OSCx
make[3]: entrant dans le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx »
cd libOSC && make
make[4]: entrant dans le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx/libOSC »
make[4]: Rien à faire pour « all ».
make[4]: quittant le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx/libOSC »
cd src && make
make[4]: entrant dans le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx/src »
cc -Wl,-export_dynamic -shared -o sendOSC.pd_linux sendOSC.o htmsocket.o OSC-system-dependent.o -L../../../pd/bin -lpd -lc -lm ../libOSC/libOSC.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpd
collect2: ld a retourné 1 code d'état d'exécution
make[4]: *** [sendOSC.pd_linux] Erreur 1
make[4]: quittant le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx/src »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals/OSCx »
make[2]: *** [/home/mysthr2/logiciels/musique/pure-data/externals/OSCx/src/OSCroute.pd_linux] Erreur 2
make[2]: quittant le répertoire « /home/mysthr2/logiciels/musique/pure-data/externals »
make[1]: *** [externals_install] Erreur 2
make[1]: quittant le répertoire « /home/mysthr2/logiciels/musique/pure-data/packages »
make: *** [install] Erreur 2



finally I succeeded deleting the "-lpd" flag in the makefile. from :
/pure-data/externals/OSCx/src/Makefile


Hope this would help.

Mysth-R
mysthr21 ..At.. gmail ..dot.. com


----------------------------------------------------------------------

Comment By: Peter Brinkmann (pbrinkmann)
Date: 2008-03-11 12:23

Message:
Logged In: YES 
user_id=2033041
Originator: NO

Hi!
I was able to compile OSCx on my 64-bit machine (FC6 with Planet CCRMA)
with the following change to configure.ac:

svn diff configure.ac
Index: configure.ac
===================================================================
--- configure.ac        (revision 9531)
+++ configure.ac        (working copy)
@@ -77,6 +77,13 @@
         esac
 else
         case $host in 
+        *86_64-*-linux*)
+                CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused
-Wmissing-prototypes -O2 -fPIC"
+                                        LDFLAGS="-Wl,-export_dynamic
-shared"
+                                        dnl we could test for bad glibc
here, but don't
+                                        pd_suffix=pd_linux
+                                        LIBS="-lc -lm"
+                                        ;;
         *86-*-linux*)
                 CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused
-Wmissing-prototypes -O2"
                                         LDFLAGS="-Wl,-export_dynamic
-shared"


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1910718&group_id=55736




More information about the Pd-dev mailing list