Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2012, 10:34 AM
Mark76 Mark76 is offline
Member
 
Join Date: Mar 2012
Posts: 56
Thanks: 3
Thanked 1 Time in 1 Post
Default What The Blazing Funk Is WRONG With Gmake?
I've been trying to install Pidgin from /usr/ports/net-im and each time it fails with the following errors

Quote:
glob.c:1318: error: 'DIR' undeclared (first use in this function)
glob.c:1318: error: (Each undeclared identifier is reported only once
glob.c:1318: error: for each function it appears in.)
glob.c:1318: error: expected expression before ')' token
glob.c:1318: warning: pointer/integer type mismatch in conditional expression
glob.c:1321: error: dereferencing pointer to incomplete type
glob.c:1332: error: dereferencing pointer to incomplete type
glob.c:1338: error: dereferencing pointer to incomplete type
glob.c:1360: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:1403: error: expected expression before ')' token
glob.c:1415: error: expected expression before ')' token
*** Error code 1
Why?

Stop in /usr/ports/devel/gmake/work/make-3.82/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.82.
*** Error code 1
Reply With Quote
  #2  
Old 03-18-2012, 10:40 AM
Mark76 Mark76 is offline
Member
 
Join Date: Mar 2012
Posts: 56
Thanks: 3
Thanked 1 Time in 1 Post
Default
And when I try to install gmake

Quote:
/usr/ports/devel/gmake# make install clean
===> Building for gmake-3.82
make all-recursive
Making all in glob
cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c
glob.c:151: warning: conflicting types for built-in function 'malloc'
glob.c: In function 'glob':
glob.c:382: warning: incompatible implicit declaration of built-in function 'strchr'
glob.c:394: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:524: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:703: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:718: warning: incompatible implicit declaration of built-in function 'strchr'
glob.c:776: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:830: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:833: error: void value not ignored as it ought to be
glob.c:926: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:1034: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:1041: warning: incompatible implicit declaration of built-in function 'strcpy'
glob.c: In function 'prefix_array':
glob.c:1109: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c: In function 'glob_in_dir':
glob.c:1249: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:1291: warning: cast to pointer from integer of different size
glob.c:1318: error: 'DIR' undeclared (first use in this function)
glob.c:1318: error: (Each undeclared identifier is reported only once
glob.c:1318: error: for each function it appears in.)
glob.c:1318: error: expected expression before ')' token
glob.c:1318: warning: pointer/integer type mismatch in conditional expression
glob.c:1321: error: dereferencing pointer to incomplete type
glob.c:1332: error: dereferencing pointer to incomplete type
glob.c:1338: error: dereferencing pointer to incomplete type
glob.c:1360: warning: incompatible implicit declaration of built-in function 'strlen'
glob.c:1403: error: expected expression before ')' token
glob.c:1415: error: expected expression before ')' token
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.82/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.82.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.82.
*** Error code 1

Stop in /usr/ports/devel/gmake.
Reply With Quote
  #3  
Old 03-18-2012, 02:50 PM
bds bds is offline
Senior Member
 
Join Date: Oct 2009
Posts: 428
Thanks: 54
Thanked 35 Times in 32 Posts
Default
that's weird -- i just built gmake in Ports Jail without any problems. did you use a jail? i wonder if there's a system-level conflict with pmake - although that seems a little strange. hopefully one of the devs can provide more information.

re Pidgin -- is there a reason you want to build from ports? AppCafe has v2.1.0.1 available....
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:46 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.