Paul Alfille <paul.alfi...@gmail.com> probably said:
>Great work, I'll try to address the issues you brought up:

Thanks.

>3. Can you give more information about the owhttpd problem? There are
>no unusual dependencies as far as I know -- should be straight C code.
>Perhaps some issue with thread or signal handling?

With p29:

libtool: link: gcc -I../include -I../../../owlib/src/include -fexceptions
 -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
 -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64
 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_THREAD_SAFE
 -I/opt/local/include -I/usr/local/include -DNO_NESTED_FUNCTIONS
 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L
 -o .libs/owhttpd owhttpd.o owhttpd_handler.o owhttpd_present.o
 owhttpd_write.o owhttpd_read.o owhttpd_dir.o owhttpd_favicon.o
 -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation 
 -L/Users/pir/owfs-2.7p29/module/owlib/src/c -L/opt/local/lib
 -L/usr/local/lib /Users/pir/owfs-2.7p29/module/owlib/src/c/.libs/libow.so
 /opt/local/lib/libusb.dylib /opt/local/lib/libusb-1.0.dylib -pthread
Undefined symbols:
  "_getline", referenced from:
      _handle_POST in owhttpd_handler.o
      _ReadToCRLF in owhttpd_handler.o
      _GetPostPath in owhttpd_handler.o
      _GetPostData in owhttpd_handler.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gmake[4]: *** [owhttpd] Error 1
gmake[4]: Leaving directory `/Users/pir/owfs-2.7p29/module/owhttpd/src/c'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/Users/pir/owfs-2.7p29/module/owhttpd/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/Users/pir/owfs-2.7p29/module/owhttpd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Users/pir/owfs-2.7p29/module'
gmake: *** [all-recursive] Error 1


It does link and build with p32, so I assumed this case had already
been fixed.

libtool: link: gcc -I../include -I../../../owlib/src/include -fexceptions
 -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
 -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64
 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_THREAD_SAFE
 -I/opt/local/include -I/usr/local/include -DNO_NESTED_FUNCTIONS
 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L
 -o .libs/owhttpd owhttpd.o owhttpd_handler.o owhttpd_present.o
 owhttpd_write.o owhttpd_read.o owhttpd_dir.o owhttpd_favicon.o
 -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation 
 -L/Users/pir/owfs-2.7p32/module/owlib/src/c -L/opt/local/lib
 -L/usr/local/lib /Users/pir/owfs-2.7p32/module/owlib/src/c/.libs/libow.so
 /opt/local/lib/libusb.dylib /opt/local/lib/libusb-1.0.dylib -pthread
gmake[4]: Leaving directory `/Users/pir/owfs-2.7p32/module/owhttpd/src/c'

>4. I'll have to investigate the Bonjour issue. It's always available
>in OSX so I probabbly am not invoking it in the correct manner for
>that platform.

When trying to link owlib (the link command is several screens long so
I won't paste it in unless you particularly want to see what it ends
up being on OSX):

ld: duplicate symbol _avahi_client_new in .libs/ow_alias.o and .libs/ow_dnssd.o
collect2: ld returned 1 exit status
gmake[4]: *** [libow.la] Error 1
gmake[4]: Leaving directory `/Users/pir/owfs-2.7p32/module/owlib/src/c'

I poked at it a little, enough to work out what the avahi client was
and what, roughly, was being declared... then set
configure --disable-zero and moved on.

>These changes are in the CVS repository. Once I figure out the python
>problem I'd apprecite it if you could test and give me feedback.

Great, happy to test things. I'll take a look once you've figured that out.

Thanks!
P.

-- 
pir


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to