LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-18-2003, 07:29 AM   #1
idscypher
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
2 errors gcc and proftpd


hi tkz u guys for this one
have freebsd and have this 2 errors


Quote:
ids# gcc ex.c
ex.c:62:23: linux/tcp.h: No such file or directory
ex.c: In function `connect_to_server':
ex.c:392: `TCP_NODELAY' undeclared (first use in this function)
ex.c:392: (Each undeclared identifier is reported only once
ex.c:392: for each function it appears in.)
and with proftpd
Quote:
ids# make
cd lib ; make lib
gcc -DFREEBSD5_1 -DFREEBSD5 -I.. -I../include -O2 -Wall -c pr_fnmatch.c
In file included from ../include/libsupp.h:35,
from pr_fnmatch.c:39:
../include/glibc-glob.h:55: redefinition of `__size_t'
/usr/include/machine/_types.h:88: `__size_t' previously declared here
*** Error code 1

Stop in /usr/home/cyber/proftpd-1.2.7rc2/lib.
*** Error code 1

Stop in /usr/home/cyber/proftpd-1.2.7rc2.
tkz all for helping
take care
 
Old 11-09-2003, 01:29 PM   #2
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Have you installed linux binary support?
 
Old 12-02-2003, 08:57 PM   #3
nullpt
Member
 
Registered: Jul 2003
Distribution: Red Hat
Posts: 94

Rep: Reputation: 15
I guess he doesn't. If you are compiling native linux stuff, please make sure you have linux compat installed, so freebsd can point to the linux libs.
 
Old 12-03-2003, 11:51 AM   #4
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Looks like he's abandoned this thread!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PROFTPD Errors? murder Linux - Newbie 2 11-09-2005 11:35 AM
GCC Compilation Errors The_Dish Programming 7 10-08-2004 05:33 PM
gcc compile errors ? qwijibow Linux - Newbie 2 07-21-2003 08:20 AM
Link errors from gcc CraigN Programming 2 02-27-2003 08:43 PM
gcc errors?? or are they? Rito Linux From Scratch 1 01-06-2003 05:54 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration