[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-users
Subject:    [Proftpd-user] getopt_long on FreeBSD
From:       Matus UHLAR - fantomas <uhlar () fantomas ! sk>
Date:       2003-09-30 10:04:26
[Download RAW message or body]

HEllo,

jst tried to compile patches 1.2.8 on FreeBSD4.6.2, this error occured:

gcc  -DFREEBSD4_6_2 -DFREEBSD4 -I.. -I../include -I/usr/local/include -O2
-Wall -c main.c
In file included from main.c:38:
/usr/local/include/getopt.h:83: redefinition of `struct option'
gmake[1]: *** [main.o] Error 1
gmake[1]: Leaving directory
`/shared1/rw/ports/ftp/proftpd/work/proftpd-1.2.8/src'
gmake: *** [src] Error 2
*** Error code 2

Stop in /shared1/rw/ports/ftp/proftpd.

HAVE_GETOPT_LONG even if we have it ...

configure:12563: checking for getopt_long
configure:12613: gcc -o conftest -O2  -Wall  -Llib -s conftest.c -lcrypt
>&5
/tmp/ccxVKlQU.o: In function `main':
/tmp/ccxVKlQU.o(.text+0x11): undefined reference to `getopt_long'
/tmp/ccxVKlQU.o(.data+0x0): undefined reference to `getopt_long'

... in external library (libgnugetopt)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I don't wish to receive e-mail advertising to this address.
Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them, 
One OS to bring them all and into darkness bind them 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ProFTPD Users List   <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic