On Thu, 30 Sep 2004 16:53:02 +0530, Gaurav Gupta <[EMAIL PROTECTED]> wrote: > Hi, > > Am getting this error when creating executable for my code for a socket > server programme. Kindly help.
I don't think this is the right way to do it, but it does seem to work. If somebody with the appropriate clue stick can help me out, I'll try to write some doc to put at apr.apache.org for how to build an apr application on Unix-like systems. I looked but did not find anything. $ cat bldfoo APRCFG=/home/trawick/inst/apr/bin/apr-1-config CC=`$APRCFG --cc` CFLAGS=`$APRCFG --cflags` CPPFLAGS=`$APRCFG --cppflags` INCLUDES=`$APRCFG --includes` LIBAPR=`$APRCFG --link-libtool --libs` LIBTOOL=`$APRCFG --apr-libtool` cmd="$CC -g -c $CFLAGS $CPPFLAGS $INCLUDES foo.c" echo $cmd $cmd cmd="$LIBTOOL --mode=link $CC -o foo -g foo.o $LIBAPR" echo $cmd $cmd