Opened 19 years ago

Closed 18 years ago

Last modified 15 years ago

#4409 closed defect (fixed)

BUG: smpeg does not build

Reported by: rcleven@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I get an error, can not find "malloc.h"

here's the tail: g++ -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -g -O2 -I/opt/local/include/SDL - D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c glmovie-tile.c glmovie-tile.c:19:20: error: malloc.h: No such file or directory glmovie-tile.c: In function 'GLenum glmovie_init(GLuint, GLuint)': glmovie-tile.c:179: error: 'malloc' was not declared in this scope glmovie-tile.c:192: error: 'free' was not declared in this scope glmovie-tile.c:219: error: 'free' was not declared in this scope glmovie-tile.c:244: error: 'free' was not declared in this scope glmovie-tile.c: In function 'void glmovie_quit()': glmovie-tile.c:261: error: 'free' was not declared in this scope make[1]: * [glmovie-tile.o] Error 1 make: * [all-recursive] Error 1

Attachments (2)

smpeg.log (32.0 KB) - added by rcleven@… 19 years ago.
The smpeg build log
smpeg_vd.txt (32.9 KB) - added by rcleven@… 19 years ago.
the new build log

Download all attachments as: .zip

Change History (9)

Changed 19 years ago by rcleven@…

Attachment: smpeg.log added

The smpeg build log

comment:1 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks, fixed!

comment:2 Changed 19 years ago by rcleven@…

Resolution: fixed
Status: closedreopened

now I get this:

---> Fetching smpeg ---> Attempting to fetch smpeg-0.4.4.tar.gz from ftp://ftp.lokigames.com/pub/open-source/ smpeg/ ---> Attempting to fetch smpeg-0.4.4.tar.gz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch ltconfig13 from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch ltmain13 from http://distfiles-od.opendarwin.org/ ---> Verifying checksum(s) for smpeg ---> Extracting smpeg ---> Applying patches to smpeg ---> Configuring smpeg ---> Building smpeg Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/ file._Users_rcleven_Dev_darwinports_dports_multimedia_smpeg/work/smpeg-0.4.4 && g++ - dynamiclib *.o audio/*.o video/*.o -o libsmpeg.0.4.4.dylib -current_version 0.4.4 - compatibility_version 0.4.4 -install_name /opt/local/lib/libsmpeg.0.4.4.dylib -L/opt/local/lib -lSDL - lSDLmain" returned error 1 Command output: ld: multiple definitions of symbol _SDL_main glmovie.o definition of _SDL_main in section (TEXT,text) plaympeg.o definition of _SDL_main in section (TEXT,text) ld: warning prebinding disabled because dependent library: /System/Library/Frameworks/ OpenGL.framework/Versions/A/OpenGL can't be searched /usr/bin/libtool: internal link edit command failed

comment:3 Changed 19 years ago by mww@…

this all sounds really strange - especially as 10.4 features malloc.h; did you mess up your system in some way? Installed some 3rd paty software other than darwinports? please supply the whole output of 'port build smpeg -vd';

Changed 19 years ago by rcleven@…

Attachment: smpeg_vd.txt added

the new build log

comment:4 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…
Status: reopenednew
Summary: Smpeg does not buildBUG: smpeg does not build

comment:5 Changed 18 years ago by mww@…

Resolution: fixed
Status: newclosed

this bug should be fixed in 0.4.4 revision 6 - if this bug still occurs, please re-open this bug!

comment:6 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ExpectedNormal

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.