Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues building w/ pinger under freeBSD? #16

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 2 comments
Open

issues building w/ pinger under freeBSD? #16

GoogleCodeExporter opened this issue Mar 26, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

cc  -O2 -fno-strict-aliasing -pipe  -I/usr/local/include
-I/usr/local/include  -I/usr/include -g -D_REENTRANT  -L/usr/local/lib
-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/lib -rdynamic -o
pinger  pinger.o debug.o globals.o -L../lib -L../libcore -L../libmem
-L../libcb -L../libhelper -L../libiapp -L../libhttp -L../libstat
-L../libsqdns -L../libsqinet -lsqinet -lsqdns -lmiscutil -lcore -lmem -lcb
-lhelper -liapp -lhttp -lstat -lrt -pthread -lmd -lm 
../libcore/libcore.a(tools.o)(.text+0x160): In function `getCurrentTime':
/home/adrian/work/cacheboy/ports/ports/www/cacheboy/work/CACHEBOY_1.4/libcore/to
ols.c:35:
multiple definition of `getCurrentTime'
pinger.o(.text+0x90):/home/adrian/work/cacheboy/ports/ports/www/cacheboy/work/CA
CHEBOY_1.4/src/pinger.c:498:
first defined here
/usr/bin/ld: Warning: size of symbol `getCurrentTime' changed from 35 in
pinger.o to 69 in ../libcore/libcore.a(tools.o)
*** Error code 1

wtf?

Original issue reported on code.google.com by adrian.c...@gmail.com on 30 Jul 2008 at 10:20

@GoogleCodeExporter
Copy link
Author

r13083 - makes it compile again, but its not properly working?

Original comment by adrian.c...@gmail.com on 30 Jul 2008 at 11:21

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

r13084 - make it work again; but the stderr logging isn't being thrown through 
to the debug log. The ipc and 
debug logging changes make it so the ipc code doesn't know about the stderr 
debugging FD.

The real fix is to bind the stderr FD from each ipc connection over to a 
dedicated FD handler which redirects 
everything through the debugging code. This way stuff like syslog logging of 
IPC stuff will work.

Original comment by adrian.c...@gmail.com on 30 Jul 2008 at 12:31

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant