On Wednesday 06 November 2002 10:33 pm, Iain wrote: > Hi, > > I am having trouble building vqadmin-2.3.4 on FreeBSD 4.6.2: > > gcc -g -O2 -Wall -o vqadmin vqadmin.o cgi.o template.o global.o acl.o > misc.o domain.o lang.o user.o cedit.o -L/usr/local/vpopmail/lib -lvpopmail > -L/usr/local/lib/mysql -lmysqlclient -lz -lz -lm -lcrypt > domain.o: In function `enable_efilter': > /home/iain/src/vqadmin-2.3.4/domain.c(.text+0x1a43): undefined reference to > `getline' > > This looks similar to the problem someone was having building on solaris. > As far as I can see getline isn't defined on FreeBSD. > > Any ideas? > > thanks, Iain.
We have a new version, to be posted over the weekend, that uses fgets() instead of the linux getline() function. That will, no doubt, let the code compile cleanly on FreeBSD. Ken Jones inter7.com
