Search the web
Sign In
New User? Sign Up
ftpbench · To develop an open-source FTP benchmark application,
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Error compiling on FreeBSD 4.10. Cant find 'SIGRTMIN' def.   Message List  
Reply | Forward Message #273 of 282 |

Hi,



I am not able to built the sources. I run ./configure and then run make all.
I get the following error.



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

%uname -a

FreeBSD ted.isi.edu 4.10-STABLE FreeBSD 4.10-STABLE #9: Fri Oct 29 17:01:26
PDT 2004 root@...:/usr/obj/usr/src/sys/GENERIC i386

%

%make all

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dkftpbench\"
-DVERSION=\"0.45\" -DHAVE_INET_ATON=1 -DHAVE_KQUEUE=1 -DHAVE_GETIFADDRS=1
-DHAVE_DEVPOLL=0 -DHAVE_DEVEPOLL=0 -D_GNU_SOURCE=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1
-DHAVE_PTHREAD_H=1 -D__x86__=1 -D__freebsd__=1 -I. -I. -Wall -W
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wwrite-strings -O2 -pthread -c Poller_test.cc

Poller_test.cc: In method `void Poller_test<Poller_poll>::testWakeUp()':

Poller_test.cc:126: instantiated from
`Poller_test<Poller_poll>::unitTest()'

Poller_test.cc:397: instantiated from here

Poller_test.cc:312: `SIGRTMIN' undeclared (first use this function)

Poller_test.cc:312: (Each undeclared identifier is reported only once

Poller_test.cc:312: for each function it appears in.)

Poller_test.cc: In method `void
Poller_test<Poller_poll>::testRejection(const char *, int)':

Poller_test.cc:128: instantiated from
`Poller_test<Poller_poll>::unitTest()'

Poller_test.cc:397: instantiated from here

Poller_test.cc:251: aggregate `struct sockaddr_in sin' has incomplete type
and cannot be initialized

Poller_test.cc:257: confused by earlier errors, bailing out

*** Error code 1



Stop in /auto/darkstar/guest/jasapara/ftp/dkftpbench-0.45.

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



I found the patch sent by Francis for FreeBSD. I see that the tarball has
already been patched.

I run grep to find 'SIGRTMIN' but I cant find it in any of the headers
provided. What am I missing ?



Thanks in advance.

- Nirav Jasapara.





[Non-text portions of this message have been removed]







Mon Nov 1, 2004 3:18 am

jasapara@...
Send Email Send Email

Forward
Message #273 of 282 |
Expand Messages Author Sort by Date

Hi, I am not able to built the sources. I run ./configure and then run make all. I get the following error. ... %uname -a FreeBSD ted.isi.edu 4.10-STABLE...
Nirav Jasapara
jasapara@...
Send Email
Nov 1, 2004
4:41 am

... SIGRTMIN is part of the Real Time Signals optional section of POSIX. It would be nice if dkftpbench did not require Real Time Signals to compile. Sounds...
Dan Kegel
dankegel
Offline Send Email
Nov 1, 2004
5:03 am

... Thanks Dan :) Here is a patch. (Use with caution!) %cat patch ... +++ Poller_test.cc Sun Oct 31 23:16:49 2004 @@ -36,6 +36,10 @@ #include...
Nirav Jasapara
jasapara@...
Send Email
Nov 1, 2004
2:52 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help